summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-04-01 01:33:27 +0100
committerV3n3RiX <venerix@koprulu.sector>2025-04-01 01:33:27 +0100
commit9cb5d77a6732fadf391fd38da00e6921f3e23112 (patch)
tree30f5c59801151fa131da4743ca598f950b2e5b4b /media-libs
parent033286afc1eb2e64a87a58798a0c620d8b56f497 (diff)
gentoo auto-resync : 01:04:2025 - 01:33:27
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/Manifest.gzbin69912 -> 69915 bytes
-rw-r--r--media-libs/libdmtx/Manifest2
-rw-r--r--media-libs/libdmtx/libdmtx-0.7.8.ebuild28
-rw-r--r--media-libs/mlt/Manifest3
-rw-r--r--media-libs/mlt/files/mlt-7.28.0-fix-32bit.patch101
-rw-r--r--media-libs/mlt/mlt-7.28.0-r1.ebuild176
6 files changed, 30 insertions, 280 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz
index 8131c76c88fa..378ca8d1034a 100644
--- a/media-libs/Manifest.gz
+++ b/media-libs/Manifest.gz
Binary files differ
diff --git a/media-libs/libdmtx/Manifest b/media-libs/libdmtx/Manifest
index ea5e16ed9821..c9b3a82941da 100644
--- a/media-libs/libdmtx/Manifest
+++ b/media-libs/libdmtx/Manifest
@@ -1,3 +1,5 @@
DIST libdmtx-0.7.7.tar.gz 791517 BLAKE2B 5ff0ba22dd753b644cc7d84a2ee9c98f48047d05b322993458d4a35e704ac9d330d3112db8f3461fd9945c1d09422059d47417b46b8000d3e65f31430efc8e45 SHA512 802a697669afeb74da0cc3736fe7301fcc1653c1e3bebc343a8baf76e52226cc5509231519343267a92e22ebdfcc5b2825380339991340f054f0a6685d2ffcdc
+DIST libdmtx-0.7.8.tar.gz 795008 BLAKE2B 4a9e6ab74001aecc0a1e05b4fb0f4310665d74eab35db13d5cc7c56b352154dc25454540e963428b5e9872ea80cfde49e5906fb0f15d1f697092f799863ff152 SHA512 2796b2a43d2e83732bd9e9c3d4c702c3b40f55453713d968cf8927534952af3891c8e1f650650e4d47e9c58f50b23f43e2653e2b9ea474359a00dcd097b6bf00
EBUILD libdmtx-0.7.7.ebuild 587 BLAKE2B b774eef6f5d38a69785758904a3c9b88a02435dbd6d24ecda27fcaef72055335423c592ba9c38ee74d1dd7d3e2f8347452f1f884ad4a2bb5a58fec2b1e369125 SHA512 00ee20c3a6b4f195138c89378185f037d1bd6cc5ac42c176c187de73c5920cb6f4df17bdeed74c85ed113840b269cce118a6551cf948ee17d2b406f4670cd5c2
+EBUILD libdmtx-0.7.8.ebuild 593 BLAKE2B 75858cbbfa61b0321e97be595565591b2b452b67480a4f6e10609a0b5a82bcbd82e36bd5b8653ca98373e687f398c48f2f0f766686a12a61847ff8f6eac99d26 SHA512 4709598f1aa3d4a896459fe40a79044fadb13fa7452b559ffc94f312d06b4c857dc2e64efca3446d3bac9171a0f13966a109b885240b0ea59db372ea6ac8b78d
MISC metadata.xml 379 BLAKE2B 7a0385fd25a2a4063b4daeee8e67299eaef34bc20c23e639bec3db9f2db760bd4fbec23778c1673e9355a2c053f7a4ddf5170735147efd3038ed6da21fc05ff5 SHA512 384fd330b22976134122440b2fd617f34a8d9508abe72c261e2821fee2db8d2ef65d967875b70dc9fac1bbd72e832166ac808348894c6b4fa60c41ac3badd1e1
diff --git a/media-libs/libdmtx/libdmtx-0.7.8.ebuild b/media-libs/libdmtx/libdmtx-0.7.8.ebuild
new file mode 100644
index 000000000000..e8095d9833f6
--- /dev/null
+++ b/media-libs/libdmtx/libdmtx-0.7.8.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Barcode data matrix reading and writing library"
+HOMEPAGE="https://libdmtx.sourceforge.net/"
+SRC_URI="https://github.com/dmtx/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE=""
+
+src_prepare() {
+ #bug 663346
+ sed -i -e "s/-ansi//" test/*/Makefile.am || die
+
+ default
+ eautoreconf
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -exec rm -f {} + || die
+}
diff --git a/media-libs/mlt/Manifest b/media-libs/mlt/Manifest
index 8ac6da66a74c..2caaaec0e4b0 100644
--- a/media-libs/mlt/Manifest
+++ b/media-libs/mlt/Manifest
@@ -1,9 +1,6 @@
AUX mlt-6.10.0-swig-underlinking.patch 596 BLAKE2B b51670d051ae2bd016da65f560ed861518845d11e46aa5b4971a68f196452b86af3e00cb9af02bf23b32028731eb5352214aa63a047ebe12386c9f749df1236c SHA512 95cf9339b88979eb19cda3698474fc386c0c2d01333435e95b5a7662dbc5c359f5c78e05a0d78836023191c07a97e0dbf20c354e10cf6d1ad59d64fa9a203160
AUX mlt-6.22.1-no_lua_bdepend.patch 153 BLAKE2B 3ea31c570e7bef81bda0905549baedee8b9eed2bc14c535abff02985d573e4606f4f8f42213bcbc86fa68af905ba6c39dddcbf63efa20172c608659153d79073 SHA512 b382ee68f2815b4aa62ce7708a7452536f2bc0287dc4d59f557c08fbf51d6bef7607f63e11e991b4f52eb7e06afbde06d53aac3d42b4a0c96f59332ec17d48cd
AUX mlt-7.0.1-cmake-symlink.patch 569 BLAKE2B 06f7c8e7ec78206bb1344bab98f1d9ec816b16c458300964fe31ff30f8f2cc64d8f25a795773fd64db7249b031a164c350b55b6326c4d07d73ffd27f8786a911 SHA512 6deb458c3a89f800b4770460330c1e545c22d3a7304f0713b7ae214145d1413a3061c7c026ab2f6fc44801d1d7505352f03c0da7034e817b684e0ebb25d9a94f
-AUX mlt-7.28.0-fix-32bit.patch 3262 BLAKE2B 6842c442669b0abb1af2ef60892ee8cb494d7888bb21cab42dc4314fcba14f7cc0fef3ef7fc2f19e885d4ac76d58d0229e1ee5326ba6b45d4366bc5337160616 SHA512 498b19bd031fb384ff2786ab5a2a3e54c76a2913510ab4af7f8cda3b2063ac44cde45dea7006e8e8a53cfa430fe77567384047d979bd2ef075f2a6029a6de334
-DIST mlt-7.28.0.tar.gz 1713069 BLAKE2B 5f9ec615324cd2095131a57b9dc0f79138d48eaa91b62574a028370be2d1c7ec6818ee2b5a9c123d35ec73993c8b2271c8dec4f039273a8443c2674c31e86fbf SHA512 a252da56b668968e56a7b0e81283b0b8e0ec8cd28502e3ab6e0aff67e22620ba61bf4feb88134e0d483884e31f2d18efe2d60b6badf0b6ffae4ad26ee646baf9
DIST mlt-7.30.0.tar.gz 1725015 BLAKE2B 36950573a950281bc657fb6ec441c66c785af85b33f9d28caf44e457cd4d67953f11fef7896ed04d4d0b74cdc8355f4a8fe3d14deae09c5f5498416e2438ef58 SHA512 74cdf0504530c732f3b98358eea8f50079935f0c9782b051d4c2f7f2d001df96ed14684698fccb7d44a6fb2e6637fb3ceec01f13f458c4755aaf6e1f742c6b7d
-EBUILD mlt-7.28.0-r1.ebuild 4163 BLAKE2B 64a83b54974a0759dac5db638fb5b95551eec073e7240a122b814ceaea30bc93f6bc693697d880bfac4d68c1027ef65614f51363ae6e97ef8067a78e1684217d SHA512 e02e477671f0ab82a82ab1be52f1316091618bf595e1104be5e914461775ffa36587d1704be5f5081c61a5fdd11b9f77754943285e6c246fad4d0ca102e668c0
EBUILD mlt-7.30.0.ebuild 4062 BLAKE2B 39353627261aa047f7ab7dc7b6f325e5e1dd5f10515b2958370ccb61b29b5ee88a2a7344396f048f0a167df5f7a084bc3020a4aa6419c651d4abb0decd54d583 SHA512 4c72fd2b55fec1a19beeea12ebdffa6da31a8525c08e82b692f5c8dba4c9b9c6dcceff0a8f341a783d4e142055fcb6588052e4a6321fa7e1bc838c73832e8be6
MISC metadata.xml 1412 BLAKE2B 8d4eed394f1d1e95e5559466ef1840978966e8f1f7b89fdfd2549b2a35b6ce8f114c9373374fdaefe320cc34a4dc8cbd9f6c4433740d1ae9680de54484b5e3d1 SHA512 b19c711dc3798f952e0223dc0628b25aa3c9a296d66ee2f2b7f46a55b82e71c0c583ee64517be88dcc55eb1e9c31aa782b9043eb7630a853077afb1bf8b4dedd
diff --git a/media-libs/mlt/files/mlt-7.28.0-fix-32bit.patch b/media-libs/mlt/files/mlt-7.28.0-fix-32bit.patch
deleted file mode 100644
index a56dffe2c75d..000000000000
--- a/media-libs/mlt/files/mlt-7.28.0-fix-32bit.patch
+++ /dev/null
@@ -1,101 +0,0 @@
-From 6f533e7b8999bc4017c1a6685bf2baea6570d44c Mon Sep 17 00:00:00 2001
-From: Dan Dennedy <dan@dennedy.org>
-Date: Tue, 24 Sep 2024 09:47:46 -0700
-Subject: [PATCH 1/3] fix #1020 Mlt::Producer::set_creation_time() not exported
- on i686
-
----
- src/mlt++/mlt++.vers | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/mlt++/mlt++.vers b/src/mlt++/mlt++.vers
-index 1934decd..c47f017a 100644
---- a/src/mlt++/mlt++.vers
-+++ b/src/mlt++/mlt++.vers
-@@ -540,7 +540,8 @@ MLTPP_6.14.0 {
- "Mlt::Service::set_profile(mlt_profile_s*)";
- "Mlt::Playlist::reorder(int const*)";
- "Mlt::Transition::connect(Mlt::Service&, int, int)";
-- "Mlt::Producer::set_creation_time(long)";
-+# "Mlt::Producer::set_creation_time(long)";
-+ _ZN3Mlt8Producer17set_creation_timeE[lx];
- "Mlt::Producer::get_creation_time()";
- };
- } MLTPP_6.10.0;
---
-2.46.1
-
-
-From 2072c6b3596854f1a7165d7ddd5994204e741db8 Mon Sep 17 00:00:00 2001
-From: Dan Dennedy <dan@dennedy.org>
-Date: Tue, 24 Sep 2024 10:00:51 -0700
-Subject: [PATCH 2/3] fix mlt++.vers #1020
-
----
- src/mlt++/mlt++.vers | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/mlt++/mlt++.vers b/src/mlt++/mlt++.vers
-index c47f017a..2d8c1dda 100644
---- a/src/mlt++/mlt++.vers
-+++ b/src/mlt++/mlt++.vers
-@@ -540,10 +540,10 @@ MLTPP_6.14.0 {
- "Mlt::Service::set_profile(mlt_profile_s*)";
- "Mlt::Playlist::reorder(int const*)";
- "Mlt::Transition::connect(Mlt::Service&, int, int)";
--# "Mlt::Producer::set_creation_time(long)";
-- _ZN3Mlt8Producer17set_creation_timeE[lx];
- "Mlt::Producer::get_creation_time()";
- };
-+# "Mlt::Producer::set_creation_time(long)";
-+ _ZN3Mlt8Producer17set_creation_timeE[lx];
- } MLTPP_6.10.0;
-
- MLTPP_6.18.0 {
---
-2.46.1
-
-
-From 63953cf7338181c82eb6eb9f93c8c9a11aaee5f7 Mon Sep 17 00:00:00 2001
-From: Dan Dennedy <dan@dennedy.org>
-Date: Tue, 24 Sep 2024 10:55:16 -0700
-Subject: [PATCH 3/3] fix Mlt::Properties::set(int64_t) symbol version
-
-Related to #1020
----
- src/mlt++/mlt++.vers | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/src/mlt++/mlt++.vers b/src/mlt++/mlt++.vers
-index 2d8c1dda..19300de3 100644
---- a/src/mlt++/mlt++.vers
-+++ b/src/mlt++/mlt++.vers
-@@ -310,7 +310,6 @@ MLTPP_0.8.8 {
- "Mlt::Properties::set(char const*, char const*)";
- "Mlt::Properties::set(char const*, double)";
- "Mlt::Properties::set(char const*, int)";
-- "Mlt::Properties::set(char const*, long)";
- "Mlt::Properties::set(char const*, void*, int, void (*)(void*), char* (*)(void*, int))";
- "Mlt::Properties::set_lcnumeric(char const*)";
- "Mlt::Properties::setup_wait_for(char const*)";
-@@ -414,6 +413,8 @@ MLTPP_0.8.8 {
- "Mlt::Transition::Transition(Mlt::Transition&)";
- "Mlt::Transition::Transition(mlt_transition_s*)";
- };
-+# "Mlt::Properties::set(char const*, int64_t)";
-+ _ZN3Mlt10Properties3setEPKc[lx];
-
- local: *;
- };
-@@ -542,7 +543,7 @@ MLTPP_6.14.0 {
- "Mlt::Transition::connect(Mlt::Service&, int, int)";
- "Mlt::Producer::get_creation_time()";
- };
--# "Mlt::Producer::set_creation_time(long)";
-+# "Mlt::Producer::set_creation_time(int64_t)";
- _ZN3Mlt8Producer17set_creation_timeE[lx];
- } MLTPP_6.10.0;
-
---
-2.46.1
-
diff --git a/media-libs/mlt/mlt-7.28.0-r1.ebuild b/media-libs/mlt/mlt-7.28.0-r1.ebuild
deleted file mode 100644
index ab6a9276f421..000000000000
--- a/media-libs/mlt/mlt-7.28.0-r1.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-inherit python-single-r1 cmake flag-o-matic
-
-DESCRIPTION="Open source multimedia framework for television broadcasting"
-HOMEPAGE="https://www.mltframework.org/"
-SRC_URI="https://github.com/mltframework/${PN}/releases/download/v${PV}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0/7"
-KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
-IUSE="debug ffmpeg frei0r gtk jack libsamplerate opencv opengl python qt6 rtaudio rubberband sdl test vdpau vidstab xine xml"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-# Needs unpackaged 'kwalify'
-RESTRICT="test"
-
-# rtaudio will use OSS on non linux OSes
-# Qt already needs FFTW/PLUS so let's just always have it on to ensure
-# MLT is useful: bug #603168.
-DEPEND="
- >=media-libs/libebur128-1.2.2:=
- sci-libs/fftw:3.0=
- ffmpeg? ( media-video/ffmpeg:0=[vdpau?] )
- frei0r? ( media-plugins/frei0r-plugins )
- gtk? (
- media-libs/libexif
- x11-libs/pango
- )
- jack? (
- >=dev-libs/libxml2-2.5
- media-libs/ladspa-sdk
- virtual/jack
- )
- libsamplerate? ( >=media-libs/libsamplerate-0.1.2 )
- opencv? (
- >=media-libs/opencv-4.5.1:=[contrib]
- || (
- media-libs/opencv[ffmpeg]
- media-libs/opencv[gstreamer]
- )
- )
- opengl? (
- media-libs/libglvnd
- media-video/movit
- )
- python? ( ${PYTHON_DEPS} )
- qt6? (
- dev-qt/qt5compat:6
- dev-qt/qtbase:6[gui,network,opengl,widgets,xml]
- dev-qt/qtsvg:6
- media-libs/libexif
- x11-libs/libX11
- )
- rtaudio? (
- >=media-libs/rtaudio-4.1.2
- kernel_linux? ( media-libs/alsa-lib )
- )
- rubberband? ( media-libs/rubberband:= )
- sdl? (
- media-libs/libsdl2[X,opengl,video]
- media-libs/sdl2-image
- )
- vidstab? ( media-libs/vidstab )
- xine? ( >=media-libs/xine-lib-1.1.2_pre20060328-r7 )
- xml? ( >=dev-libs/libxml2-2.5 )
-"
-# java? ( >=virtual/jre-1.8:* )
-# perl? ( dev-lang/perl )
-# php? ( dev-lang/php )
-# ruby? ( ${RUBY_DEPS} )
-# sox? ( media-sound/sox )
-# tcl? ( dev-lang/tcl:0= )
-RDEPEND="${DEPEND}"
-BDEPEND="
- virtual/pkgconfig
- python? ( >=dev-lang/swig-2.0 )
-"
-
-DOCS=( AUTHORS NEWS README.md )
-
-PATCHES=(
- # downstream
- "${FILESDIR}"/${PN}-6.10.0-swig-underlinking.patch
- "${FILESDIR}"/${PN}-6.22.1-no_lua_bdepend.patch
- "${FILESDIR}"/${PN}-7.0.1-cmake-symlink.patch
- # in git master, https://github.com/mltframework/mlt/issues/1020
- "${FILESDIR}"/${P}-fix-32bit.patch
-)
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- # Respect CFLAGS LDFLAGS when building shared libraries. Bug #308873
- if use python; then
- sed -i "/mlt.so/s/ -lmlt++ /& ${CFLAGS} ${LDFLAGS} /" src/swig/python/build || die
- python_fix_shebang src/swig/python
- fi
-
- cmake_src_prepare
-}
-
-src_configure() {
- # Workaround for bug #919981
- append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
-
- local mycmakeargs=(
- -DCMAKE_SKIP_RPATH=ON
- -DCLANG_FORMAT=OFF
- -DGPL=ON
- -DGPL3=ON
- -DMOD_QT=OFF
- -DMOD_GLAXNIMATE=OFF
- -DMOD_KDENLIVE=ON
- -DMOD_PLUS=ON
- -DMOD_SDL1=OFF
- -DMOD_SOX=OFF
- -DMOD_SPATIALAUDIO=OFF # TODO: package libspatialaudio
- -DUSE_LV2=OFF # TODO
- -DUSE_VST2=OFF # TODO
- -DMOD_AVFORMAT=$(usex ffmpeg)
- -DMOD_FREI0R=$(usex frei0r)
- -DMOD_GDK=$(usex gtk)
- -DMOD_JACKRACK=$(usex jack)
- -DMOD_RESAMPLE=$(usex libsamplerate)
- -DMOD_OPENCV=$(usex opencv)
- -DMOD_MOVIT=$(usex opengl)
- -DMOD_QT6=$(usex qt6)
- -DMOD_GLAXNIMATE_QT6=$(usex qt6)
- -DMOD_RTAUDIO=$(usex rtaudio)
- -DMOD_RUBBERBAND=$(usex rubberband)
- -DMOD_SDL2=$(usex sdl)
- -DBUILD_TESTING=OFF # Needs unpackaged 'kwalify'; restricted anyway.
- -DMOD_VIDSTAB=$(usex vidstab)
- -DMOD_XINE=$(usex xine)
- -DMOD_XML=$(usex xml)
- )
-
- # TODO: rework upstream CMake to allow controlling MMX/SSE/SSE2
- # TODO: add swig language bindings?
- # see also https://www.mltframework.org/twiki/bin/view/MLT/ExtremeMakeover
-
- if use python; then
- mycmakeargs+=(
- -DSWIG_PYTHON=ON
- -DPython3_EXECUTABLE="${PYTHON}"
- )
- fi
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- insinto /usr/share/${PN}
- doins -r demo
-
- #
- # Install SWIG bindings
- #
-
- docinto swig
-
- if use python; then
- dodoc "${S}"/src/swig/python/play.py
- python_optimize
- fi
-}