summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-09-29 11:25:36 +0100
committerSam James <sam@gentoo.org>2023-09-29 11:31:49 +0100
commit9814c939ebdcf12eeb186be0742ef18abab7f197 (patch)
tree007c8393bfb01709b6e4cf8e37df384b1f049e5f /media-video/gpac
parentdev-libs/blake3: add 1.5.0 (diff)
downloadgentoo-9814c939ebdcf12eeb186be0742ef18abab7f197.tar.gz
gentoo-9814c939ebdcf12eeb186be0742ef18abab7f197.tar.bz2
gentoo-9814c939ebdcf12eeb186be0742ef18abab7f197.zip
media-video/gpac: drop patch for newer zlib
See 491bf8bd3ef621da49b168736a04f23aa4c7719c. Could do ifndef in patch but I'd like to remove all of these eventually and there's only a handful. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/gpac')
-rw-r--r--media-video/gpac/gpac-2.0.0.ebuild6
-rw-r--r--media-video/gpac/gpac-2.2.0.ebuild8
-rw-r--r--media-video/gpac/gpac-2.2.1-r1.ebuild8
-rw-r--r--media-video/gpac/gpac-9999.ebuild8
4 files changed, 25 insertions, 5 deletions
diff --git a/media-video/gpac/gpac-2.0.0.ebuild b/media-video/gpac/gpac-2.0.0.ebuild
index 34e01f0cc807..884c45073b43 100644
--- a/media-video/gpac/gpac-2.0.0.ebuild
+++ b/media-video/gpac/gpac-2.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -64,7 +64,6 @@ DEPEND="
PATCHES=(
"${FILESDIR}/${PN}-2.0.0-configure.patch"
- "${FILESDIR}/${PN}-1.0.0-zlib-compile.patch"
)
DOCS=(
@@ -91,6 +90,9 @@ my_use() {
src_prepare() {
default
sed -i -e "s:\(--disable-.*\)=\*):\1):" configure || die
+
+ # TODO: remove when old zlib is no longer in tree
+ has_version "<sys-libs/zlib-1.3" && eapply "${FILESDIR}/${PN}-1.0.0-zlib-compile.patch"
}
src_configure() {
diff --git a/media-video/gpac/gpac-2.2.0.ebuild b/media-video/gpac/gpac-2.2.0.ebuild
index f99b1f15a15f..abd67bfaac3c 100644
--- a/media-video/gpac/gpac-2.2.0.ebuild
+++ b/media-video/gpac/gpac-2.2.0.ebuild
@@ -64,7 +64,6 @@ DEPEND="
PATCHES=(
"${FILESDIR}/${PN}-2.2.0-configure.patch"
- "${FILESDIR}/${PN}-1.0.0-zlib-compile.patch"
"${FILESDIR}/${PN}-2.2.0-ffmpeg6.patch"
"${FILESDIR}/${PN}-2.2.0-ffmpeg6-deux.patch"
)
@@ -88,6 +87,13 @@ my_use() {
fi
}
+src_prepare() {
+ default
+
+ # TODO: remove when old zlib is no longer in tree
+ has_version "<sys-libs/zlib-1.3" && eapply "${FILESDIR}/${PN}-1.0.0-zlib-compile.patch"
+}
+
src_configure() {
tc-export CC CXX AR RANLIB
diff --git a/media-video/gpac/gpac-2.2.1-r1.ebuild b/media-video/gpac/gpac-2.2.1-r1.ebuild
index fc002d795023..406fedb39196 100644
--- a/media-video/gpac/gpac-2.2.1-r1.ebuild
+++ b/media-video/gpac/gpac-2.2.1-r1.ebuild
@@ -64,7 +64,6 @@ DEPEND="
PATCHES=(
"${FILESDIR}/${PN}-2.2.0-configure.patch"
- "${FILESDIR}/${PN}-1.0.0-zlib-compile.patch"
"${FILESDIR}/${PN}-2.2.0-ffmpeg6.patch"
"${FILESDIR}/${PN}-2.2.0-ffmpeg6-deux.patch"
)
@@ -88,6 +87,13 @@ my_use() {
fi
}
+src_prepare() {
+ default
+
+ # TODO: remove when old zlib is no longer in tree
+ has_version "<sys-libs/zlib-1.3" && eapply "${FILESDIR}/${PN}-1.0.0-zlib-compile.patch"
+}
+
src_configure() {
tc-export CC CXX AR RANLIB
diff --git a/media-video/gpac/gpac-9999.ebuild b/media-video/gpac/gpac-9999.ebuild
index f21d8e2a08aa..963ca68ca30f 100644
--- a/media-video/gpac/gpac-9999.ebuild
+++ b/media-video/gpac/gpac-9999.ebuild
@@ -64,7 +64,6 @@ DEPEND="
PATCHES=(
"${FILESDIR}/${PN}-2.2.0-configure.patch"
- "${FILESDIR}/${PN}-1.0.0-zlib-compile.patch"
"${FILESDIR}/${PN}-2.2.0-ffmpeg6.patch"
)
@@ -87,6 +86,13 @@ my_use() {
fi
}
+src_prepare() {
+ default
+
+ # TODO: remove when old zlib is no longer in tree
+ has_version "<sys-libs/zlib-1.3" && eapply "${FILESDIR}/${PN}-1.0.0-zlib-compile.patch"
+}
+
src_configure() {
tc-export CC CXX AR RANLIB