public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libvlcpp] rawhide: update to 3.0.0 (resolves rhbz#2495868)
@ 2026-07-30 18:27 Dominik 'Rathann' Mierzejewski
  0 siblings, 0 replies; only message in thread
From: Dominik 'Rathann' Mierzejewski @ 2026-07-30 18:27 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/libvlcpp
            Branch : rawhide
            Commit : 57888218499735bedfdac325a7587f9ea7a8a881
            Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
            Date   : 2026-07-30T16:47:49+02:00
            Stats  : +31/-28 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/libvlcpp/c/57888218499735bedfdac325a7587f9ea7a8a881?branch=rawhide

            Log:
            update to 3.0.0 (resolves rhbz#2495868)

- enable tests

---
diff --git a/libvlcpp-pkgconfig.patch b/libvlcpp-pkgconfig.patch
index 12b1a78..5f73ce0 100644
--- a/libvlcpp-pkgconfig.patch
+++ b/libvlcpp-pkgconfig.patch
@@ -1,12 +1,11 @@
-diff -up libvlcpp-0.1.0/Makefile.am.orig libvlcpp-0.1.0/Makefile.am
---- libvlcpp-0.1.0/Makefile.am.orig	2017-09-04 20:58:39.053566325 +0200
-+++ libvlcpp-0.1.0/Makefile.am	2017-09-04 20:58:47.757607764 +0200
-@@ -21,7 +21,7 @@ libvlcpp_HEADERS =          \
- 	vlcpp/vlc.hpp                 \
- 	$(NULL)
+diff -up libvlcpp-v3.0.0/meson.build.orig libvlcpp-v3.0.0/meson.build
+--- libvlcpp-v3.0.0/meson.build.orig	2026-06-29 12:36:42.000000000 +0200
++++ libvlcpp-v3.0.0/meson.build	2026-07-29 20:09:23.588048411 +0200
+@@ -32,6 +32,7 @@ pkg.generate(
+     requires: ['libvlc>=3.0'],
+     name: 'libvlcpp',
+     description: 'libvlc C++ bindings',
++    dataonly: true,
+ )
  
--pkgconfigdir = $(libdir)/pkgconfig
-+pkgconfigdir = $(datadir)/pkgconfig
- pkgconfig_DATA = libvlcpp.pc
- 
- if HAVE_EXAMPLES
+ if get_option('examples').enabled()

diff --git a/libvlcpp.spec b/libvlcpp.spec
index f4395f1..3b10154 100644
--- a/libvlcpp.spec
+++ b/libvlcpp.spec
@@ -2,23 +2,21 @@
 # main package has no files, -devel is noarch
 %global debug_package %{nil}
 
-%global commit0 44c1f48e56a66c3f418175af1e1ef3fd1ab1b118
-%global gitdate 20240204
-%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
-
 Name:           libvlcpp
-Version:        0.1.0^%{gitdate}git%{shortcommit0}
-Release:        5%{?dist}
+Version:        3.0.0
+Release:        1%{?dist}
 Summary:        C++ bindings for libvlc
 
 License:        LGPL-2.1-or-later
 URL:            https://code.videolan.org/videolan/libvlcpp
-Source0:        %{url}/-/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
+Source0:        %{url}/-/archive/v%{version}/%{name}-v%{version}.tar.gz
 Patch0:         libvlcpp-pkgconfig.patch
 
-BuildRequires: libtool
+BuildRequires: meson
 BuildRequires: gcc-c++
 BuildRequires: vlc-devel
+# required for tests
+BuildRequires: vlc-plugin-ffmpeg
 
 %description
 C++ bindings for libvlc.
@@ -34,20 +32,22 @@ C++ bindings for libvlc.
 
 
 %prep
-%autosetup -p1 -n %{name}-%{commit0}
+%autosetup -p1 -n %{name}-v%{version}
 
+%conf
+%meson \
+  -Dexamples=enabled \
+  -Dtests=enabled \
 
-%build
-./bootstrap
-%configure --enable-examples
-%make_build
 
+%build
+%meson_build
 
 %install
-%make_install
-find %{buildroot} -name '*.la' -delete
-
+%meson_install
 
+%check
+%meson_test
 
 %files devel
 %doc AUTHORS NEWS
@@ -57,6 +57,10 @@ find %{buildroot} -name '*.la' -delete
 
 
 %changelog
+* Wed Jul 29 2026 Dominik Mierzejewski <dominik@greysector.net> - 3.0.0-1
+- update to latest stable release (resolves rhbz#2495868)
+- enable tests
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0^20240204git44c1f48-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index 4b48c43..a549c02 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libvlcpp-44c1f48.tar.gz) = 2d1b9762e67a3213045e0db905db8b81f9454a917687e63bf9d2678740f63c378f9a55671b81377bb20948be376aa01cf1fe4384171244460b7c01da745191e4
+SHA512 (libvlcpp-v3.0.0.tar.gz) = 8ff603389908614fffe78b693739a49b6150e607630855df9da7590a67bd9bf0429d11cf6dbb8eeb8f8abefbc7a460e35c9631259cbe98f0c9ec22faaafb1dca

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-30 18:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-30 18:27 [rpms/libvlcpp] rawhide: update to 3.0.0 (resolves rhbz#2495868) Dominik 'Rathann' Mierzejewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox