summaryrefslogtreecommitdiff
path: root/media-libs/libdv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-05 06:31:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-05 06:31:58 +0000
commite4d9d6796d5018e338f0b27a3bc97716195bf0b8 (patch)
tree38d56da69a3b5d5ccc7d73796d38469f5d4e610c /media-libs/libdv
parent38efae7f3eb932ed41510139679efd5c1e2f5eda (diff)
gentoo auto-resync : 05:01:2025 - 06:31:57
Diffstat (limited to 'media-libs/libdv')
-rw-r--r--media-libs/libdv/Manifest4
-rw-r--r--media-libs/libdv/libdv-1.0.0-r5.ebuild (renamed from media-libs/libdv/libdv-1.0.0-r4.ebuild)10
-rw-r--r--media-libs/libdv/libdv-1.0.0-r6.ebuild67
3 files changed, 77 insertions, 4 deletions
diff --git a/media-libs/libdv/Manifest b/media-libs/libdv/Manifest
index fc2b22d47cc4..64008bbec8d0 100644
--- a/media-libs/libdv/Manifest
+++ b/media-libs/libdv/Manifest
@@ -1,7 +1,9 @@
AUX libdv-0.99-2.6.patch 360 BLAKE2B 9d50a7db83e137ec132d0f74205acdc91a2c60ac38a57399f73b00c37f2b665766c1f732ebaee4c2854b6e2901b4c00709cbac7d4b34005505daaf778ed207f6 SHA512 0f1d2f9ed2c35d9cd973cd28cde41992bf4e552e478c68af13de23a1abe11de9cc8b48cf307e965ccefc4242d65b6668050059a3fc394a56b5d0fd64518293f7
AUX libdv-1.0.0-darwin.patch 1387 BLAKE2B 176cf7d2b8d8b6407615782f74a169c7d32d4b4db5d594a486d689a4881568605919bacb2b534436bf5007bed0025f27bb26d0f0232ebbcde9ff08bb5533c40a SHA512 63d65d7cfac1236c43cfb4b271113c8437a4394bf5eecf60761b516d1121e34d8f9690e62c917e2f8e1933a709eed79f3cf5d38e87c9bf9c74b413f3c0115cf9
AUX libdv-1.0.0-solaris.patch 4334 BLAKE2B 0b1ccd282e6d5b7fbe0a9c8b08e7b256af74559c12e06f35481db64e28d44febc7ac01d0bf70de79359fb11bda31f526072fb686715dcb3f33a552ba6d58f9e8 SHA512 e9a54eb2cbd74ec22d912e868566283365e15b831596b36ed06e20abdc0c87803e5b42d0dee810c2a19f663abf6e7358fdb8335e189b75adeeac8bde7b3e8e98
+DIST libdv-1.0.0-patches.tar.xz 11028 BLAKE2B ea9e69ed3dd59871ec6bcb3692f7fe4c08cee6489279e287648b3a938d3b2785a3c22fc5cac45c9dd732d222d4b7cd585fee144a68dc9cc9fdf08f72f832b344 SHA512 5f2a5b56cadd3544c9ac04b9755eb2d7404e2377ab2e4a383291fbd3a59aff1a99eba40e8098b64c8282ce2bc4c175f66a8dd28e0e73c33824355461164f210a
DIST libdv-1.0.0-pic.patch.bz2 9771 BLAKE2B b8a597b5fb5facab05845dae1d08a84a17067804ef873b97b7f975a96c622a5cf3b2bbb17d3f5a364dd1aba1afbf3dbf2b18695f9ae8ccf3fcc478b3d7a17a4f SHA512 18fbc341f9a9349f2325c4cbdf2fcf60bf0b35e2efeaacb9a3e541ace4ab2ffcf64d18409b2d76fd40c6096a69ffd151c2bdc8c33411d1640f150202eef12021
DIST libdv-1.0.0.tar.gz 574565 BLAKE2B 42d17b07501fa508630afd1cdbaee9378f657a4ee4b77666f1a147ddfcf5a9d67d90e0a6da53bfe4f2b5418984579322565c9e8c76516e8193e75bd4751a731c SHA512 19887a6f452fa7da8924901ad841f5c4a434a3bde56c932ddb43717592aa744281e3a8ad220231e11d7e6bc3b0e704952a8324e5f85d4e088675edceeeca7dc8
-EBUILD libdv-1.0.0-r4.ebuild 1294 BLAKE2B b3f5e10ff0fbe0def5150a81a4d1edde8eca8a8f8de04436a34ec6dce620c04a6b0c4b9f44e3b576482e09facc73161b85cad886ee99e6378586f1fc3226e622 SHA512 156d7862b500ef684ed51490bae88a8424b2a6c4f5ac563e75c69ff9a1807f1e2fd7f76d194f687da8362c84f9795b3f64538648cb63081c1cbbf961f646d62b
+EBUILD libdv-1.0.0-r5.ebuild 1448 BLAKE2B 6bfd2ee3d5a840f3df4cc35fc14674545620dc7062e848dbfd3fb48cf98c405b19fcdb6721a0a99a5dcdb9fd9a08c90dc50426ec94a3d47700a317a5852baf3d SHA512 4a1327c2f244a9bed267f296ced96f418aa6664434000e29a29c542b0301bc686d2edcd5af9982e40cc99d28187da8974ec68ad7a0c7f32cad105b08a1404919
+EBUILD libdv-1.0.0-r6.ebuild 1607 BLAKE2B 0fa3237ed2cb13e4c760fa8066c6f45167a9903bf8c47693fa8478ab3ca2c23178feed92f14954a04a4306a14e23c235f7f05f4f493a843a047af3cb121c7120 SHA512 c3aae9ade9e4d94472556724a6aa202ef70ca9e844a9467de6404d8e47f468714ab709bf2949e1baf8788e18d88b01403a9a179f7cb9428e227a16b9fb03012d
MISC metadata.xml 299 BLAKE2B e4c4b6449deab936cfcc0135a7b9beb29f6cdca8f0c6972d094d2700b382b49cbd160e62907aab6b662c05e09d8c94553aeab43a877d3bf848530e1e2a7984ec SHA512 6436e6feb744b541878498c541c01dc22f61d69d05ac24475ca4f4c1ceb416566b7ab4d8e2c393611e857172e730fe318e406691f465eccd3edf09bf3272c38b
diff --git a/media-libs/libdv/libdv-1.0.0-r4.ebuild b/media-libs/libdv/libdv-1.0.0-r5.ebuild
index 657ba4a03421..65413cbfa123 100644
--- a/media-libs/libdv/libdv-1.0.0-r4.ebuild
+++ b/media-libs/libdv/libdv-1.0.0-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -32,12 +32,16 @@ src_prepare() {
default
eautoreconf
+ # bug #927212
+ append-cflags -std=gnu89
+ # bug #877709
+ append-cflags -fno-strict-aliasing $(test-flags-CC -fno-aggressive-loop-optimizations)
append-cppflags "-I${S}"
}
multilib_src_configure() {
- # bug #622662
- tc-ld-disable-gold
+ # bug #622662, bug #910291
+ tc-ld-force-bfd
ECONF_SOURCE="${S}" econf \
--disable-static \
diff --git a/media-libs/libdv/libdv-1.0.0-r6.ebuild b/media-libs/libdv/libdv-1.0.0-r6.ebuild
new file mode 100644
index 000000000000..b5d1ab4964ed
--- /dev/null
+++ b/media-libs/libdv/libdv-1.0.0-r6.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic multilib-minimal toolchain-funcs
+
+DESCRIPTION="Software codec for dv-format video (camcorders etc)"
+HOMEPAGE="http://libdv.sourceforge.net/"
+SRC_URI="
+ https://downloads.sourceforge.net/${PN}/${P}.tar.gz
+ https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-1.0.0-patches.tar.xz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+
+RDEPEND="dev-libs/popt:="
+DEPEND="
+ ${RDEPEND}
+ media-libs/libsdl
+"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${WORKDIR}"/${PN}-1.0.0-patches/${PN}-0.99-2.6.patch
+ "${WORKDIR}"/${PN}-1.0.0-patches/${PN}-1.0.0-pic.patch
+ "${WORKDIR}"/${PN}-1.0.0-patches/${PN}-1.0.0-solaris.patch
+ "${WORKDIR}"/${PN}-1.0.0-patches/${PN}-1.0.0-darwin.patch
+ "${WORKDIR}"/${PN}-1.0.0-patches/${PN}-1.0.0-c99.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+
+ # bug #877709
+ append-cflags -fno-strict-aliasing $(test-flags-CC -fno-aggressive-loop-optimizations)
+ append-cppflags "-I${S}"
+}
+
+multilib_src_configure() {
+ # bug #622662, bug #910291
+ tc-ld-force-bfd
+
+ local myeconfargs=(
+ --without-debug
+ --disable-gtk
+ $([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
+ )
+
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+
+ if ! multilib_is_native_abi ; then
+ sed -i \
+ -e 's/ encodedv//' \
+ Makefile || die
+ fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ # no static archives
+ find "${D}" -name '*.la' -delete || die
+}