diff options
Diffstat (limited to 'media-libs')
33 files changed, 984 insertions, 306 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex d5b38cdd9287..c985d01afdac 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/graphene/Manifest b/media-libs/graphene/Manifest index df13e8af6c26..7d198cbe6ee2 100644 --- a/media-libs/graphene/Manifest +++ b/media-libs/graphene/Manifest @@ -1,3 +1,3 @@ DIST graphene-1.8.2.tar.xz 127436 BLAKE2B a22251db7cf4719c8a6cde49e6feb0a998d1ec7296fee549a4797d72fa575d4266e48fb5a6d9ebd204b93954a6278b4fa88dc56e5f86d7cf8625a5edc685a09b SHA512 8d250dccac345251081419f4ad7079c8035cb6225e10b23d25799386b067288831c23be667d608228ef44a2f6107ac47fc86bb495eda7881b1336598d6c43234 -EBUILD graphene-1.8.2.ebuild 1725 BLAKE2B 020be7ad4a7e0dd3a6c9e82e5a42ccb352daff10f5dafd7b9152108d0c754cf527e5bf66cb4af1d87d5497eea105a255b88ffb8add072b769c00b356bb1d5b86 SHA512 e679ea177a5d1da629774b6ebeeb1af8ee9baa0bf6db6f37e2f5f56bc97454bf00033d2597536e0de29d37cf5c9abd6b643a7ebc63511b33c1ecf84777465a80 +EBUILD graphene-1.8.2.ebuild 1742 BLAKE2B 8c9c2ed9d4f75ed224006453c2d3dc43845f480884cdfcb3903ffdc8dc8c8d5843a3ad790db906870bd5a92186169895ac973fbd64aaf1ee739bf647d5c6db15 SHA512 efb4b11d0189e790abd0926ba97307c9640e19fdcc34e85d14f83d89fa3ce7889137367bf982bda365f74c4e04e63adbf1d083e2cde4e93d1fea0efb0a0858ce MISC metadata.xml 333 BLAKE2B 3d34baf2b84e2ca8cc20638b381fdb4771e94f07df133f5d997b5d7bdf3704f8b8f77d2c79815f70246affa2e399d1118e03eae7c7cf8e419fec3dae89ef0405 SHA512 aef6b787ac7f14b56e4eacd746c91671b9a115cb40b312b415c7302d4339f5d3b3a887bd52a2b30ba31b3e0f027360a9fa55f6d3065cf7baedc4bd28dbbcd056 diff --git a/media-libs/graphene/graphene-1.8.2.ebuild b/media-libs/graphene/graphene-1.8.2.ebuild index bbf2a99bcb73..46dfb28a7dec 100644 --- a/media-libs/graphene/graphene-1.8.2.ebuild +++ b/media-libs/graphene/graphene-1.8.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/ebassi/graphene/releases/download/${PV}/${P}.tar.xz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~ppc64 ~sparc ~x86 ~amd64-fbsd" IUSE="cpu_flags_arm_neon cpu_flags_x86_sse2 doc +introspection test" RDEPEND=" diff --git a/media-libs/gst-plugins-base/Manifest b/media-libs/gst-plugins-base/Manifest index 1b18d622cbdc..ba7a42571ab9 100644 --- a/media-libs/gst-plugins-base/Manifest +++ b/media-libs/gst-plugins-base/Manifest @@ -7,6 +7,6 @@ DIST gst-plugins-base-1.14.2.tar.xz 3693856 BLAKE2B 7ed05718bfd1dcb15e05e5a2c875 EBUILD gst-plugins-base-0.10.36-r2.ebuild 2120 BLAKE2B 5e670a72e651af6a8ef1e4992fc42a7a444e9a77e708b86cdf5d373d96cc549c2953df5da5b001479938f77498eb09de861e89e705ce555618cd45227209a769 SHA512 bc9f491322b473f7ae2a55a7fab8315584b1ef3f71f94ec4968705fb1063d72e6dd2dd80342bd85b7abb29315abb26adbe3002c94c7a7ec27517c8edcf32eafb EBUILD gst-plugins-base-1.12.4.ebuild 2635 BLAKE2B 135ac9f8423f4d994fc90320871716c18bc37afef01fdd8fbadb25b1b37addd05aaf9efe915850a64d041f3d1cb52231cf64af87021cb4cc24205e4618d85536 SHA512 01ccfae2d189a9506ae1261f15126aee3967bf76e91808d88b0d2214083e19d628ceba84e44b6a1f47ef673137d42dcecf13ba7750e4f279dbc4a605948e3f76 EBUILD gst-plugins-base-1.14.1.ebuild 6101 BLAKE2B 59b7553bf67e3f8c293cd45c2db84e5012babbef8bd026bba645500c9f723dde58bff6b0f0d796c1ce680f858263009af2718ab084ba03322097d5416228f6e4 SHA512 4527760fb7655f9cc0f796f992a4a936e63f3bc5573a0407736b93e78dbef4e1f289738c15cc98841b4cdf2de38927d99fb1a338b01d8a90fc24bf66b4b0053a -EBUILD gst-plugins-base-1.14.2-r1.ebuild 5871 BLAKE2B 14318c1c40d5da489606863972191acf5115b2a4b555d987d50d999971a56c153a2d5a21c8efe7db17fc61dd01082ce70e8dead077d5276dd3879db8c2519bc2 SHA512 9630c3d23684689edbc9ab9bcfb0b981fa54df3769b394101bc96932bf8d591c62e010190f810fa5f94dd2c8d5f5baa617fdea81233cf07a1f292352dfe782d4 +EBUILD gst-plugins-base-1.14.2-r1.ebuild 5876 BLAKE2B 52c207b6767159345add53e4a7a811e012bdb42fc1026a9209c5a2f8edc6a827bdf07985efc672d5e43a8a54c70694ec07d34d02464d1f7e52dc5ce607ff89f7 SHA512 99f50208cd8a35919d6141928b12e562b9274ffb76e282793241dd6799968e44347a94c530b6239b3d34ac059326104d56c357ba6e3ca4f6b2474481be686454 EBUILD gst-plugins-base-1.14.2.ebuild 6045 BLAKE2B 2b3b0519874526c0780d01380259a0a4986e613af7a4491941e85e504134c505a343812086f128fe251ec912ff528926d96e9f845a524f73162b78b4682e626b SHA512 e88bab789aeedb188724faaa92f39364219b1e512ce1279c2ad617b8302bea1372bea4a1ff57060e12008e81e8627c3d102ed46b2f89b461fa8c01ecd3afcf3b MISC metadata.xml 1065 BLAKE2B 9736df3218c6157e5cc0f14e96a15ec6ab6140e8774c7361dd4fe9378efd37d1a3da593527313a81591818ad48a5585bd4395fbeb85d357449b00bf7e51bbb5c SHA512 520802b59fc6575e16edd765dacab4ff0ff6e51dd162f03fe7e4e07eb472aeb78f3974a32ba613939932e123179106a450c503234ed806a08416dc6b8dd534c2 diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.14.2-r1.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.14.2-r1.ebuild index d35af17af666..4b71a5dc0c54 100644 --- a/media-libs/gst-plugins-base/gst-plugins-base-1.14.2-r1.ebuild +++ b/media-libs/gst-plugins-base/gst-plugins-base-1.14.2-r1.ebuild @@ -10,7 +10,7 @@ DESCRIPTION="Basepack of plugins for gstreamer" HOMEPAGE="https://gstreamer.freedesktop.org/" LICENSE="GPL-2+ LGPL-2+" -KEYWORDS="~amd64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" # For OpenGL we have three separate concepts, with a list of possibilities in each: # * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest index 2bb5dfa0bc9d..c3040225283e 100644 --- a/media-libs/harfbuzz/Manifest +++ b/media-libs/harfbuzz/Manifest @@ -1,11 +1,13 @@ AUX harfbuzz-1.7.6-test_fixup.patch 789 BLAKE2B 6a57e25b3b20607c571c61c06f9f37f10b2c506e1f0c303f2b52302d1c32e7cb282a8a0544b91689da9fe1bfc6d07c2ab5d56698377af83752d4939f582536cd SHA512 87184db1f0a8e7bdf66fdabb1b556e2fdeb44c26ae7dc215e2a8a8808116274822e08d71f47c21fc3f027bae1bb15010404881ce36c053143e447fe252df9e40 DIST harfbuzz-1.7.6.tar.bz2 2586909 BLAKE2B 0ae5902b9fe00a4f05a5dc407d698195920454efff79be10f1d85af5430d8bde7df071ba226b978c860d1dd8778a8259f330ab633a1aaa416a4451888fa9ae6a SHA512 259656574b1ec2916ada951b759a591f45c11c5c639fa29831e06320312bf951f4f5ef6306f9ffc373abf0d40dbf944db918d4c54aca3bd7eab2c3a886db7a68 DIST harfbuzz-1.8.1.tar.bz2 3804867 BLAKE2B 9687b35bbdb74a42c28764a7b026a46ff90640b84bc40702bdbfadc79bbe3c393de837d4cdbbb8798f28aa8c75687c4f07e1c79e98bf9bd506403d89b4baf6a5 SHA512 7ef27232b294883b0c7404c8412837acfba95f12677f226d764f87e22cd169fe037e7bf13a9309e78c9aa905225fb332b3a143a01b13308b05fcccaeddb0c931 -DIST harfbuzz-1.8.4.tar.bz2 3829479 BLAKE2B df4116945a00130b83198044665c4f0f0da497cf7d198a39632bbbe6b95327f8189dc7486262eb4d03b181c0151d89bea41223e092613c2f8fec9566eb6f9434 SHA512 8ec72b065b3f5d227b0af1486ab8019414bbdfaafce2f99d5a8bbf7d37a2709cadb545efcc46c5a5c44ce405966f01d8f3e8607f31907f8ed7ebe10150c9dcaf DIST harfbuzz-1.8.5.tar.bz2 3859514 BLAKE2B 6e44de23d81e68ccbe69008f852f5d29fbac8c255808a8330c47d47703035065cf4b48e4d3ce06b50d83d5d3412c3300d0010806b5fed251450d7a7dd0d1395d SHA512 81e4df32d848d52b27413ddf4551bbaa16c04e2cc98f4e2318359b611a725cd55099138106344babcc912a662e6c70354370615452b0d69c38bfa419e063b1a9 +DIST harfbuzz-1.8.6.tar.bz2 3864337 BLAKE2B 166425cfec185b23c3d5bb210d88e0b32a9d58c66d38947e0a3366939a5dcd27a047e800b1d1b3cba2597e2034f60efecce5d90f819319e1790e0d4adb793fac SHA512 7412b0f046ef30346358c9321d25fddd98ad44e4cf403f68b77c41b29b9369b5ab9e94164262cea3f487c185786bbdd7813d481896df221f4ab2461d7d43e834 +DIST harfbuzz-1.8.7.tar.bz2 3863545 BLAKE2B fac6a6b198fc8cc4d92ae128f9064a3c5ae71ba55891e80cbedd51e91a7df5bd1190f9d51051613a704a3c005b0a8eb850b387ca15b5ff09321ad9df23c70fab SHA512 8654b148fa6fcc34a0e2a981493901a5d93c46934861655c070a228baf136e5ed231cd8a5268948b6ff12ab551870f37d7270d9be649d35d515130540d0eeefa EBUILD harfbuzz-1.7.6.ebuild 3252 BLAKE2B e9d0be30511ff76b2423c84a97488fae78af56b346ab3b650bc24e392513dd8748b0f9fc59032d24529b96020fc83463e2a38c66bb9d2f49c8979322fcac3d48 SHA512 ab4b7ccb76e49f3bccc5ed61a8282db84d03f7b70b75963fb01b5a2613ff4ea568379464b89ae4357edd6d6eb057088cc5424d59ae20b6f0c4a4bd6ba665d0a3 EBUILD harfbuzz-1.8.1.ebuild 3207 BLAKE2B 1dd250ac33c8b6ec4fa9fff4ba6d1746d2881cc18a6510b2848ea06b20e70fcf8b00b03e01defe0fe8888627004e4440083e611a79476856a5a40e2042715591 SHA512 30763dd7704d2b41d2b3d85aec21c9fa3ead4ab11cacea58bca739cfa3c1d0801fbb6aeec0565e25e0d8b812c51c9f57edff2d93fbcfc8f2fd360ccd18a9f68a -EBUILD harfbuzz-1.8.4.ebuild 3048 BLAKE2B 63ceb77b82c4d56f58f15923dae72b22483e3316ba8bb4d6414fdbcc4e5062754e8825de9f0fb7ff7e73c63a5330ae8c30ea981e82ebd01b235ba024e291f4b3 SHA512 e06bbb4410096544d1f0f91eb7937afb5a6aa4aff80ce54ef32b4f2858c3cc38b244e7ab178d6cfeb74b0ec13b3ddf8161e71a6fc107df13b87f67c321565828 EBUILD harfbuzz-1.8.5.ebuild 3048 BLAKE2B 63ceb77b82c4d56f58f15923dae72b22483e3316ba8bb4d6414fdbcc4e5062754e8825de9f0fb7ff7e73c63a5330ae8c30ea981e82ebd01b235ba024e291f4b3 SHA512 e06bbb4410096544d1f0f91eb7937afb5a6aa4aff80ce54ef32b4f2858c3cc38b244e7ab178d6cfeb74b0ec13b3ddf8161e71a6fc107df13b87f67c321565828 +EBUILD harfbuzz-1.8.6.ebuild 3048 BLAKE2B 63ceb77b82c4d56f58f15923dae72b22483e3316ba8bb4d6414fdbcc4e5062754e8825de9f0fb7ff7e73c63a5330ae8c30ea981e82ebd01b235ba024e291f4b3 SHA512 e06bbb4410096544d1f0f91eb7937afb5a6aa4aff80ce54ef32b4f2858c3cc38b244e7ab178d6cfeb74b0ec13b3ddf8161e71a6fc107df13b87f67c321565828 +EBUILD harfbuzz-1.8.7.ebuild 3048 BLAKE2B 63ceb77b82c4d56f58f15923dae72b22483e3316ba8bb4d6414fdbcc4e5062754e8825de9f0fb7ff7e73c63a5330ae8c30ea981e82ebd01b235ba024e291f4b3 SHA512 e06bbb4410096544d1f0f91eb7937afb5a6aa4aff80ce54ef32b4f2858c3cc38b244e7ab178d6cfeb74b0ec13b3ddf8161e71a6fc107df13b87f67c321565828 EBUILD harfbuzz-9999.ebuild 3048 BLAKE2B 63ceb77b82c4d56f58f15923dae72b22483e3316ba8bb4d6414fdbcc4e5062754e8825de9f0fb7ff7e73c63a5330ae8c30ea981e82ebd01b235ba024e291f4b3 SHA512 e06bbb4410096544d1f0f91eb7937afb5a6aa4aff80ce54ef32b4f2858c3cc38b244e7ab178d6cfeb74b0ec13b3ddf8161e71a6fc107df13b87f67c321565828 MISC metadata.xml 645 BLAKE2B aadcef9412392874d361b5c09e7450bf88db64fa704558553861cf16ffd1a5b5715291fefc0624e3ad0d86a537cdbd2b810fa093b289428e68a19c82049188ef SHA512 645e451768a5dba2e16d18b51ece20fa28172450bf22e29fe73ed29748f712187f997ce2f6f0a24c725f0cb10434b4a65c6de9a5fd1aa7d820e00b7dca8b8b63 diff --git a/media-libs/harfbuzz/harfbuzz-1.8.4.ebuild b/media-libs/harfbuzz/harfbuzz-1.8.6.ebuild index c723137a7e55..c723137a7e55 100644 --- a/media-libs/harfbuzz/harfbuzz-1.8.4.ebuild +++ b/media-libs/harfbuzz/harfbuzz-1.8.6.ebuild diff --git a/media-libs/harfbuzz/harfbuzz-1.8.7.ebuild b/media-libs/harfbuzz/harfbuzz-1.8.7.ebuild new file mode 100644 index 000000000000..c723137a7e55 --- /dev/null +++ b/media-libs/harfbuzz/harfbuzz-1.8.7.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit flag-o-matic libtool multilib-minimal python-any-r1 xdg-utils + +DESCRIPTION="An OpenType text shaping engine" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz" + +if [[ ${PV} = 9999 ]] ; then + EGIT_REPO_URI="https://anongit.freedesktop.org/git/harfbuzz.git" + inherit git-r3 autotools +else + SRC_URI="https://www.freedesktop.org/software/${PN}/release/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris" +fi + +LICENSE="Old-MIT ISC icu" +SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416 + +IUSE="+cairo debug fontconfig +glib +graphite icu +introspection static-libs test +truetype" +REQUIRED_USE="introspection? ( glib )" + +RDEPEND=" + cairo? ( x11-libs/cairo:= ) + fontconfig? ( media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] ) + glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] ) + graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] ) + icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.34:= ) + truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am + virtual/pkgconfig + test? ( ${PYTHON_DEPS} ) +" +# eautoreconf requires gobject-introspection-common +# ragel needed if regenerating *.hh files from *.rl +if [[ ${PV} = 9999 ]] ; then + DEPEND+=" + >=dev-libs/gobject-introspection-common-1.34 + dev-util/ragel + " +fi + +pkg_setup() { + use test && python-any-r1_pkg_setup + if ! use debug ; then + append-cppflags -DHB_NDEBUG + fi +} + +src_prepare() { + default + + xdg_environment_reset + + if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then + # on Darwin/Solaris we need to link with g++, like automake defaults + # to, but overridden by upstream because on Linux this is not + # necessary, bug #449126 + sed -i \ + -e 's/\<LINK\>/CXXLINK/' \ + src/Makefile.am || die + sed -i \ + -e '/libharfbuzz_la_LINK = /s/\<LINK\>/CXXLINK/' \ + src/Makefile.in || die + sed -i \ + -e '/AM_V_CCLD/s/\<LINK\>/CXXLINK/' \ + test/api/Makefile.in || die + fi + + [[ ${PV} == 9999 ]] && eautoreconf + elibtoolize # for Solaris + + # bug 618772 + append-cxxflags -std=c++14 +} + +multilib_src_configure() { + # harfbuzz-gobject only used for instrospection, bug #535852 + local myeconfargs=( + --without-coretext + --without-uniscribe + $(use_enable static-libs static) + $(multilib_native_use_with cairo) + $(use_with fontconfig) + $(use_with glib) + $(use_with introspection gobject) + $(use_with graphite graphite2) + $(use_with icu) + $(multilib_native_use_enable introspection) + $(use_with truetype freetype) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" + + if multilib_is_native_abi; then + ln -s "${S}"/docs/html docs/html || die + fi +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name "*.la" -delete || die +} diff --git a/media-libs/libcdaudio/Manifest b/media-libs/libcdaudio/Manifest index bfb105e19204..a65b4c498743 100644 --- a/media-libs/libcdaudio/Manifest +++ b/media-libs/libcdaudio/Manifest @@ -1,5 +1,6 @@ AUX libcdaudio-0.99-CAN-2005-0706.patch 457 BLAKE2B d1bf9fdd84e8fd66e4e66383c69a251a71d134f36365125879384bc638a4f7ae19308041658f98e27570b7e5255f945a504f520401fed44ceceb581f31abd335 SHA512 75c95893f64bb599e00ef96c303b8daad1e8d02f017deb428eb934fa1716f6736a3388e11ff5474103b1b5afafb89aff5e0ed038c8c93e90f5be0f97585c3ebb -AUX libcdaudio-0.99.12-bug245649.patch 303 BLAKE2B 8e4f0b7d0b349a1c27921459b0601f51de7674b10a96d76d09aea2e707c0377a40af918047195a30aee7149709efba0a8b8511d5d6aeff2b4ab0a910559c8cd4 SHA512 89a5add9a825071863ecc9f9f96cbf19e80d454d253321d90a8dea82953709f0cb1482a91fec92c93a9829c0aaf0c300a8f615d707dd735dc081d6bd394b2272 +AUX libcdaudio-0.99.12-bug245649.patch 307 BLAKE2B 690a57ec23e24040b590b93cbff6d443f8d34a273fdb63b9aa0487cc2d3b787c6ca06294641cde3dc669dd26bf4eeda70c8e979b0400cb63793c40d59f49b3ef SHA512 693a43f3c09fa09425f06103cf2d52fbc2351fee1d37948f725103768f7f063384339e518a81be10e71d0e275582daecf5ec64aa12f12f72f370e46e4437bf33 DIST libcdaudio-0.99.12.tar.gz 357150 BLAKE2B 406dcdeb801237e9aa88934bd7ca39bad0b121641de198b65a4137ff1d25500954f12f7f86b78912098a7acda3afb188a5965b69e99ccb0a84441b3bf1931327 SHA512 c00fbea7776e847da93bfbf4cbe74ccb3ee826da80e74eef84575fc211729e6a09599f5bfa332c91d678a31f9de5e5b333bdafe51438f266f6dea519652f5247 EBUILD libcdaudio-0.99.12-r1.ebuild 731 BLAKE2B aef7f96f1d14a2bbf52c08f8021465a8b0853bf966ceb93302d3e3db714c11b8240b5f626b9c70563985401eb8d89c963164ce333533ff8cb003a72d8f5b7c93 SHA512 31e1a6c552b11db011297bf2da756996551beca58d117383241abc96ad6bf68d0f4390a5f2b6ea7477e4979133723634261d0a9b9fa488138921f043b4902e2b +EBUILD libcdaudio-0.99.12-r2.ebuild 523 BLAKE2B f457d7002c73c0700a2e959154fac404cf445b8357b92a458576b6c0b21cf0f13cfef6a71bea0f59466ee68d172a932e9520de94d3d330ca440f294466720c68 SHA512 de11c25e776565f185d32afb2553587af2db815fdc6b91e47abd3ae2b728d3a26d66e02a3de6b2deaa74e1156eb3265f1261094ab6b5fbc4d70edbf131002127 MISC metadata.xml 333 BLAKE2B f6d68462d464a5a381a3a09aa96646ecc510b0e0ddf855588b94ca2662caa4bf17112d57741d5e4b013b43ea621d856bc000c62477cc9c3273f23a6ffe2de7e8 SHA512 5ac86238b0db4069b133127f007fec468f87847cb219dc0c5dab8df5544a5e515057b4c44f44dfa843b5b81a62141a21352dec9e9a0fec98c300e9e9509cd034 diff --git a/media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch b/media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch index 988c4c21c85d..e859c0460ec5 100644 --- a/media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch +++ b/media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch @@ -1,5 +1,5 @@ ---- src/cddb.c -+++ src/cddb.c +--- a/src/cddb.c ++++ b/src/cddb.c @@ -1679,7 +1679,7 @@ cddb_read_disc_data(int cd_desc, struct disc_data *outdata) free(file); diff --git a/media-libs/libcdaudio/libcdaudio-0.99.12-r2.ebuild b/media-libs/libcdaudio/libcdaudio-0.99.12-r2.ebuild new file mode 100644 index 000000000000..aab9132c9198 --- /dev/null +++ b/media-libs/libcdaudio/libcdaudio-0.99.12-r2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Library of cd audio related routines" +HOMEPAGE="http://libcdaudio.sourceforge.net/" +SRC_URI="mirror://sourceforge/libcdaudio/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +PATCHES=( + "${FILESDIR}"/${PN}-0.99-CAN-2005-0706.patch + "${FILESDIR}"/${P}-bug245649.patch +) + +src_configure() { + econf --enable-threads +} diff --git a/media-libs/libclalsadrv/Manifest b/media-libs/libclalsadrv/Manifest index 6ded515e5f44..467223d4fae9 100644 --- a/media-libs/libclalsadrv/Manifest +++ b/media-libs/libclalsadrv/Manifest @@ -3,5 +3,6 @@ AUX libclalsadrv-2.0.0-makefile.patch 980 BLAKE2B 1d52c923cb57e0279e3cff4dcd9cc9 DIST clalsadrv-1.2.2.tar.bz2 12593 BLAKE2B a01976bc2af473c6bd9689626e5e7bc22c9cae6e872f6a67aef5fc379ba437737d4ecc95e0ee3c6d54b4a5fc447a361d511a7cb422eb896178426e55c1629875 SHA512 a1b15551488d0bb597339804b36ed4cbb2459db24a3f71c1a068e3874eba10059668d358d8e0202b2964d3b80ed41d51f6db657614102a9a2b99597a7cd87106 DIST clalsadrv-2.0.0.tar.bz2 14373 BLAKE2B 22166ac4591470cf49f9ede4be9567b33e101f0c9d24d1916376cf016c9dccdf29d94c645be95f0d02444000bc79800a22edcf97dc43ac080254f1233132e24f SHA512 6913fefa913ef50a8245541a7a1cafe76d1768bb4fa302d6ac0db86b40cc8b702ae3d257d0998809cc26f116a69db591b73f01a4ca0021bd062189438ca69ab8 EBUILD libclalsadrv-1.2.2.ebuild 777 BLAKE2B 0df5dc638a513e3b8ab16fff6049075246d8134831ae11558f299f9c18f36a68abde009b1ed15775caf1fb7b2e7f464a0218af01c019a9dcd23aa30c95b3e71c SHA512 e7424c2de29b4876cb60cf2f45e45677db41ff4ae3f53270c94aef86bdd5e3f2ece13e3461c88fb7dd7f64768ccb3e5c0e1492e5beff663649b1722a000f8dcb +EBUILD libclalsadrv-2.0.0-r1.ebuild 624 BLAKE2B d8fcaec4134133475ffabad20d05c307ed05d4fc733f4e2363ff52d924c1ff7f74d526f031d4a908fe0b64aba1522bdb1c6efa94dbea036c8e1b876e89288e7b SHA512 b2712c6977cd961a5cd6ee5163074f150c83090624081e78e615c513ce04516be6ff6e8eef57035bd11e90b861873fed9b4b8049689f94cf6cceb679bcdfbf82 EBUILD libclalsadrv-2.0.0.ebuild 650 BLAKE2B 190d33353fe7a24f306b045ffaf981592578ce995a00df8dc05b7fb6fb6fb1cb1241c6e73e34a41db86d91af2bffe218bc873c19cbc8a0e326e7ac121f8fd6e0 SHA512 99277fb3cca1205193a120d6960d170505cb246e81cb9a4d727c26f84b4bd7bcdf5d749a1263a452c29ee677e2a7b3b737afb1a23470b302eff8347270005b5d MISC metadata.xml 249 BLAKE2B f7f8f071ecba933f3d39b0b60983281d59299b92de9375a60ab4109d7202800cb790bce0c426227f04b3e2624b1adb20876145741355abc6a4938b8b9698d144 SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 diff --git a/media-libs/libclalsadrv/libclalsadrv-2.0.0-r1.ebuild b/media-libs/libclalsadrv/libclalsadrv-2.0.0-r1.ebuild new file mode 100644 index 000000000000..0579ddc42586 --- /dev/null +++ b/media-libs/libclalsadrv/libclalsadrv-2.0.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +MY_P=${P/lib} + +DESCRIPTION="ALSA driver C++ access library" +HOMEPAGE="http://packages.debian.org/libclalsadrv" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="media-libs/alsa-lib" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${P/lib}/libs" + +PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) + +src_compile() { + tc-export CXX + emake +} + +src_install() { + emake LIBDIR="$(get_libdir)" PREFIX="${D}/usr" install + dodoc ../AUTHORS +} diff --git a/media-libs/libdmtx/Manifest b/media-libs/libdmtx/Manifest index 11545b75f899..dde1ba84e3ab 100644 --- a/media-libs/libdmtx/Manifest +++ b/media-libs/libdmtx/Manifest @@ -1,3 +1,5 @@ DIST libdmtx-0.7.4.tar.gz 370999 BLAKE2B 7c87d1b1ca8a1466aed6dbd8b60b31c1acacbff46d99855a2366c89a0998acbc8e0b3d3e70612d6bfc736b48e2001d8de14b9169920e802490623009f3395ea9 SHA512 307aeb30506e60fc44550d1bb86081634f0718d53e7b878b45b0e704e75c5996e27285a16881b7c3a93cafa9a9b125175dadc0f0c2c2f976878666eb652108ae +DIST libdmtx-0.7.5.tar.gz 790944 BLAKE2B af94a998e6ab0b06c17d64d6c720e874540830282fd1219260aa1e5fb44159b59f63fcfd1fbd750333ae50b080c341ec02b81216c2e975a8ef85628b23d4fb55 SHA512 c4bccc9eff4a93b6bb417ed23ed46e82cc98b650a94be40479d192af8537ee02a16700fbbd8f2271035ff8b804c40ab6461825d94bd80a3081d3a4b3988ea22a EBUILD libdmtx-0.7.4.ebuild 559 BLAKE2B 2bf658670fbe81aa3d73265f684582be428ad3cf3e4454787cf48ce5e05d5417440f934562fcf3e1467dd7a5aaf6eacdadb9c60bd07bfc3798902df2c88bad31 SHA512 c9dec7100a4fffc636cde5fb6b99f7a9e5a4cee565d2ac52685db6df4c5b128adadefda51aeef494449e71f4a06dd48033905cff1c773e6d1eb9c0229f37127e -MISC metadata.xml 326 BLAKE2B 569a4d2049158e629962d3fe2190f5abbd2971ca7235e4cac03f98cd3addc98f41171f81819bafb05d2548b62ff62e90b8ea2af63b79bc3a9ab1f5b06269249a SHA512 a76e9bc57b61fe25bae84a0a6420dc399647457b484d633033914a898933e7c2d3de5cddb379156ca681e20f270c7b3c6699ced46d0514aa418fc5b6f7df908c +EBUILD libdmtx-0.7.5.ebuild 604 BLAKE2B e101e1511342b4d50d098810abb3f87a0a43ea0ebeaa363d515b00e4d21ab4deaf66dee8a65bce271bb26eb92aff596a678188fb5065ffb53c5ebfe531ec27b2 SHA512 6c0aed13647b96e0f175d1031903e88dd81464ecd9dd785890ebe258580708c6b8490976940393fc18b7b6f7fa83d6466ff03ae96233e0ec42e4c7e6c174478f +MISC metadata.xml 378 BLAKE2B 9dcdc2a67e0836e73a48174390263c6344f329beb3682a92ffc52a11856b87ce5a4338803ee67f07f9d2337b4292433727c3edca55b155ebd93200351231113a SHA512 f4374bbe8333e1e1700cedd7482667159e5c2e31d8b0f6e52074c9261a11327ca9eab2c857f768cdccd287728b3ab3f52628733e4d91725230fedd985d376a7d diff --git a/media-libs/libdmtx/libdmtx-0.7.5.ebuild b/media-libs/libdmtx/libdmtx-0.7.5.ebuild new file mode 100644 index 000000000000..1210c5c02638 --- /dev/null +++ b/media-libs/libdmtx/libdmtx-0.7.5.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Barcode data matrix reading and writing library" +HOMEPAGE="http://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 ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="static-libs" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) +} + +src_install() { + default + find "${ED}" -name '*.la' -exec rm -f {} + || die +} diff --git a/media-libs/libdmtx/metadata.xml b/media-libs/libdmtx/metadata.xml index b12b89f5a307..0f374f8fda32 100644 --- a/media-libs/libdmtx/metadata.xml +++ b/media-libs/libdmtx/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo KDE Project</name> </maintainer> <upstream> + <remote-id type="github">dmtx/libdmtx</remote-id> <remote-id type="sourceforge">libdmtx</remote-id> </upstream> </pkgmetadata> diff --git a/media-libs/libifp/Manifest b/media-libs/libifp/Manifest index 77343d0f65ba..1e416f2f4fca 100644 --- a/media-libs/libifp/Manifest +++ b/media-libs/libifp/Manifest @@ -1,3 +1,4 @@ DIST libifp-1.0.0.2.tar.gz 358550 BLAKE2B 3d9e9d82d0147286d3c577bfcc43d2052b643dd3e86c8770fc6dc56047f8c7923e4e04b6463cf895e552be423f887df48d6741173deaf165aa62d2e64ec1332c SHA512 538ddcf0be4bf7427a7f8ebb60ec77f22b69aa26055fc279f884bd82bae4e32267c79ac37f4dcf9970806e520549bc93dbf0aa2501c9c4fc699a6855e757a331 +EBUILD libifp-1.0.0.2-r1.ebuild 1355 BLAKE2B 8b329b837506c5006786103da81df5222b67db39e0bfc3659d6112edbe5f5ee4b90aab3112143fe615d8bda7de327884052a634ecb06dad6ee8aaf9bff165e75 SHA512 9bd539e382fce7dc3d210a1b9838eb874f488b28442fdabdfbbea6b7903744ba0fded1d414b43e25f4136296ae4b64e4f06be8e5282bb4d6438b4eb4a792e0db EBUILD libifp-1.0.0.2.ebuild 1342 BLAKE2B a64358c37ee14577ac1c063dd387288fa74c687a6dd74fe707b87b70cffe75285e99672c5a29281c1a3e7bcda26d94ce0b565185046566120693623d5237fb3f SHA512 8e5b05c3cb30061ea050d1e00bdeddf1a15266d15c21c3e9156197239fd06089db6214bbbba91fefa39abc10427091b3d5fcdde33e31b1fd86244f4adc52791e MISC metadata.xml 333 BLAKE2B 87a4530824fff1355c5d2af1b6483b6fb1752c5a346b5848500b7962307a2e9956727f08e753b1548fbd941352a4563e9c14ae386bd46f238f8929cc2d46970b SHA512 d0cd8f6fc7bdc757d2a1ef5443f30410514ac335bcd2a84829995c527862b994fc75a8dfc5ceff2b8e2a3d7b0b081a57cbc50e4b825567b8a56d0f9eb00c13c7 diff --git a/media-libs/libifp/libifp-1.0.0.2-r1.ebuild b/media-libs/libifp/libifp-1.0.0.2-r1.ebuild new file mode 100644 index 000000000000..6cd97383381b --- /dev/null +++ b/media-libs/libifp/libifp-1.0.0.2-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A general-purpose library for iRiver's iFP portable audio players" +HOMEPAGE="http://ifp-driver.sourceforge.net/libifp/" +SRC_URI="mirror://sourceforge/ifp-driver/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" +IUSE="doc examples static-libs" + +RDEPEND="virtual/libusb:0" +DEPEND="${RDEPEND} + doc? ( >=app-doc/doxygen-1.3.7 )" + +src_prepare() { + default + sed -i \ + -e '/CFLAGS=/s:-g -O2:${CFLAGS}:' \ + -e '/CXXFLAGS=/s:-g -O2:${CXXFLAGS}:' \ + configure || die +} + +src_configure() { + use doc || export have_doxygen=no + + econf \ + --disable-dependency-tracking \ + $(use_enable static-libs static) \ + $(use_enable examples) \ + --with-libusb \ + --without-kmodule +} + +src_test() { :; } # hardware dependant wrt #318597 + +src_install() { + emake DESTDIR="${D}" install + + find "${D}" -name '*.la' -exec rm -f {} + || die + + # clean /usr/bin after installation + # by moving examples to examples dir + if use examples; then + insinto /usr/share/${PN}/examples + doins "${S}"/examples/simple.c "${S}"/examples/ifpline.c + mv "${D}"/usr/bin/{simple,ifpline} "${D}"/usr/share/${PN}/examples || die + else + rm -f "${D}"/usr/bin/{simple,ifpline} || die + fi + + use doc && dodoc README ChangeLog TODO +} diff --git a/media-libs/libsdl2/Manifest b/media-libs/libsdl2/Manifest index 49c0ec07feee..7b99bbf0fe2c 100644 --- a/media-libs/libsdl2/Manifest +++ b/media-libs/libsdl2/Manifest @@ -1,9 +1,6 @@ -AUX libsdl2-2.0.4-static-libs.patch 4899 BLAKE2B e294903f7a675f01fa884c8a98897b6a2c6e836d7baacb0f121f2aa48f2d0408c549f72e6f7886cba2db255486d4f29ed01b608cde133686d3c4809fd571edd9 SHA512 a71a6807251a8348f14a9dc1c5990d59cc63e067ee611a43b850950d8afde737830cf0bb0b0fd1fe6dc37e16490020fa21fbb9c70285333ee44ae2eb292f1a5a AUX libsdl2-2.0.6-static-libs.patch 2373 BLAKE2B 4632bf1c0d841d148acfbdf4c0fc25eb0eb3436478c1dddb4165c14d543793e2c378401f7b371976ffea38d6c3ceba4c4e4bfe415c0cfc4d07e62f2ec18dfc3f SHA512 c03037185a21ac3e2a664ab85847a0af95a44f579c2959fbc74d55ea8e59f7ed04775dcaea1fc2e284fca7ce6debca15a4062ba0e9bb0086f3dec49ba8044fb0 AUX libsdl2-2.0.8-rework-variables.patch 2061 BLAKE2B 8a64934ad09295442f6f63ffab50779e1975903449d3f47d70b42a5a82102ff0198ea0cd2b4766beb3844dee9f1d1539eb29a8abad7c12a10b6fa0789b1c80a6 SHA512 6d3f11a87d0a5eebbb7cd6e145075329f774f02ddfda227e211f0fdc5ac3d7c2d132a3cdc4b48baca9871ecd01b9a9e0c5b82ed727579e1b7eeb1d9fde48ae81 -DIST SDL2-2.0.4.tar.gz 4136230 BLAKE2B 374ba4c86f10d07f592dbeb6340b38e1360561fed4fa40d75c763adbfc3dd1605eed6841243ce14597814da5b0a86d7c6d4351198987919a3a7bc4db943f32b7 SHA512 dd0a95878639856c0f4b8a579ace8071379ab64519fa139b22d3ed857a0f0db87a75bc8480c7207e02fbffd1fdbd448e3c0b882c451675b0e2f1a945af02e1d6 DIST SDL2-2.0.8.tar.gz 4909017 BLAKE2B f6b365a6033e10ef0c5d56ee5e17cc1caada99a97b7ccc7b0eab4f7ca5fc513b78e71960a41a20319c5de1d9eb9eaeffb06b90d090e14e8d354a9b8315ab12f1 SHA512 673c6058b8692a36b4a3594456b10ef6051efe79e4fb644421fc5c76b11fd68b895840a2c8b72413418c378733e2993d33f19767d0d7ed101eda6310bd70c869 -EBUILD libsdl2-2.0.4.ebuild 4642 BLAKE2B 4076b8040962f3640151a53798ed20baba3bb07e8a607191f76a0cc7fc1015fb8fca6b11184403d798819dae2b3b963d5aef21732b5092c8e4497bc2fa4d1f50 SHA512 a83ffe2f864f559c359b9315f50b82735ccbf246719b5598482a85afd3000ee52a261c17076dbde86078f31a8f7f46a22ac8d2891635d287f71e83715c8a4452 -EBUILD libsdl2-2.0.8-r1.ebuild 4743 BLAKE2B 7aa1841ecf4f3815c3435eae649e365355ce3a4e50d1bb08dedd4d1af2a588451f6f8e65f24e384afbbdbdeb65213df6cd68c3498af1f477c75fe946af9419ce SHA512 b95a7f8e0a3c716e7c925f60f8463d04afa2cef0d96bb18fee694ee8ca4984ff14143e55c1bba2f165243931211eb3a1573a1d3d396c8be7f50741d0729b5668 +EBUILD libsdl2-2.0.8-r1.ebuild 4742 BLAKE2B 333677b4ed0a69eb34ba2a6d2da4140e23009d9780bfa297e0c85f74da31fa68ae964b68423232bfad67d34c8dffee86ea5de2db88cf3135fd2631d029aa56aa SHA512 99400ab240ec25f85f5b0a549a0d56b6b96d600ad9705e68af99ddb717e542a140eec7211a5435b5a1169772efa169581f32a8f6b1c758cad0a8aa70c7268c24 EBUILD libsdl2-2.0.8-r2.ebuild 5173 BLAKE2B 03b84a9b6888a3fe83e3f689dc8f554eb612f64f1f258c15dfc7f8349ad08d38a4c4cf20a5a3a8aa3592225dfd6690db4724af32cf4d27943a97b336bf05a07d SHA512 7d7c1f59f492c7a856e947284a239d3b3a2d22a0259d80422af01fb77a0a48ddf49221faf965c46c1af9588da9bd4e08d7f24f507c816b228d729bf673bc73ee -MISC metadata.xml 1665 BLAKE2B 7f469ffb0096991ffcd95d5cac92ded15aa0b6d0d60f0d38bcaf966336a8c782b51a4fd61e2984b97bf65896438517868836b251619647f330004c4795acd008 SHA512 dc0fae98711a1a79ccd76371e6747c8cf722dfb84d75d1d414bb90980886d649c53f9bdbee96e627854ace0fc6b30160688dc906aa74cc943e71172737ae659c +MISC metadata.xml 1602 BLAKE2B 600168481346aa4a72024f35a35640f8c415aa38f6c337a9995cd61c1f0c438fdd533dcf50b2506c7b3e638f9144295037df69bdcdcb3fcdd0821358caef2984 SHA512 c16d7e97a45a8897c806ef6087242710c95a0602f858947bf68c240075fbdc69ea1ae4c46eed567341f493868b94e1b63160a8b2cb1c1d44da232273c9f46001 diff --git a/media-libs/libsdl2/files/libsdl2-2.0.4-static-libs.patch b/media-libs/libsdl2/files/libsdl2-2.0.4-static-libs.patch deleted file mode 100644 index bee2fd580aaa..000000000000 --- a/media-libs/libsdl2/files/libsdl2-2.0.4-static-libs.patch +++ /dev/null @@ -1,89 +0,0 @@ ---- SDL2-2.0.4.orig/configure.in -+++ SDL2-2.0.4/configure.in -@@ -3114,7 +3114,7 @@ - if test -f /lib/w32api/libuuid.a; then - LIBUUID=/lib/w32api/libuuid.a - else -- LIBUUID=-luuid -+ LIBUUID=-Wl,-luuid - fi - EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lversion $LIBUUID -static-libgcc" - # The Windows platform requires special setup -@@ -3464,23 +3464,23 @@ - - VERSION_OBJECTS=`echo $VERSION_SOURCES` - VERSION_DEPENDS=`echo $VERSION_SOURCES` --VERSION_OBJECTS=`echo "$VERSION_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.rc,$(objects)/\1.o,g'` -+VERSION_OBJECTS=`echo "$VERSION_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.rc,$(objects)/\1.lo,g'` - VERSION_DEPENDS=`echo "$VERSION_DEPENDS" | sed "s,\\([[^ ]]*\\)/\\([[^ ]]*\\)\\.rc,\\\\ --\\$(objects)/\\2.o: \\1/\\2.rc\\\\ -- \\$(WINDRES) \\$< \\$@,g"` -+\\$(objects)/\\2.lo: \\1/\\2.rc\\\\ -+ \\$(LIBTOOL) --mode=compile --tag=RC \\$(WINDRES) -i \\$< -o \\$@,g"` - - SDLMAIN_OBJECTS=`echo $SDLMAIN_SOURCES` - SDLMAIN_DEPENDS=`echo $SDLMAIN_SOURCES` --SDLMAIN_OBJECTS=`echo "$SDLMAIN_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.o,g'` -+SDLMAIN_OBJECTS=`echo "$SDLMAIN_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.lo,g'` - SDLMAIN_DEPENDS=`echo "$SDLMAIN_DEPENDS" | sed "s,\\([[^ ]]*\\)/\\([[^ ]]*\\)\\.c,\\\\ --\\$(objects)/\\2.o: \\1/\\2.c\\\\ -+\\$(objects)/\\2.lo: \\1/\\2.c\\\\ - \\$(RUN_CMD_CC)\\$(LIBTOOL) --tag=CC --mode=compile \\$(CC) \\$(CFLAGS) \\$(EXTRA_CFLAGS) $DEPENDENCY_TRACKING_OPTIONS -c \\$< -o \\$@,g"` - - SDLTEST_OBJECTS=`echo $SDLTEST_SOURCES` - SDLTEST_DEPENDS=`echo $SDLTEST_SOURCES` --SDLTEST_OBJECTS=`echo "$SDLTEST_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.o,g'` -+SDLTEST_OBJECTS=`echo "$SDLTEST_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.lo,g'` - SDLTEST_DEPENDS=`echo "$SDLTEST_DEPENDS" | sed "s,\\([[^ ]]*\\)/\\([[^ ]]*\\)\\.c,\\\\ --\\$(objects)/\\2.o: \\1/\\2.c\\\\ -+\\$(objects)/\\2.lo: \\1/\\2.c\\\\ - \\$(RUN_CMD_CC)\\$(LIBTOOL) --tag=CC --mode=compile \\$(CC) \\$(CFLAGS) \\$(EXTRA_CFLAGS) $DEPENDENCY_TRACKING_OPTIONS -c \\$< -o \\$@,g"` - - # Set runtime shared library paths as needed ---- SDL2-2.0.4.orig/Makefile.in -+++ SDL2-2.0.4/Makefile.in -@@ -33,10 +33,10 @@ - OBJECTS = @OBJECTS@ - VERSION_OBJECTS = @VERSION_OBJECTS@ - --SDLMAIN_TARGET = libSDL2main.a -+SDLMAIN_TARGET = libSDL2main.la - SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@ - --SDLTEST_TARGET = libSDL2_test.a -+SDLTEST_TARGET = libSDL2_test.la - SDLTEST_OBJECTS = @SDLTEST_OBJECTS@ - - SRC_DIST = *.txt acinclude Android.mk autogen.sh android-project build-scripts cmake cmake_uninstall.cmake.in configure configure.in debian docs include Makefile.* sdl2-config.cmake.in sdl2-config.in sdl2.m4 sdl2.pc.in SDL2.spec.in src test VisualC.html VisualC VisualC-WinRT Xcode Xcode-iOS -@@ -138,15 +138,13 @@ - .PHONY: all update-revision install install-bin install-hdrs install-lib install-data uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data clean distclean dist $(OBJECTS:.lo=.d) - - $(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS) -- $(RUN_CMD_LTLINK)$(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) -+ $(RUN_CMD_LTLINK)$(LIBTOOL) --tag=CC --mode=link $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) - - $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS) -- $(RUN_CMD_AR)$(AR) cru $@ $(SDLMAIN_OBJECTS) -- $(RUN_CMD_RANLIB)$(RANLIB) $@ -+ $(RUN_CMD_LTLINK)$(LIBTOOL) --tag=CC --mode=link $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) -all-static - - $(objects)/$(SDLTEST_TARGET): $(SDLTEST_OBJECTS) -- $(RUN_CMD_AR)$(AR) cru $@ $(SDLTEST_OBJECTS) -- $(RUN_CMD_RANLIB)$(RANLIB) $@ -+ $(RUN_CMD_LTLINK)$(LIBTOOL) --tag=CC --mode=link $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) -all-static - - install: all install-bin install-hdrs install-lib install-data - install-bin: -@@ -167,10 +165,8 @@ - install-lib: $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) $(objects)/$(SDLTEST_TARGET) - $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir) - $(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(DESTDIR)$(libdir)/$(TARGET) -- $(INSTALL) -m 644 $(objects)/$(SDLMAIN_TARGET) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET) -- $(RANLIB) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET) -- $(INSTALL) -m 644 $(objects)/$(SDLTEST_TARGET) $(DESTDIR)$(libdir)/$(SDLTEST_TARGET) -- $(RANLIB) $(DESTDIR)$(libdir)/$(SDLTEST_TARGET) -+ $(LIBTOOL) --mode=install $(INSTALL) -m 644 $(objects)/$(SDLMAIN_TARGET) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET) -+ $(LIBTOOL) --mode=install $(INSTALL) -m 644 $(objects)/$(SDLTEST_TARGET) $(DESTDIR)$(libdir)/$(SDLTEST_TARGET) - install-data: - $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(datadir)/aclocal - $(INSTALL) -m 644 $(srcdir)/sdl2.m4 $(DESTDIR)$(datadir)/aclocal/sdl2.m4 diff --git a/media-libs/libsdl2/libsdl2-2.0.4.ebuild b/media-libs/libsdl2/libsdl2-2.0.4.ebuild deleted file mode 100644 index e3a0c12691c3..000000000000 --- a/media-libs/libsdl2/libsdl2-2.0.4.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# TODO: convert FusionSound #484250 - -EAPI=5 -inherit autotools flag-o-matic toolchain-funcs eutils multilib-minimal - -MY_P=SDL2-${PV} -DESCRIPTION="Simple Direct Media Layer" -HOMEPAGE="http://www.libsdl.org" -SRC_URI="http://www.libsdl.org/release/${MY_P}.tar.gz" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86" - -IUSE="cpu_flags_x86_3dnow alsa altivec custom-cflags dbus fusionsound gles haptic +joystick cpu_flags_x86_mmx nas opengl oss pulseaudio +sound cpu_flags_x86_sse cpu_flags_x86_sse2 static-libs +threads tslib udev +video wayland X xinerama xscreensaver" -REQUIRED_USE=" - alsa? ( sound ) - fusionsound? ( sound ) - gles? ( video ) - nas? ( sound ) - opengl? ( video ) - pulseaudio? ( sound ) - wayland? ( gles ) - xinerama? ( X ) - xscreensaver? ( X )" - -RDEPEND=" - alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) - dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] ) - fusionsound? ( >=dev-libs/DirectFB-1.7.1[fusionsound] ) - gles? ( >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},gles2] ) - nas? ( >=media-libs/nas-1.9.4[${MULTILIB_USEDEP}] ) - opengl? ( - >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] - >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] - ) - pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] ) - tslib? ( >=x11-libs/tslib-1.0-r3[${MULTILIB_USEDEP}] ) - udev? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] ) - wayland? ( - >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] - >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},egl,gles2,wayland] - >=x11-libs/libxkbcommon-0.2.0[${MULTILIB_USEDEP}] - ) - X? ( - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] - >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}] - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] - >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}] - >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] - >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] - >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}] - xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] ) - xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] ) - )" -DEPEND="${RDEPEND} - X? ( x11-base/xorg-proto ) - virtual/pkgconfig" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - # https://bugzilla.libsdl.org/show_bug.cgi?id=1431 - epatch "${FILESDIR}"/${P}-static-libs.patch - sed -i -e 's/configure.in/configure.ac/' Makefile.in || die - mv configure.{in,ac} || die - AT_M4DIR="/usr/share/aclocal acinclude" eautoreconf -} - -multilib_src_configure() { - use custom-cflags || strip-flags - - # sorted by `./configure --help` - ECONF_SOURCE="${S}" econf \ - $(use_enable static-libs static) \ - --enable-atomic \ - $(use_enable sound audio) \ - $(use_enable video) \ - --enable-render \ - --enable-events \ - $(use_enable joystick) \ - $(use_enable haptic) \ - --enable-power \ - --enable-filesystem \ - $(use_enable threads) \ - --enable-timers \ - --enable-file \ - --disable-loadso \ - --enable-cpuinfo \ - --enable-assembly \ - $(use_enable cpu_flags_x86_sse ssemath) \ - $(use_enable cpu_flags_x86_mmx mmx) \ - $(use_enable cpu_flags_x86_3dnow 3dnow) \ - $(use_enable cpu_flags_x86_sse sse) \ - $(use_enable cpu_flags_x86_sse2 sse2) \ - $(use_enable altivec) \ - $(use_enable oss) \ - $(use_enable alsa) \ - --disable-alsa-shared \ - --disable-esd \ - $(use_enable pulseaudio) \ - --disable-pulseaudio-shared \ - --disable-arts \ - $(use_enable nas) \ - --disable-nas-shared \ - --disable-sndio \ - --disable-sndio-shared \ - $(use_enable sound diskaudio) \ - $(use_enable sound dummyaudio) \ - $(use_enable wayland video-wayland) \ - --disable-wayland-shared \ - --disable-video-mir \ - $(use_enable X video-x11) \ - --disable-x11-shared \ - $(use_enable X video-x11-xcursor) \ - $(use_enable X video-x11-xdbe) \ - $(use_enable xinerama video-x11-xinerama) \ - $(use_enable X video-x11-xinput) \ - $(use_enable X video-x11-xrandr) \ - $(use_enable xscreensaver video-x11-scrnsaver) \ - $(use_enable X video-x11-xshape) \ - $(use_enable X video-x11-vm) \ - --disable-video-cocoa \ - --disable-video-directfb \ - $(multilib_native_use_enable fusionsound) \ - --disable-fusionsound-shared \ - $(use_enable video video-dummy) \ - $(use_enable opengl video-opengl) \ - $(use_enable gles video-opengles) \ - $(use_enable udev libudev) \ - $(use_enable dbus) \ - --disable-ibus \ - $(use_enable tslib input-tslib) \ - --disable-directx \ - --disable-rpath \ - --disable-render-d3d \ - $(use_with X x) -} - -multilib_src_install() { - emake DESTDIR="${D}" install -} - -multilib_src_install_all() { - prune_libtool_files - dodoc {BUGS,CREDITS,README,README-SDL,TODO,WhatsNew}.txt docs/README*.md -} diff --git a/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild b/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild index d52a80e3217f..08a462b416b2 100644 --- a/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild +++ b/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.libsdl.org/release/${MY_P}.tar.gz" LICENSE="ZLIB" SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~ppc ppc64 ~sparc x86" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sparc x86" IUSE="cpu_flags_x86_3dnow alsa altivec aqua custom-cflags dbus gles haptic libsamplerate +joystick cpu_flags_x86_mmx nas opengl oss pulseaudio +sound cpu_flags_x86_sse cpu_flags_x86_sse2 static-libs +threads tslib udev +video wayland X xinerama xscreensaver" REQUIRED_USE=" diff --git a/media-libs/libsdl2/metadata.xml b/media-libs/libsdl2/metadata.xml index f10ebbd6297d..66484c6e18e3 100644 --- a/media-libs/libsdl2/metadata.xml +++ b/media-libs/libsdl2/metadata.xml @@ -24,7 +24,6 @@ Perl, PHP, Pike, Python, and Ruby. </longdescription> <use> - <flag name="fusionsound">use FusionSound audio driver</flag> <flag name="gles">include OpenGL ES support</flag> <flag name="haptic">Enable the haptic (force feedback) subsystem</flag> <flag name="joystick">Control joystick support (disable at your own risk)</flag> diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest index 7f566a64cc4f..f50351e62780 100644 --- a/media-libs/mesa/Manifest +++ b/media-libs/mesa/Manifest @@ -3,9 +3,11 @@ DIST mesa-17.3.9.tar.xz 10660456 BLAKE2B 54f4a75f9040e50e9eea8f5c52a276578379d25 DIST mesa-18.0.5.tar.xz 10952996 BLAKE2B 708cdb2ef95a618430cd4e7eb45bcab0f6575774065b61f53787aa378385fe0dfa0b04f9c80c5426f9581851edc545a75c137777dc304ac8ba57465d365fcd50 SHA512 63b47cdca7f8282aab7aaa66233411f02918e5c4804b7a0010de2b1867fe90171e492ff031dfc4aa20968dfc99bd7dceb5d35fd44c709e54a2ece61175a60f3d DIST mesa-18.1.4.tar.xz 11133392 BLAKE2B b0c205e5baa04bb018333ffd89942f86f19edd3f610cce004db23bad4ebc1a3379ea35e72c85ccc08c34c8bc0991c1f0b595227fae2259e4b76895542d3f25b9 SHA512 04b8e5bbfa640f2303c388ab701fc2aca7f6d5d127ca5a9f9409975556813ba8e94305d27c9cea236a0e6d44a38b97e2877509268a96d9ed2a6762ab385aa3dc DIST mesa-18.1.5.tar.xz 11137340 BLAKE2B 3c18d2d73aa7ee920344691bd6de68b27b5cfb37e707921e04e3989596f3e5a088ac7171b033bb61473627cc1a5bf11d24a1f28d8483164b855f8023a74497e1 SHA512 f0bcb903bbf2ff7fc0b4a8fe100ea26ee91c0029b64adaf5fc4877ed7681f325c54b1be8eb0b140bff620da79f30a96375c2e1085e504ebfaf50e57f6da93013 +DIST mesa-18.2.0-rc2.tar.xz 11325108 BLAKE2B 5eb18c5b65d1e72959be85f40e45e355d1a8a3f72d2d54bc986b303648d376e5357a08ab7d63393d4949c8380376caefcff4946cc80677afe1d6073801200d55 SHA512 a60e6f1a0e819a1231946f9a50609ae670595c8dcd7d9d7ff1f928485e450dd25c622a451369c1f2999c3b986d2c5d9f4e6afd0e6cf24a7ae56595265f5d2aee EBUILD mesa-17.3.9.ebuild 14465 BLAKE2B 9fbe7ed8fd4f46d918288fe6f8b944d56cdd470c804d2786a19ef713b65c6b609e7286425c2cdc47aa52fd509af02eb077bea83ba04fa9dc232b2e6e19e59b1f SHA512 2f09d42d19cb4ef714d6b5fc1b6526f630393428522d98d24106d351a135e93eab172a2072e11cd9968e9c9e18da82b3f96cd7f6b0dc81ab316db80d6c542e3a EBUILD mesa-18.0.5.ebuild 14421 BLAKE2B d1170f83f571b84a1c3906b02aff38190c9586e3a22928b3f85b16c98448c928574faa18975bc01210c524d10221af679a894c975f83e0cdbca0146b553950a1 SHA512 a9d5c7284211a34f8022388838fedf2df792bac3188cc4e12ed4a5f362a978651b39c571402d798e559bc625708a2dd3a0363c19ccc43dfed9de81eda40e22b7 EBUILD mesa-18.1.4.ebuild 13432 BLAKE2B 0ecb168929a67a1829e9b1e8ace99091813afb6e7facddae82e22b89c0011abfa0fba0d577649dff24b6ec6569651077ae77069f7ec6ad59d1bfe023ffa3f53c SHA512 19c6d34947e4962014b3df6738d2564bd6c0172be81d6101b051bdef96e8b1f2d901b8566aa4ed9212f42c190251477e70ad16188655c17ce32848703190d02f EBUILD mesa-18.1.5.ebuild 13432 BLAKE2B 0ecb168929a67a1829e9b1e8ace99091813afb6e7facddae82e22b89c0011abfa0fba0d577649dff24b6ec6569651077ae77069f7ec6ad59d1bfe023ffa3f53c SHA512 19c6d34947e4962014b3df6738d2564bd6c0172be81d6101b051bdef96e8b1f2d901b8566aa4ed9212f42c190251477e70ad16188655c17ce32848703190d02f -EBUILD mesa-9999.ebuild 11964 BLAKE2B 48537a7aae256d79f3a29075bb2e258dfd2876dd0c5f661b01cb3d23519be1505b15c3fe81a08686a0a1d7e9a84090203db58323794df06ba89fd56262d4455d SHA512 09462036738bb8bdce4550754eeb25f902a96a69c5f9743ea6e26f2a2e5253c8db2ea5f11f041e64c7b17454ce20381d006c7565c11445ab188b69048c4b15a2 +EBUILD mesa-18.2.0_rc2.ebuild 11982 BLAKE2B a7a84d5edfdd47d27e4a6b49a75c93ad31eedae896ee6e0e673c1f1e10e5104d4dca6921a20ce8edd5bfac736ab7a461e3d3c78312156dccf5124e8b3d7f0e5f SHA512 bcd6dd622284752f37e7b41478d1a167f7033a6c34767892bb1c8d34b38bfc3899c32d4ac5ef7459e12678611f3747ae4f22d045124dac9d93b32f8d5a15cd15 +EBUILD mesa-9999.ebuild 12003 BLAKE2B 4b4c2b86f66e48d5891f7afafb4d265b996f5b3bfce06bd539a6298a2ccbea9e9a8ef96e1890e0c5478e95cd64d6855c9172cd571309f77c7da29d49f9a953f5 SHA512 42e75d4c83f9fcffe2a0df96b6cd9ffde8fe8cec298f63fb9d80ce1efc72dd27305486cde97e9cb0c4013df78117c3d47864a26faaa676161e7645a412851696 MISC metadata.xml 2095 BLAKE2B c1c858a478bbb1c7e38a45dbf00e380a3d26c56920db1897521a7e9f4eb005157e535207ae2274d744e3ce5514a57654eb0effb2cfc773263a0f417874cdc742 SHA512 c3db8aeb4f4ae7ea27c8b48cb26ee9348d84e6fb4b99df815b177e62e78cd980a7834c152e2c10c6fdbe2b91a032861a0c0503625874bfb6df58ccc3bf54e705 diff --git a/media-libs/mesa/mesa-18.2.0_rc2.ebuild b/media-libs/mesa/mesa-18.2.0_rc2.ebuild new file mode 100644 index 000000000000..af17740a3a81 --- /dev/null +++ b/media-libs/mesa/mesa-18.2.0_rc2.ebuild @@ -0,0 +1,471 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit llvm meson multilib-minimal pax-utils python-any-r1 + +OPENGL_DIR="xorg-x11" + +MY_P="${P/_/-}" + +DESCRIPTION="OpenGL-like graphic library for Linux" +HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git" + EXPERIMENTAL="true" + inherit git-r3 +else + SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" +fi + +LICENSE="MIT" +SLOT="0" +RESTRICT=" + !test? ( test ) +" + +RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi" +VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl vivante vmware" +for card in ${VIDEO_CARDS}; do + IUSE_VIDEO_CARDS+=" video_cards_${card}" +done + +IUSE="${IUSE_VIDEO_CARDS} + +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm lm_sensors + opencl osmesa openmax pax_kernel pic selinux test unwind vaapi valgrind + vdpau vulkan wayland xa xvmc" + +REQUIRED_USE=" + d3d9? ( dri3 gallium ) + llvm? ( gallium ) + opencl? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi ) ) + openmax? ( gallium ) + gles1? ( egl ) + gles2? ( egl ) + vaapi? ( gallium ) + vdpau? ( gallium ) + vulkan? ( || ( video_cards_i965 video_cards_radeonsi ) + video_cards_radeonsi? ( llvm ) ) + wayland? ( egl gbm ) + xa? ( gallium ) + video_cards_freedreno? ( gallium ) + video_cards_intel? ( classic ) + video_cards_i915? ( || ( classic gallium ) ) + video_cards_i965? ( classic ) + video_cards_imx? ( gallium video_cards_vivante ) + video_cards_nouveau? ( || ( classic gallium ) ) + video_cards_radeon? ( || ( classic gallium ) + gallium? ( x86? ( llvm ) amd64? ( llvm ) ) ) + video_cards_r100? ( classic ) + video_cards_r200? ( classic ) + video_cards_r300? ( gallium x86? ( llvm ) amd64? ( llvm ) ) + video_cards_r600? ( gallium ) + video_cards_radeonsi? ( gallium llvm ) + video_cards_vc4? ( gallium ) + video_cards_virgl? ( gallium ) + video_cards_vivante? ( gallium gbm ) + video_cards_vmware? ( gallium ) +" + +LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.93" +RDEPEND=" + !app-eselect/eselect-mesa + >=app-eselect/eselect-opengl-1.3.0 + >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}] + >=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}] + >=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}] + >=x11-libs/libXdamage-1.1.4-r1:=[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2:=[${MULTILIB_USEDEP}] + >=x11-libs/libXxf86vm-1.1.3:=[${MULTILIB_USEDEP}] + >=x11-libs/libxcb-1.13:=[${MULTILIB_USEDEP}] + x11-libs/libXfixes:=[${MULTILIB_USEDEP}] + gallium? ( + unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] ) + llvm? ( + video_cards_radeonsi? ( + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + video_cards_r600? ( + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + video_cards_radeon? ( + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + ) + lm_sensors? ( sys-apps/lm_sensors:=[${MULTILIB_USEDEP}] ) + opencl? ( + app-eselect/eselect-opencl + dev-libs/libclc + virtual/libelf:0=[${MULTILIB_USEDEP}] + ) + openmax? ( + >=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}] + x11-misc/xdg-utils + ) + vaapi? ( + >=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}] + video_cards_nouveau? ( !<=x11-libs/libva-vdpau-driver-0.7.4-r3 ) + ) + vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] ) + xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] ) + ) + wayland? ( + >=dev-libs/wayland-1.15.0:=[${MULTILIB_USEDEP}] + >=dev-libs/wayland-protocols-1.8 + ) + ${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vc4?,video_cards_vivante?,video_cards_vmware?,${MULTILIB_USEDEP}] + + video_cards_intel? ( + !video_cards_i965? ( ${LIBDRM_DEPSTRING}[video_cards_intel] ) + ) + video_cards_i915? ( ${LIBDRM_DEPSTRING}[video_cards_intel] ) +" +for card in ${RADEON_CARDS}; do + RDEPEND="${RDEPEND} + video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] ) + " +done +RDEPEND="${RDEPEND} + video_cards_radeonsi? ( ${LIBDRM_DEPSTRING}[video_cards_amdgpu] ) +" + +# Please keep the LLVM dependency block separate. Since LLVM is slotted, +# we need to *really* make sure we're not pulling one than more slot +# simultaneously. +# +# How to use it: +# 1. List all the working slots (with min versions) in ||, newest first. +# 2. Update the := to specify *max* version, e.g. < 7. +# 3. Specify LLVM_MAX_SLOT, e.g. 6. +LLVM_MAX_SLOT="7" +LLVM_DEPSTR=" + || ( + sys-devel/llvm:7[${MULTILIB_USEDEP}] + sys-devel/llvm:6[${MULTILIB_USEDEP}] + sys-devel/llvm:5[${MULTILIB_USEDEP}] + sys-devel/llvm:4[${MULTILIB_USEDEP}] + >=sys-devel/llvm-3.9.0:0[${MULTILIB_USEDEP}] + ) + sys-devel/llvm:=[${MULTILIB_USEDEP}] +" +LLVM_DEPSTR_AMDGPU=${LLVM_DEPSTR//]/,llvm_targets_AMDGPU(-)]} +CLANG_DEPSTR=${LLVM_DEPSTR//llvm/clang} +CLANG_DEPSTR_AMDGPU=${CLANG_DEPSTR//]/,llvm_targets_AMDGPU(-)]} +RDEPEND="${RDEPEND} + llvm? ( + opencl? ( + video_cards_r600? ( + ${CLANG_DEPSTR_AMDGPU} + ) + !video_cards_r600? ( + video_cards_radeonsi? ( + ${CLANG_DEPSTR_AMDGPU} + ) + ) + !video_cards_r600? ( + !video_cards_radeonsi? ( + video_cards_radeon? ( + ${CLANG_DEPSTR_AMDGPU} + ) + ) + ) + !video_cards_r600? ( + !video_cards_radeon? ( + !video_cards_radeonsi? ( + ${CLANG_DEPSTR} + ) + ) + ) + ) + !opencl? ( + video_cards_r600? ( + ${LLVM_DEPSTR_AMDGPU} + ) + !video_cards_r600? ( + video_cards_radeonsi? ( + ${LLVM_DEPSTR_AMDGPU} + ) + ) + !video_cards_r600? ( + !video_cards_radeonsi? ( + video_cards_radeon? ( + ${LLVM_DEPSTR_AMDGPU} + ) + ) + ) + !video_cards_r600? ( + !video_cards_radeon? ( + !video_cards_radeonsi? ( + ${LLVM_DEPSTR} + ) + ) + ) + ) + ) +" +unset {LLVM,CLANG}_DEPSTR{,_AMDGPU} + +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + opencl? ( + >=sys-devel/gcc-4.6 + ) + sys-devel/bison + sys-devel/flex + sys-devel/gettext + virtual/pkgconfig + valgrind? ( dev-util/valgrind ) + x11-base/xorg-proto + $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]") +" + +S="${WORKDIR}/${MY_P}" +EGIT_CHECKOUT_DIR=${S} + +QA_WX_LOAD=" +x86? ( + !pic? ( + usr/lib*/libglapi.so.0.0.0 + usr/lib*/libGLESv1_CM.so.1.0.0 + usr/lib*/libGLESv2.so.2.0.0 + usr/lib*/libGL.so.1.2.0 + usr/lib*/libOSMesa.so.8.0.0 + ) +)" + +llvm_check_deps() { + local flags=${MULTILIB_USEDEP} + if use video_cards_r600 || use video_cards_radeon || use video_cards_radeonsi + then + flags+=",llvm_targets_AMDGPU(-)" + fi + + if use opencl; then + has_version "sys-devel/clang[${flags}]" || return 1 + fi + has_version "sys-devel/llvm[${flags}]" +} + +pkg_setup() { + # warning message for bug 459306 + if use llvm && has_version sys-devel/llvm[!debug=]; then + ewarn "Mismatch between debug USE flags in media-libs/mesa and sys-devel/llvm" + ewarn "detected! This can cause problems. For details, see bug 459306." + fi + + if use llvm; then + llvm_pkg_setup + fi + python-any-r1_pkg_setup +} + +multilib_src_configure() { + local emesonargs=() + + if use classic; then + # Intel code + dri_driver_enable video_cards_i915 i915 + dri_driver_enable video_cards_i965 i965 + if ! use video_cards_i915 && \ + ! use video_cards_i965; then + dri_driver_enable video_cards_intel i915 i965 + fi + + # Nouveau code + dri_driver_enable video_cards_nouveau nouveau + + # ATI code + dri_driver_enable video_cards_r100 r100 + dri_driver_enable video_cards_r200 r200 + if ! use video_cards_r100 && \ + ! use video_cards_r200; then + dri_driver_enable video_cards_radeon r100 r200 + fi + fi + + if use egl; then + emesonargs+=( -Dplatforms=x11,surfaceless$(use wayland && echo ",wayland")$(use gbm && echo ",drm") ) + fi + + if use gallium; then + emesonargs+=( + $(meson_use d3d9 gallium-nine) + $(meson_use llvm) + -Dgallium-omx=$(usex openmax bellagio disabled) + $(meson_use vaapi gallium-va) + $(meson_use vdpau gallium-vdpau) + $(meson_use xa gallium-xa) + $(meson_use xvmc gallium-xvmc) + ) + use vaapi && emesonargs+=( -Dva-libs-path=/usr/$(get_libdir)/va/drivers ) + + gallium_enable video_cards_vc4 vc4 + gallium_enable video_cards_vivante etnaviv + gallium_enable video_cards_vmware svga + gallium_enable video_cards_nouveau nouveau + gallium_enable video_cards_i915 i915 + gallium_enable video_cards_imx imx + if ! use video_cards_i915 && \ + ! use video_cards_i965; then + gallium_enable video_cards_intel i915 + fi + + gallium_enable video_cards_r300 r300 + gallium_enable video_cards_r600 r600 + gallium_enable video_cards_radeonsi radeonsi + if ! use video_cards_r300 && \ + ! use video_cards_r600; then + gallium_enable video_cards_radeon r300 r600 + fi + + gallium_enable video_cards_freedreno freedreno + # opencl stuff + if use opencl; then + emesonargs+=( + -Dgallium-opencl="$(usex opencl standalone disabled)" + ) + fi + + gallium_enable video_cards_virgl virgl + fi + + if use vulkan; then + vulkan_enable video_cards_i965 intel + vulkan_enable video_cards_radeonsi amd + fi + + # x86 hardened pax_kernel needs glx-rts, bug 240956 + if [[ ${ABI} == x86 ]]; then + emesonargs+=( $(meson_use pax_kernel glx-read-only-text) ) + fi + + # on abi_x86_32 hardened we need to have asm disable + if [[ ${ABI} == x86* ]] && use pic; then + emesonargs+=( -Dasm=false ) + fi + + if use gallium; then + gallium_enable -- swrast + emesonargs+=( -Dosmesa=$(usex osmesa gallium none) ) + else + dri_driver_enable -- swrast + emesonargs+=( -Dosmesa=$(usex osmesa classic none) ) + fi + + driver_list() { + local drivers="$(sort -u <<< "${1// /$'\n'}")" + echo "${drivers//$'\n'/,}" + } + + emesonargs+=( + $(meson_use test build-tests) + -Dglx=dri + -Dshared-glapi=true + $(meson_use dri3) + $(meson_use egl) + $(meson_use gbm) + $(meson_use gles1) + $(meson_use gles2) + $(meson_use selinux) + $(meson_use unwind libunwind) + $(meson_use lm_sensors lmsensors) + -Dvalgrind=$(usex valgrind auto false) + -Ddri-drivers=$(driver_list "${DRI_DRIVERS[*]}") + -Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}") + -Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}") + --buildtype $(usex debug debug plain) + ) + meson_src_configure +} + +multilib_src_compile() { + meson_src_compile +} + +multilib_src_install() { + meson_src_install + + if use opencl; then + ebegin "Moving Gallium/Clover OpenCL implementation for dynamic switching" + local cl_dir="/usr/$(get_libdir)/OpenCL/vendors/mesa" + dodir ${cl_dir}/{lib,include} + if [ -f "${ED}/usr/$(get_libdir)/libOpenCL.so" ]; then + mv -f "${ED}"/usr/$(get_libdir)/libOpenCL.so* \ + "${ED}"${cl_dir} + fi + if [ -f "${ED}/usr/include/CL/opencl.h" ]; then + mv -f "${ED}"/usr/include/CL \ + "${ED}"${cl_dir}/include + fi + eend $? + fi + + if use openmax; then + echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share/mesa/xdg\"" > "${T}/99mesaxdgomx" + doenvd "${T}"/99mesaxdgomx + keepdir /usr/share/mesa/xdg + fi +} + +multilib_src_install_all() { + einstalldocs +} + +multilib_src_test() { + meson_src_test +} + +pkg_postinst() { + # Switch to the xorg implementation. + echo + eselect opengl set --use-old ${OPENGL_DIR} + + # Switch to mesa opencl + if use opencl; then + eselect opencl set --use-old ${PN} + fi + + # run omxregister-bellagio to make the OpenMAX drivers known system-wide + if use openmax; then + ebegin "Registering OpenMAX drivers" + BELLAGIO_SEARCH_PATH="${EPREFIX}/usr/$(get_libdir)/libomxil-bellagio0" \ + OMX_BELLAGIO_REGISTRY=${EPREFIX}/usr/share/mesa/xdg/.omxregister \ + omxregister-bellagio + eend $? + fi +} + +pkg_prerm() { + if use openmax; then + rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister + fi +} + +# $1 - VIDEO_CARDS flag (check skipped for "--") +# other args - names of DRI drivers to enable +dri_driver_enable() { + if [[ $1 == -- ]] || use $1; then + shift + DRI_DRIVERS+=("$@") + fi +} + +gallium_enable() { + if [[ $1 == -- ]] || use $1; then + shift + GALLIUM_DRIVERS+=("$@") + fi +} + +vulkan_enable() { + if [[ $1 == -- ]] || use $1; then + shift + VULKAN_DRIVERS+=("$@") + fi +} diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index 1a11d453698e..48cf2cd6807d 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -72,7 +72,7 @@ REQUIRED_USE=" video_cards_vmware? ( gallium ) " -LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.91" +LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.93" RDEPEND=" !app-eselect/eselect-mesa >=app-eselect/eselect-opengl-1.3.0 @@ -145,6 +145,7 @@ RDEPEND="${RDEPEND} # 3. Specify LLVM_MAX_SLOT, e.g. 6. LLVM_DEPSTR=" || ( + sys-devel/llvm:8[${MULTILIB_USEDEP}] sys-devel/llvm:7[${MULTILIB_USEDEP}] sys-devel/llvm:6[${MULTILIB_USEDEP}] sys-devel/llvm:5[${MULTILIB_USEDEP}] diff --git a/media-libs/mlt/Manifest b/media-libs/mlt/Manifest index 300f13af937f..0333ed4cf684 100644 --- a/media-libs/mlt/Manifest +++ b/media-libs/mlt/Manifest @@ -1,3 +1,4 @@ +AUX mlt-6.10.0-swig-underlinking.patch 596 BLAKE2B b51670d051ae2bd016da65f560ed861518845d11e46aa5b4971a68f196452b86af3e00cb9af02bf23b32028731eb5352214aa63a047ebe12386c9f749df1236c SHA512 95cf9339b88979eb19cda3698474fc386c0c2d01333435e95b5a7662dbc5c359f5c78e05a0d78836023191c07a97e0dbf20c354e10cf6d1ad59d64fa9a203160 AUX mlt-6.2.0-ruby-link.patch 689 BLAKE2B c28f6d337b2c272bd6e51e06ae53b01a5de6c8486cf3d774edbf5afc2c45b667fdccb971595b101a8d910aa5fa9e82aecb18a43c3653cce3b6076fd99a8b8034 SHA512 54b468fdba4cc9fd92a06e31d7b59e602c4c8541f6d227a56b8a028e7be8f580541838ce5d8e5d9b841a0ff8ab56ab96a40990c9e86e15952da51ae4ce825b15 AUX mlt-6.4.1-glibc226-1.patch 1224 BLAKE2B 61205dd879fefe2b673b67637969981c4334de1bc0d4129dcfdb13dd47c4b4e70d47234fbed3eb727b3ab3f32471f39e37844a745224bbf16720c08877c1b1ff SHA512 d2113579e75061dbd9f873828ef115a6da3f39300dda9b02573792b1e18b0ef662b4cce58f9d6f7c1fecedbdf7fe8d74deb34cdcb90a9bf64fd1c08a89f15810 AUX mlt-6.4.1-glibc226-2.patch 732 BLAKE2B d5fe9842f7df2896d454abebee946b985d9b11e4a9179850d21ee827741cd4765d505cb60f6c479a325adb5b1d91f61766a4e4cc5b3a8450ebd0cf5b0473b764 SHA512 3a696bb3ffbc8940b39fecf3dbee21d938a417fdd28aaf59d17b184a941bf2b45bbfde40f9b84e358517cee5db2da47e19f69488ca518a255267241c8dca7db3 @@ -12,8 +13,10 @@ AUX mlt-6.6.0-libav-2.patch 1175 BLAKE2B 57753322de41f78d28178eb2bbcc5b5faca6a54 AUX mlt-6.6.0-libav-3.patch 1072 BLAKE2B 64d37848454714431df843327f35cafd643036e796d2045986db98f0602078b0291191c618b6be34d9a3286809af7e2a7d88cbb5d2e46f975185f729aa1bb977 SHA512 cd02085fbdd4d5a1ea78d1cda286207fdb0d9487c6db9fed8a2ee87f352e660b8ebd32593613ee8d9d93bc690a6f7d97b31fe840e921fae95f36c1898435d6c7 AUX mlt-6.6.0-png-segfault.patch 1606 BLAKE2B 9ca96cf4477e84bcb903b64019437ce730a4619db8e04e99828dc793c67982adde32aa5d17962e6f8db48981e34eecfdb4bf9d9d469b58349b8a25865a574751 SHA512 44251f87e0d288fc9b05577f41a5c75e26813a2d95d6133a9b541825b5a73c272d1209bb678686ca84388664a22e0da2d7e3fb44507ae15c71924dbae498dc74 AUX mlt-6.6.0-vorbis-ffmpeg-3.4.patch 1297 BLAKE2B 65b39a7ecfd4d26b3a18b044b95c2fe3e2c31298e681de4411935ee1dc8e261a8a8a3fc8ae11e3138e500dd50f1d8a97c97fb336b3d0d2d15a69f4336d09dee1 SHA512 f5a07939811b91c9490b16923aac72c172b1fb789b8c3b0e628b77cebf063d310487c39da0f47ea2d26cdba0b91fda4a7bfe2399862353fe0350b624970641ff +DIST mlt-6.10.0.tar.gz 1384632 BLAKE2B 4bbcf95409df1ea1828d2b34e6d6663cf83f5672641034f775d029037505051c5490c46c69e104811aaf776794be2df95913d094319f4a2dbba0c42117abe15e SHA512 6f374f20f1dc851792c1075537cf7e977038fb557b2bd5d5816c1fc69d471947c8469c914cf662766f3b503ae819881bf2b4e1673e0f7a84309e0fb671a9de1b DIST mlt-6.4.1.tar.gz 1344030 BLAKE2B 835561eac31a44d292c5915567338eb43110b3474778327af282403b43e3e89eaec407e5920f81a774c03968b4c08a496b0ef6c3e6d0970c17353613e7f4d051 SHA512 b082274e2184a0496f496517ddbcae33bab44cd1f50c1708942b7a24e5861ba97cae9fa21ec41ea21d662cbf56e2e2e66caa707a100077ef6e13aa7140f7a9fb DIST mlt-6.6.0.tar.gz 1365768 BLAKE2B e2e6919d603560dac3d809740a3be2989a3b52a4e933fa67927c5c26796a5c9b35da1aedb54caa4c87133dc682d5f41455900594ebdfd6ec1516ff02d477d58f SHA512 06e553d2deb36deddd9e0f2269ee0529bf768e73d2160ee16a4cd36ed3fba5be145165f0b21278623afece046351264269509ff05f24fbbb2f163be1f4d48845 +EBUILD mlt-6.10.0.ebuild 5526 BLAKE2B 8e9e5d9fa8835dd738e40c1e47beee89a31d8cf6c6b1cec9666d699ba9ba0f315b892be0a0804898b7fb4c04f2bc243b92c4d94047cb55afd949b456f2fe0cdf SHA512 b33b82d64e950f10a28bade8f1ac6b1553c8e4a4524f6cff1c3617028dc59d48c60aa971346a812976274aaa985db6d5a4c6d9ebd68f1d61940ea363239bea19 EBUILD mlt-6.4.1-r6.ebuild 5685 BLAKE2B 9785e64a795bfa740e4e70b4c4941b2be9ef3ceeb936c112137e137c19e814cbca10b168498e1da4e5e63010589c98f21c0cc06d23a60870fd645d0229679293 SHA512 f77ba0383dc88fb9f5d473fee589995a8b8a77d433b691e54e165c3785adcdc0d8dc2c6af34f7eb4e17d866769cf85e1e3f8066acacf27d3b70460ec382d19d3 EBUILD mlt-6.6.0-r1.ebuild 5960 BLAKE2B 1fd26d86d6107d2b0231615c677922184390fa8cee8ebcad80eea72ca9cdcebbcf60442716a2e8e958638fe0b19ba12e7a7d4e69e0af4712baa3c1eca1d22678 SHA512 46eaad177bc728cde05985ddb93780a33d941fe32d4d40c99383490843a9b56ff9521ed6f92ba575654da147ab3e592563d7227186ad83e4c7843afb1785c99d MISC metadata.xml 1571 BLAKE2B d048070896ee31a768268cef47e8b051d24a7a48a0728a82045f8a1cccc361378945cb6d84dadb31a7c664e5f57fe15dde85e08fc579fe8f839ce5c3e64e75cc SHA512 6dbfe8206f62d5c8801e2f3a71ab409a3f3072f600d6fc935b1dbb0cc4cb67f3a0ed221a3c6a76977b3fbea60c7fb7bbf2047e55ef5a7a5aacc8bf60252fcc01 diff --git a/media-libs/mlt/files/mlt-6.10.0-swig-underlinking.patch b/media-libs/mlt/files/mlt-6.10.0-swig-underlinking.patch new file mode 100644 index 000000000000..e84e98c15762 --- /dev/null +++ b/media-libs/mlt/files/mlt-6.10.0-swig-underlinking.patch @@ -0,0 +1,12 @@ +diff --git a/src/swig/ruby/build b/src/swig/ruby/build +index 2d0cc0d..1a8aee7 100755 +--- a/src/swig/ruby/build ++++ b/src/swig/ruby/build +@@ -8,6 +8,6 @@ system( "ln -sf ../mlt.i" ) + system( "swig -c++ -ruby -I../../mlt++ -I../.. mlt.i" ) + $CFLAGS = $CFLAGS.to_s + " -I../.. " + (ENV.has_key?('CXXFLAGS')? ENV['CXXFLAGS'] : '') + $CXXFLAGS = $CXXFLAGS.to_s + " -I../.. " + (ENV.has_key?('CXXFLAGS')? ENV['CXXFLAGS'] : '') +-$LDFLAGS = $LDFLAGS.to_s + " -L../../mlt++ -lmlt++" ++$LDFLAGS = $LDFLAGS.to_s + " -L../../mlt++ -lmlt++ -L../../framework -lmlt" + create_makefile('mlt') + system( "make V=1" ) diff --git a/media-libs/mlt/mlt-6.10.0.ebuild b/media-libs/mlt/mlt-6.10.0.ebuild new file mode 100644 index 000000000000..0e420e800149 --- /dev/null +++ b/media-libs/mlt/mlt-6.10.0.ebuild @@ -0,0 +1,220 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +# this ebuild currently only supports installing ruby bindings for a single ruby version +# so USE_RUBY must contain only a single value (the latest stable) as the ebuild calls +# /usr/bin/${USE_RUBY} directly +USE_RUBY="ruby23" +inherit flag-o-matic python-single-r1 ruby-single toolchain-funcs + +DESCRIPTION="Open source multimedia framework for television broadcasting" +HOMEPAGE="https://www.mltframework.org/" +SRC_URI="https://github.com/mltframework/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="compressed-lumas cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 debug ffmpeg fftw frei0r +gtk jack kdenlive libav libsamplerate lua melt opencv opengl python qt5 rtaudio ruby sdl vdpau xine xml" +# java perl php tcl vidstab +IUSE="${IUSE} kernel_linux" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +#rtaudio will use OSS on non linux OSes +COMMON_DEPEND=" + >=media-libs/libebur128-1.2.2 + ffmpeg? ( + libav? ( >=media-video/libav-12:0=[vdpau?] ) + !libav? ( media-video/ffmpeg:0=[vdpau?] ) + ) + fftw? ( sci-libs/fftw:3.0= ) + frei0r? ( media-plugins/frei0r-plugins ) + gtk? ( + media-libs/libexif + x11-libs/gtk+:2 + x11-libs/pango + ) + jack? ( + >=dev-libs/libxml2-2.5 + media-libs/ladspa-sdk + virtual/jack + ) + libsamplerate? ( >=media-libs/libsamplerate-0.1.2 ) + lua? ( >=dev-lang/lua-5.1.4-r4:= ) + opencv? ( >=media-libs/opencv-3.2.0:= ) + opengl? ( 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 ) + ) + ruby? ( ${RUBY_DEPS} ) + sdl? ( + media-libs/libsdl2[X,opengl,video] + media-libs/sdl2-image + ) + xine? ( >=media-libs/xine-lib-1.1.2_pre20060328-r7 ) + xml? ( >=dev-libs/libxml2-2.5 )" +# java? ( >=virtual/jre-1.5 ) +# perl? ( dev-lang/perl ) +# php? ( dev-lang/php ) +# sox? ( media-sound/sox ) +# tcl? ( dev-lang/tcl:0= ) +# vidstab? ( media-libs/libvidstab ) +SWIG_DEPEND=">=dev-lang/swig-2.0" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + compressed-lumas? ( virtual/imagemagick-tools[png] ) + lua? ( ${SWIG_DEPEND} virtual/pkgconfig ) + python? ( ${SWIG_DEPEND} ) + ruby? ( ${SWIG_DEPEND} )" +# java? ( ${SWIG_DEPEND} >=virtual/jdk-1.5 ) +# perl? ( ${SWIG_DEPEND} ) +# php? ( ${SWIG_DEPEND} ) +# tcl? ( ${SWIG_DEPEND} ) +RDEPEND="${COMMON_DEPEND} + !media-libs/mlt++ +" + +DOCS=( AUTHORS ChangeLog NEWS README docs/{framework,melt,mlt{++,-xml}}.txt ) + +PATCHES=( "${FILESDIR}"/${P}-swig-underlinking.patch ) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + # respect CFLAGS LDFLAGS when building shared libraries. Bug #308873 + for x in python lua; do + sed -i "/mlt.so/s: -lmlt++ :& ${CFLAGS} ${LDFLAGS} :" src/swig/$x/build || die + done + sed -i "/^LDFLAGS/s: += :& ${LDFLAGS} :" src/swig/ruby/build || die + + sed -i -e "s/env ruby/${USE_RUBY}/" src/swig/ruby/* || die +} + +src_configure() { + tc-export CC CXX + + # bug 589848 + append-cxxflags -std=c++11 + + local myconf=( + --enable-gpl + --enable-gpl3 + --enable-motion-est + --target-arch=$(tc-arch) + --disable-kde + --disable-sdl + --disable-swfdec + $(use_enable debug) + $(use compressed-lumas && echo ' --luma-compress') + $(use_enable cpu_flags_x86_sse sse) + $(use_enable cpu_flags_x86_sse2 sse2) + $(use_enable gtk gtk2) + $(use_enable jack jackrack) + $(use_enable ffmpeg avformat) + $(use ffmpeg && echo ' --avformat-swscale') + $(use_enable fftw plus) + $(use_enable frei0r) + $(use_enable melt) + $(use_enable opencv) + $(use_enable opengl) + $(use_enable libsamplerate resample) + $(use_enable rtaudio) + $(use vdpau && echo ' --avformat-vdpau') + $(use_enable sdl sdl2) + $(use_enable xml) + $(use_enable xine) + $(use_enable kdenlive) + --disable-sox + ) + #$(use_enable sox) FIXME + + if use qt5 ; then + myconf+=( + --enable-qt + --qt-includedir=$(pkg-config Qt5Core --variable=includedir) + --qt-libdir=$(pkg-config Qt5Core --variable=libdir) + ) + else + myconf+=( --disable-qt ) + fi + + if use x86 || use amd64 ; then + myconf+=( $(use_enable cpu_flags_x86_mmx mmx) ) + else + myconf+=( --disable-mmx ) + fi + + if ! use melt; then + sed -i -e "s;src/melt;;" Makefile || die + fi + + # TODO: add swig language bindings + # see also https://www.mltframework.org/twiki/bin/view/MLT/ExtremeMakeover + + local swig_lang + # TODO: java perl php tcl + for i in lua python ruby ; do + use $i && swig_lang="${swig_lang} $i" + done + [[ -z "${swig_lang}" ]] && swig_lang="none" + + econf ${myconf[@]} --swig-languages="${swig_lang}" + + sed -i -e s/^OPT/#OPT/ "${S}/config.mak" || die +} + +src_install() { + emake DESTDIR="${D}" install + einstalldocs + + dodir /usr/share/${PN} + insinto /usr/share/${PN} + doins -r demo + + docinto swig + + # Install SWIG bindings + if use lua; then + cd "${S}"/src/swig/lua || die + exeinto $(pkg-config --variable INSTALL_CMOD lua) + doexe mlt.so + dodoc play.lua + fi + + if use python; then + cd "${S}"/src/swig/python || die + insinto $(python_get_sitedir) + doins mlt.py + exeinto $(python_get_sitedir) + doexe _mlt.so + dodoc play.py + python_optimize + fi + + if use ruby; then + cd "${S}"/src/swig/ruby || die + exeinto $("${EPREFIX}"/usr/bin/${USE_RUBY} -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]') + doexe mlt.so + dodoc play.rb thumbs.rb + fi + # TODO: java perl php tcl +} diff --git a/media-libs/soxr/Manifest b/media-libs/soxr/Manifest index 57c9e628ede6..71023b69059e 100644 --- a/media-libs/soxr/Manifest +++ b/media-libs/soxr/Manifest @@ -1,8 +1,5 @@ -AUX noexamples.patch 461 BLAKE2B fa6af0160a20bf7c243c22a10a69a0437b1e1c2247dd59eb30af26ea9531203f998864c3284f782d41464a787571b55cc02ae57f6348e192c99afd35a62cf7bf SHA512 2e04e90341fadfe17c72bc9eaae98088afb72b424bde7631a41d6fcf007c11bcf2e8f6a147e5a763977d0adf3f7118d0d39b53007cd15f3991c1a4bb8dac8aec AUX soxr-0.1.1-nodoc.patch 480 BLAKE2B e7e31df74004b58e584964eed26acb18717faa912fa5eae84d03a62f40d2260e039595c33518ff6fdcf2c5db7fe0bc7f73680bc64418e387ff30f2488d0ebae1 SHA512 6c585eacc6919bfe6f158f1ab45fe5dd0b3a0b3f534ff5d2f5e07e3e8e505a7c7da3bb16d2d4b6dc2f0a361190bd21639f74ae09abd3e0209b33ae2174726017 AUX soxr-0.1.3-fix-pkgconfig.patch 595 BLAKE2B f35e4c8ca382db0d05b9c50c3a02c568befc1dbf671fb503c610f2b4fa05dd7361d6b8184aeb4be050d224bc534e87ae760130e1e3ce1c36e6042ff4208411fe SHA512 45206a00747d387e4bec62edf93e9fa19b04096240f567773070b7c87667713ca7bcfea2e2df665f128b6b4d4c53fdb87571bdf018e2066ff6e6acf39870b762 -DIST soxr-0.1.2-Source.tar.xz 83760 BLAKE2B b54e31599a3eb94902af21749ba92c79ea4edf9a82de5c83581c7968182c22a80c86fbcd7f0bbd823b45adbd52570a7b4accf6bc75df31bb0a76b2b4e4703572 SHA512 ee902c1bc713e05b748f917d78222b68b5fe01d43f405e0954c21ce4d1ee494d01000caa79f696cb8d202c662a4c4d958b332dae034d6f929e0480abf27cd07c DIST soxr-0.1.3-Source.tar.xz 94384 BLAKE2B 5b7078f71404b9ef83917dcabc0c99cf17fd625d3e033d1b934382a7b60e55e359931a6ab53f8adaf955c0d811d6cbf231cd6a226549560b3506a3867e845607 SHA512 f4883ed298d5650399283238aac3dbe78d605b988246bea51fa343d4a8ce5ce97c6e143f6c3f50a3ff81795d9c19e7a07217c586d4020f6ced102aceac46aaa8 -EBUILD soxr-0.1.2.ebuild 749 BLAKE2B bb4a3e59a1e2d27bc8c000935c26c0831671cdccf57749678dd796ec497ff06c239ee7579acf967eb2e42390ab53a3cbfe84c9895dd928ce3e5a583e29a24cbb SHA512 42a99bebd16b0ff3b0f25c3fc26a80b1079c0b38c106fe1bf3b6e12d53e9fbaabe83e40308d2430e7c416fd2807b4700a19ea161d5b511828d5a6511b5438bb8 -EBUILD soxr-0.1.3-r1.ebuild 1089 BLAKE2B da4b98433c0724fd2a67d61fb8f1757e9032dcc3bf523edefd74c62e8ba980e844e738d6a5086f416f5accb690ff82a9a2a6cd3c831888ecbf0011cfa26af5eb SHA512 7072beb644cd9aa846d3660ea13a6f24944389aa73c4aa08ff527b0cdee48230cc5b0298fdf691fd9f8be759ca16346435db211248724b10c49bebb2213671cb +EBUILD soxr-0.1.3-r1.ebuild 1088 BLAKE2B ad291b12e05e0ecabe8e4a08c75a9298041e5ace2224cc4defcd61ec4c22244ef756cf9f51bd6c64427b392a8bed9d7d093ce8caadb528be1bb7b2e1073d9be1 SHA512 a090569986b82be12771a9eb2e1e876afba5557d4849d174facdb0b3742a62352061d039086f90e2b8f13ccd3731d74bdcfe35ffbad45e117a5df92cb203e96e MISC metadata.xml 337 BLAKE2B 9b011942361de08f2263ad43a16d18bc8940e539b045a4907ced6c93dce455450bd754bce933ad33591b001dab99c253c781b26ffc26f0972425f75837186f7b SHA512 7f028b48874ab0d30aadbf0370e3ef5b555785aa4e7ab1bd1755ec2cb5c33d3e99e83ed166d011a94773b3c50b0e5a5403b42ed6d9d0c51ff7f7f2ddf48d064e diff --git a/media-libs/soxr/files/noexamples.patch b/media-libs/soxr/files/noexamples.patch deleted file mode 100644 index c66c0b1e5b19..000000000000 --- a/media-libs/soxr/files/noexamples.patch +++ /dev/null @@ -1,9 +0,0 @@ -Index: soxr-0.1.0-Source/examples/CMakeLists.txt -=================================================================== ---- soxr-0.1.0-Source.orig/examples/CMakeLists.txt -+++ soxr-0.1.0-Source/examples/CMakeLists.txt -@@ -34,4 +34,3 @@ if (${BUILD_TESTS} AND ${WITH_LSR_BINDIN - endif () - - file (GLOB INSTALL_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.[cCh]) --install (FILES ${INSTALL_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/README DESTINATION ${DOC_INSTALL_DIR}/examples) diff --git a/media-libs/soxr/soxr-0.1.2.ebuild b/media-libs/soxr/soxr-0.1.2.ebuild deleted file mode 100644 index 6f5f999947ac..000000000000 --- a/media-libs/soxr/soxr-0.1.2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit cmake-multilib - -MY_P=${P}-Source -DESCRIPTION="The SoX Resampler library" -HOMEPAGE="https://sourceforge.net/p/soxr/wiki/Home/" -SRC_URI="mirror://sourceforge/soxr/${MY_P}.tar.xz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd" -IUSE="examples" - -DEPEND="" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" -DOCS=( "README" "TODO" "NEWS" "AUTHORS" ) -PATCHES=( - "${FILESDIR}/${PN}-0.1.1-nodoc.patch" - "${FILESDIR}/noexamples.patch" -) - -src_install() { - cmake-multilib_src_install - if use examples ; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi -} diff --git a/media-libs/soxr/soxr-0.1.3-r1.ebuild b/media-libs/soxr/soxr-0.1.3-r1.ebuild index b4d15b8d7ef6..41f19e360231 100644 --- a/media-libs/soxr/soxr-0.1.3-r1.ebuild +++ b/media-libs/soxr/soxr-0.1.3-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/soxr/${MY_P}.tar.xz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ~ppc ppc64 sparc x86 ~amd64-fbsd" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd" IUSE="examples test" # CMakeLists.txt builds examples if either test or examples USE flag is enabled. |