summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/Manifest.gzbin67076 -> 67087 bytes
-rw-r--r--media-libs/lcms/Manifest2
-rw-r--r--media-libs/lcms/lcms-2.13.1-r1.ebuild2
-rw-r--r--media-libs/mlt/Manifest2
-rw-r--r--media-libs/mlt/mlt-7.10.0.ebuild157
5 files changed, 161 insertions, 2 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz
index fb4f7ab4180f..c24ee9652422 100644
--- a/media-libs/Manifest.gz
+++ b/media-libs/Manifest.gz
Binary files differ
diff --git a/media-libs/lcms/Manifest b/media-libs/lcms/Manifest
index 81369865d1f8..c08b09c8a506 100644
--- a/media-libs/lcms/Manifest
+++ b/media-libs/lcms/Manifest
@@ -2,7 +2,7 @@ AUX lcms-2.13.1-clang-15-configure.patch 975 BLAKE2B 61777175f340ae6e9302820f37f
AUX lcms-2.13.1-fix-configure-bashisms.patch 544 BLAKE2B 8b129f74cea00033a5cf02c07d7102c7d2f6c5c442d570fd27998d6e9fcc32224822fbc6dac66a8ad07597d9dd02a4622643421459d2d62fc15710fb5887f03e SHA512 1df85b4372a1df8cebe49415c187d19a830eaaac5b1bc1946246bc1baf60bedf11fe2d4761c929fe58c61206420be96b5ab1fd0088cf4da8007de41d079262e1
DIST lcms2-2.13.1.tar.gz 7276499 BLAKE2B ff4815fc4bcea94dc942f8072741c592f1bbde9c8e997f4e21e36cd271062a341ecc9b1f3c56e3e36ec19091fec049ee9faf75df04c2bc1e11174dc4cfe8da9e SHA512 214ec63fa086b580a6507d493a54ccf5faf02c40e149d71e41f9fc8510efdb16554621c96d91cc886f09682c9631b10aa194b4b67eb6ffcc871d5d4666b05617
DIST lcms2-2.14.tar.gz 7406694 BLAKE2B 777b0bf65829121a3d32bca1ab936ac022f9af739bccdd02d5f86688c3386b974f526a012bdec4d36649566eea0aa659db317dd383eede6488236d601156a0f9 SHA512 92fba0a457ea81590eba0b8d98b7b621da6a83e3857948585e0b524235954954f9ac1670cf6a19b457c0fce22a87899ea4c5810db1ff2acf7c6b6e0dc4b61a1b
-EBUILD lcms-2.13.1-r1.ebuild 1513 BLAKE2B 5b5d7684372b04fb2e03fe6d7ba45faaa461b1ce4d35e7ce92f005a918e6aa421523c9a90bfe4e616dfdf3d63cf7682b5999576247f24af3e40be129e6ef7a88 SHA512 0990714d828ab8609b6416a817485fab2e7626771db55737e8ce9ff2c8e49fa287bcfb0a2606a59e98ce91aa5de85134a9a3737e95c76aa71b81538a290c8e95
+EBUILD lcms-2.13.1-r1.ebuild 1512 BLAKE2B fb15df98139327e95c3accca2ee48c0d8acd2c2eb7fd84b9ec3b200c49231ac513c531fd13444b58857970c6ba653cdedc417fcb5c8c2995581b5b07cd1e8b4a SHA512 0510bf343478291fead3e4e69bd74c5ba84eab1539e3e8e7cb78ccd56402ce42d6054baf501b1c9df5802131d18667121087b16aad1d4bb5868daf138778c307
EBUILD lcms-2.13.1.ebuild 1455 BLAKE2B 5ec63c92f04001840a1884bb1c2b7d28623aeeeb8e627324f2a6cfff2d9b21f6fc7da90e79e12107e280ec6f3af3bc4816678f7be589c2441c62d3d65c398ef9 SHA512 e3e24d04b8dc487d5659d3893c1f52e6005e5a3fedd518350578b76bb3fcda3bad34e8d79f759b03e16aca453f6c310ab367cece38c3445a56455b2d538e9c18
EBUILD lcms-2.14-r2.ebuild 1370 BLAKE2B 8a70a2f6f9f3ffe367be16ffdff2f3e6e9bcd73d262e363e208e014139ebdb5cd85fa370b7bc1537e4b54f7d707e91076415e311b81d45a8b3ea2bf51fc9a874 SHA512 5e6efceede74d72498ad2077eecc15ad988d6c7a1bb858745c6f746b74bcb7e3036494f1621f998586ef58878fc4a0bc5cb3fdc8f7df7633507ef71c3c8f71da
MISC metadata.xml 465 BLAKE2B eac440b8a48c75faaa51b0333582740e7e33b0b6222bf5376383764c9395cfa7a7936e19ec2dd22a043e3251ed4e40161c7a594f7f3157b8b809c620dd551430 SHA512 dabeaecc2fed3c2e63f2bb0219711961c51f7da710a5e90629df694c5c89deb9fd26c2329ed5ac577edbf60b51a8efd34f65fdd7e6759912c2513e4d8efa6f35
diff --git a/media-libs/lcms/lcms-2.13.1-r1.ebuild b/media-libs/lcms/lcms-2.13.1-r1.ebuild
index 53fbad1d5875..2483f514e52d 100644
--- a/media-libs/lcms/lcms-2.13.1-r1.ebuild
+++ b/media-libs/lcms/lcms-2.13.1-r1.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/lcms2-${PV}"
LICENSE="MIT"
SLOT="2"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc jpeg static-libs test +threads tiff zlib"
REQUIRED_USE="tiff? ( zlib )"
diff --git a/media-libs/mlt/Manifest b/media-libs/mlt/Manifest
index 400065b1c400..3b24ceef4c2b 100644
--- a/media-libs/mlt/Manifest
+++ b/media-libs/mlt/Manifest
@@ -2,6 +2,8 @@ AUX mlt-6.10.0-swig-underlinking.patch 596 BLAKE2B b51670d051ae2bd016da65f560ed8
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.8.0-linux_locale_h.patch 1508 BLAKE2B 412f066a5032e0f2408642256d182f0fdb22e58df3013cb08769e36a9189010b5a8d46b4def16ba0c59325f4db06c84eb664bff5aa7954ac8c8a8ba13ff20785 SHA512 5fddb589cbe2557a02be4a8a721b4e2acb03ab771444e603d8bd9878264c19803888ef7af383f102dd217a4784dec36376eb0bf2b84c1d907e6dfd0b22533f4a
+DIST mlt-7.10.0.tar.gz 1477944 BLAKE2B 29b364526f0f202ac4a2a218d977d8a6b0dbc822fc6605c264d84cd2c5f4754dee7f82cb60a19cd9d9a1a78126b61c1b892b80c21bcb46a8c925941b06c519d2 SHA512 bb5cbf1cd6800b92c1f651cc6f10df271bae3f20afc080822f9aea89fad6d1e852d516e5cd38ff26e44085c5d6f7e27ccefb9c468270dab3d4813b382e61c4ae
DIST mlt-7.8.0a.tar.gz 1458730 BLAKE2B 0f544923c7f1667d2a2379bcb84a68dca2c701ce7b9cebe4e9b5f81efcb494674111fea09e9025108b8714e792a0179d465d226bb0a0231a197a67c99d82f976 SHA512 aa44d604f2246db11e5c572e2c3f9121ef0ace1fdead95a6a4a20f7555a3139b067fd2d464f27d23cc90cfcf8907ae9cf8f33b26f76c110a6ba2329867f88bd1
+EBUILD mlt-7.10.0.ebuild 3621 BLAKE2B 90ca6c68867db7f5bb4757e7374e4f9ddbd5e6328c5dafa602678b295a398b3c37e771c5f9ee9dd739cb0120a467724d6f70bc19b0c9311cb1f3a07b1b4a6b8b SHA512 3fe2f0649d4d08294e5675d3fe74ee0a8ea243a14f7a57081e9a50137e9680d58f39967352e79216571ef4357abdb42150f7380e828bf4c3a042c1fce02498c6
EBUILD mlt-7.8.0.ebuild 3705 BLAKE2B 1a713c4dbfb65e06907fcd29e67481d2ac5a83f43902a4d495984a3ab2e2f296a7c201762136bb02541df0b049f0f133d10ab761002e92468beec4deac78c181 SHA512 e3425148b727dacc140b1c363d20f2a9cd7fa3841e61559fbef60b86e86e0415c8a8987af8ddee1f872d33d589b678371fe52db38324f4153deefb3934ade64a
MISC metadata.xml 1412 BLAKE2B 8d4eed394f1d1e95e5559466ef1840978966e8f1f7b89fdfd2549b2a35b6ce8f114c9373374fdaefe320cc34a4dc8cbd9f6c4433740d1ae9680de54484b5e3d1 SHA512 b19c711dc3798f952e0223dc0628b25aa3c9a296d66ee2f2b7f46a55b82e71c0c583ee64517be88dcc55eb1e9c31aa782b9043eb7630a853077afb1bf8b4dedd
diff --git a/media-libs/mlt/mlt-7.10.0.ebuild b/media-libs/mlt/mlt-7.10.0.ebuild
new file mode 100644
index 000000000000..df3bc79a01f1
--- /dev/null
+++ b/media-libs/mlt/mlt-7.10.0.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit python-single-r1 cmake
+
+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 qt5 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?,-flite] )
+ 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] )
+ opengl? (
+ media-libs/libglvnd
+ media-video/movit
+ )
+ python? ( ${PYTHON_DEPS} )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ 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=(
+ "${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
+)
+
+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() {
+ local mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=ON
+ -DGPL=ON
+ -DGPL3=ON
+ -DBUILD_TESTING=$(usex test)
+ -DMOD_KDENLIVE=ON
+ -DMOD_SDL1=OFF
+ -DMOD_SDL2=$(usex sdl)
+ -DMOD_AVFORMAT=$(usex ffmpeg)
+ -DMOD_PLUS=ON
+ -DMOD_FREI0R=$(usex frei0r)
+ -DMOD_GDK=$(usex gtk)
+ -DMOD_JACKRACK=$(usex jack)
+ -DMOD_GLAXNIMATE=OFF
+ -DMOD_RESAMPLE=$(usex libsamplerate)
+ -DMOD_OPENCV=$(usex opencv)
+ -DMOD_MOVIT=$(usex opengl)
+ -DMOD_QT=$(usex qt5)
+ -DMOD_RTAUDIO=$(usex rtaudio)
+ -DMOD_RUBBERBAND=$(usex rubberband)
+ -DMOD_VIDSTAB=$(usex vidstab)
+ -DMOD_XINE=$(usex xine)
+ -DMOD_XML=$(usex xml)
+ -DMOD_SOX=OFF
+ )
+
+ # 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 )
+ 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
+}