public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gpac] epel9: drop unused build dependency on libfreenect
@ 2026-09-22 15:09 Dominik 'Rathann' Mierzejewski
  0 siblings, 0 replies; only message in thread
From: Dominik 'Rathann' Mierzejewski @ 2026-09-22 15:09 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gpac
            Branch : epel9
            Commit : ad2bbf9337690dfc79ffe556b4c1f0c374c90079
            Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
            Date   : 2024-09-06T17:01:46+02:00
            Stats  : +10/-16 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gpac/c/ad2bbf9337690dfc79ffe556b4c1f0c374c90079?branch=epel9

            Log:
            drop unused build dependency on libfreenect

(it's never enabled even if detected, see https://github.com/gpac/gpac/issues/1494)

- jack support builds fine on EPEL9, too, so drop the conditional
- use upstream URL for accepted patch

---
diff --git a/gpac.spec b/gpac.spec
index b78c2f4..8934f1e 100644
--- a/gpac.spec
+++ b/gpac.spec
@@ -1,16 +1,9 @@
 %bcond_with faad2
-%bcond_without jack
-%bcond_without freenect
-
-%if 0%{?el9}
-%bcond_with jack
-%bcond_with freenect
-%endif
 
 Name:        gpac
 Summary:     MPEG-4 multimedia framework
 Version:     2.4.0
-Release:     2%{?dist}
+Release:     3%{?dist}
 License:     LGPL-2.0-or-later
 URL:         https://gpac.io/
 Source0:     https://github.com/gpac/gpac/archive/v%{version}/gpac-%{version}.tar.gz
@@ -19,8 +12,7 @@ Source0:     https://github.com/gpac/gpac/archive/v%{version}/gpac-%{version}.ta
 Patch0:      gpac-noopt.patch
 Patch1:      https://github.com/gpac/gpac/commit/8d7cac0bf9f9775cae1d43de7138206758f28b0c.patch#/gpac-ffmpeg6.patch
 Patch2:      https://github.com/gpac/gpac/commit/a005fd6eb7a9ede4d3356630cae3d6516c91b73e.patch#/gpac-fix-library-detection.patch
-# https://github.com/gpac/gpac/pull/2878
-Patch3:      gpac-lto-type-mismatch.patch
+Patch3:      https://github.com/gpac/gpac/commit/d9d5a145a5e1dc1aef44def91f99d1ee3f358dfa.patch#/gpac-lto-type-mismatch.patch
 
 BuildRequires:  SDL2-devel
 BuildRequires:  a52dec-devel
@@ -45,11 +37,7 @@ BuildRequires:  libtheora-devel
 BuildRequires:  libXt-devel
 BuildRequires:  libXpm-devel
 BuildRequires:  libXv-devel
-%{?with_jack:BuildRequires:  jack-audio-connection-kit-devel}
-# Disable optional freenect for i686 multilibs gpac usage
-%ifnarch i686
-%{?with_freenect:BuildRequires:  libfreenect-devel}
-%endif
+BuildRequires:  jack-audio-connection-kit-devel
 BuildRequires:  xmlrpc-c-devel
 BuildRequires:  doxygen
 BuildRequires:  graphviz
@@ -170,7 +158,7 @@ rm %{buildroot}%{_includedir}/gpac/00_doxy.h
 %{_libdir}/libgpac.so.12{,.*}
 %dir %{_libdir}/gpac
 %{_libdir}/gpac/gm_ft_font.so
-%{?with_jack:%{_libdir}/gpac/gm_jack.so}
+%{_libdir}/gpac/gm_jack.so
 %{_libdir}/gpac/gm_pulseaudio.so
 %{_libdir}/gpac/gm_sdl_out.so
 %{_libdir}/gpac/gm_validator.so
@@ -190,6 +178,12 @@ rm %{buildroot}%{_includedir}/gpac/00_doxy.h
 
 
 %changelog
+* Fri Sep 06 2024 Dominik Mierzejewski <dominik@greysector.net> - 2.4.0-3
+- drop unused build dependency on libfreenect (it's never enabled even if
+  detected, see https://github.com/gpac/gpac/issues/1494)
+- jack support builds fine on EPEL9, too, so drop the conditional
+- use upstream URL for accepted patch
+
 * Fri Jun 14 2024 Dominik Mierzejewski <dominik@greysector.net> - 2.4.0-2
 - fix LTO type mismatch warning
 - backport upstream fix for xvidcore and freenect detection

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

only message in thread, other threads:[~2026-09-22 15:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-22 15:09 [rpms/gpac] epel9: drop unused build dependency on libfreenect 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