From e3872864be25f7421015bef2732fa57c0c9fb726 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 4 Aug 2018 08:53:53 +0100 Subject: gentoo resync : 04.08.2018 --- media-libs/Manifest.gz | Bin 66603 -> 66769 bytes media-libs/adplug/Manifest | 4 +- media-libs/adplug/adplug-2.2.1.ebuild | 28 -- media-libs/adplug/adplug-2.3.1.ebuild | 2 +- media-libs/babl/Manifest | 2 + media-libs/babl/babl-0.1.54.ebuild | 57 +++ media-libs/bcg729/Manifest | 2 +- media-libs/bcg729/bcg729-1.0.4.ebuild | 2 +- media-libs/fontconfig/Manifest | 2 +- media-libs/fontconfig/fontconfig-2.13.0-r4.ebuild | 1 + media-libs/gegl/Manifest | 2 + media-libs/gegl/gegl-0.4.6.ebuild | 189 ++++++++ media-libs/graphene/Manifest | 3 + media-libs/graphene/graphene-1.8.2.ebuild | 60 +++ media-libs/graphene/metadata.xml | 11 + media-libs/grilo/Manifest | 2 + media-libs/grilo/grilo-0.3.6.ebuild | 89 ++++ media-libs/gst-plugins-bad/Manifest | 4 +- .../gst-plugins-bad-1.14.1-r1.ebuild | 2 +- .../gst-plugins-bad/gst-plugins-bad-1.14.2.ebuild | 90 ++++ media-libs/gst-plugins-base/Manifest | 5 +- .../gst-plugins-base-1.14.1.ebuild | 2 +- .../gst-plugins-base-1.14.2-r1.ebuild | 180 +++++++ .../gst-plugins-base-1.14.2.ebuild | 180 +++++++ media-libs/gst-plugins-good/Manifest | 5 +- .../files/1.14.1-fix-32bit-rtpstorage-test.patch | 112 +++++ .../gst-plugins-good-1.14.1.ebuild | 4 +- .../gst-plugins-good-1.14.2.ebuild | 50 ++ media-libs/gst-plugins-ugly/Manifest | 4 +- .../gst-plugins-ugly-1.14.1.ebuild | 2 +- .../gst-plugins-ugly-1.14.2.ebuild | 37 ++ media-libs/gst-rtsp-server/Manifest | 6 +- .../gst-rtsp-server/gst-rtsp-server-1.12.4.ebuild | 70 --- .../gst-rtsp-server/gst-rtsp-server-1.14.1.ebuild | 2 +- .../gst-rtsp-server/gst-rtsp-server-1.14.2.ebuild | 69 +++ media-libs/gstreamer-editing-services/Manifest | 6 +- .../gstreamer-editing-services-1.12.4.ebuild | 57 --- .../gstreamer-editing-services-1.14.1.ebuild | 2 +- .../gstreamer-editing-services-1.14.2.ebuild | 55 +++ media-libs/gstreamer/Manifest | 4 +- media-libs/gstreamer/gstreamer-1.14.1.ebuild | 2 +- media-libs/gstreamer/gstreamer-1.14.2.ebuild | 110 +++++ media-libs/harfbuzz/Manifest | 4 +- media-libs/harfbuzz/harfbuzz-1.8.3.ebuild | 109 ----- media-libs/harfbuzz/harfbuzz-1.8.5.ebuild | 109 +++++ media-libs/imlib2/Manifest | 9 +- media-libs/imlib2/imlib2-1.4.10.ebuild | 66 --- media-libs/imlib2/imlib2-1.4.9.ebuild | 66 --- media-libs/imlib2/imlib2-1.5.1-r1.ebuild | 75 +++ media-libs/imlib2/imlib2-1.5.1.ebuild | 2 +- media-libs/imlib2/metadata.xml | 47 +- media-libs/libaom/Manifest | 2 +- media-libs/libaom/libaom-1.0.0.ebuild | 2 +- media-libs/libepoxy/Manifest | 6 +- media-libs/libepoxy/libepoxy-1.5.1.ebuild | 3 +- media-libs/libepoxy/libepoxy-1.5.2.ebuild | 1 - media-libs/libepoxy/libepoxy-9999.ebuild | 1 - media-libs/libjpeg-turbo/Manifest | 5 +- .../files/libjpeg-turbo-1.5.90-divzero_fix.patch | 41 -- .../libjpeg-turbo/libjpeg-turbo-1.5.90-r1.ebuild | 101 ---- .../libjpeg-turbo/libjpeg-turbo-2.0.0.ebuild | 99 ++++ media-libs/libsdl2/Manifest | 2 +- media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild | 2 +- media-libs/libsixel/Manifest | 8 +- media-libs/libsixel/libsixel-1.7.3.ebuild | 49 -- media-libs/libsixel/libsixel-1.8.1.ebuild | 8 +- media-libs/libsixel/libsixel-1.8.2.ebuild | 49 ++ media-libs/libsixel/metadata.xml | 13 +- media-libs/libv4l/Manifest | 2 +- media-libs/libv4l/libv4l-1.10.1.ebuild | 4 +- media-libs/lilv/Manifest | 2 +- media-libs/lilv/lilv-0.24.2-r3.ebuild | 2 +- media-libs/lv2/Manifest | 2 +- media-libs/lv2/lv2-1.14.0-r1.ebuild | 2 +- media-libs/mesa/Manifest | 9 +- media-libs/mesa/mesa-18.1.1-r1.ebuild | 539 -------------------- media-libs/mesa/mesa-18.1.1.ebuild | 531 -------------------- media-libs/mesa/mesa-18.1.2.ebuild | 539 -------------------- media-libs/mesa/mesa-18.1.3.ebuild | 540 --------------------- media-libs/mesa/mesa-18.1.5.ebuild | 540 +++++++++++++++++++++ media-libs/mlt/Manifest | 9 +- media-libs/mlt/files/mlt-6.6.0-gif-encoding.patch | 33 ++ .../mlt/files/mlt-6.6.0-kdenlivetitle-crash.patch | 22 + media-libs/mlt/files/mlt-6.6.0-libav-1.patch | 39 ++ media-libs/mlt/files/mlt-6.6.0-libav-2.patch | 31 ++ media-libs/mlt/files/mlt-6.6.0-libav-3.patch | 23 + media-libs/mlt/files/mlt-6.6.0-png-segfault.patch | 36 ++ .../mlt/files/mlt-6.6.0-vorbis-ffmpeg-3.4.patch | 29 ++ media-libs/mlt/mlt-6.6.0-r1.ebuild | 238 +++++++++ media-libs/mlt/mlt-6.6.0.ebuild | 221 --------- media-libs/sdl-pango/Manifest | 2 +- media-libs/sdl-pango/sdl-pango-0.1.2-r1.ebuild | 2 +- media-libs/soxr/Manifest | 2 +- media-libs/soxr/soxr-0.1.3-r1.ebuild | 2 +- media-libs/sratom/Manifest | 2 +- media-libs/sratom/sratom-0.6.0-r1.ebuild | 2 +- media-libs/webrtc-audio-processing/Manifest | 6 +- .../webrtc-audio-processing-0.1-r1.ebuild | 20 - .../webrtc-audio-processing-0.2.ebuild | 26 - .../webrtc-audio-processing-0.3.1.ebuild | 34 ++ media-libs/woff2/Manifest | 2 +- media-libs/woff2/woff2-1.0.2-r1.ebuild | 28 ++ media-libs/woff2/woff2-1.0.2.ebuild | 28 -- 103 files changed, 2804 insertions(+), 3140 deletions(-) delete mode 100644 media-libs/adplug/adplug-2.2.1.ebuild create mode 100644 media-libs/babl/babl-0.1.54.ebuild create mode 100644 media-libs/gegl/gegl-0.4.6.ebuild create mode 100644 media-libs/graphene/Manifest create mode 100644 media-libs/graphene/graphene-1.8.2.ebuild create mode 100644 media-libs/graphene/metadata.xml create mode 100644 media-libs/grilo/grilo-0.3.6.ebuild create mode 100644 media-libs/gst-plugins-bad/gst-plugins-bad-1.14.2.ebuild create mode 100644 media-libs/gst-plugins-base/gst-plugins-base-1.14.2-r1.ebuild create mode 100644 media-libs/gst-plugins-base/gst-plugins-base-1.14.2.ebuild create mode 100644 media-libs/gst-plugins-good/files/1.14.1-fix-32bit-rtpstorage-test.patch create mode 100644 media-libs/gst-plugins-good/gst-plugins-good-1.14.2.ebuild create mode 100644 media-libs/gst-plugins-ugly/gst-plugins-ugly-1.14.2.ebuild delete mode 100644 media-libs/gst-rtsp-server/gst-rtsp-server-1.12.4.ebuild create mode 100644 media-libs/gst-rtsp-server/gst-rtsp-server-1.14.2.ebuild delete mode 100644 media-libs/gstreamer-editing-services/gstreamer-editing-services-1.12.4.ebuild create mode 100644 media-libs/gstreamer-editing-services/gstreamer-editing-services-1.14.2.ebuild create mode 100644 media-libs/gstreamer/gstreamer-1.14.2.ebuild delete mode 100644 media-libs/harfbuzz/harfbuzz-1.8.3.ebuild create mode 100644 media-libs/harfbuzz/harfbuzz-1.8.5.ebuild delete mode 100644 media-libs/imlib2/imlib2-1.4.10.ebuild delete mode 100644 media-libs/imlib2/imlib2-1.4.9.ebuild create mode 100644 media-libs/imlib2/imlib2-1.5.1-r1.ebuild delete mode 100644 media-libs/libjpeg-turbo/files/libjpeg-turbo-1.5.90-divzero_fix.patch delete mode 100644 media-libs/libjpeg-turbo/libjpeg-turbo-1.5.90-r1.ebuild create mode 100644 media-libs/libjpeg-turbo/libjpeg-turbo-2.0.0.ebuild delete mode 100644 media-libs/libsixel/libsixel-1.7.3.ebuild create mode 100644 media-libs/libsixel/libsixel-1.8.2.ebuild delete mode 100644 media-libs/mesa/mesa-18.1.1-r1.ebuild delete mode 100644 media-libs/mesa/mesa-18.1.1.ebuild delete mode 100644 media-libs/mesa/mesa-18.1.2.ebuild delete mode 100644 media-libs/mesa/mesa-18.1.3.ebuild create mode 100644 media-libs/mesa/mesa-18.1.5.ebuild create mode 100644 media-libs/mlt/files/mlt-6.6.0-gif-encoding.patch create mode 100644 media-libs/mlt/files/mlt-6.6.0-kdenlivetitle-crash.patch create mode 100644 media-libs/mlt/files/mlt-6.6.0-libav-1.patch create mode 100644 media-libs/mlt/files/mlt-6.6.0-libav-2.patch create mode 100644 media-libs/mlt/files/mlt-6.6.0-libav-3.patch create mode 100644 media-libs/mlt/files/mlt-6.6.0-png-segfault.patch create mode 100644 media-libs/mlt/files/mlt-6.6.0-vorbis-ffmpeg-3.4.patch create mode 100644 media-libs/mlt/mlt-6.6.0-r1.ebuild delete mode 100644 media-libs/mlt/mlt-6.6.0.ebuild delete mode 100644 media-libs/webrtc-audio-processing/webrtc-audio-processing-0.1-r1.ebuild delete mode 100644 media-libs/webrtc-audio-processing/webrtc-audio-processing-0.2.ebuild create mode 100644 media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild create mode 100644 media-libs/woff2/woff2-1.0.2-r1.ebuild delete mode 100644 media-libs/woff2/woff2-1.0.2.ebuild (limited to 'media-libs') diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz index 23c9abb22f1d..dd3591cc7041 100644 Binary files a/media-libs/Manifest.gz and b/media-libs/Manifest.gz differ diff --git a/media-libs/adplug/Manifest b/media-libs/adplug/Manifest index c717e529e08d..c9fe4bdb562f 100644 --- a/media-libs/adplug/Manifest +++ b/media-libs/adplug/Manifest @@ -1,6 +1,4 @@ -DIST adplug-2.2.1.tar.bz2 810257 BLAKE2B a51c85a10af6a1cc308a7ccfa657daab1e627800a0617f6cf8b874726a115bdef188dc3d82fb6af9fd2aadc2b28b12f0707ea12cb52f6656d2b8654849bad806 SHA512 e9b434ad58114a6677907e8f7007a325fa908f9228fbe283d72d1e2394fa27850b929309e038c84ae94f64f8db003b871775502ee8b231219caa51f6ba5d787f DIST adplug-2.3.1.tar.bz2 1478424 BLAKE2B 8c2b65d11d3b12b4a3337bc9c6ada2920b07279ac0199d4bdf1fa2ceec2f51748a1bb9357456b3e7aba7c906253691066b274e7a7c7578c777d1e2e77f5131f0 SHA512 324ce084ecf5b0d180b335ebcacd5ab80806a5c9fbdeed6ef7cbd6c2f2cb476d9d9f38f596b7d6100e3d6cab42294300559200297b4b3f34190c1f516454c8c3 -EBUILD adplug-2.2.1.ebuild 624 BLAKE2B e762d87d6b15d6dc6e6c2367db8e8b1af9c504755e2be3a547129b3a21dc64b672a16ad1b5e7d5726a87a389e831a732f331279b1141c8f195311347b55fc5a6 SHA512 eaba3f130aa0a6174d2aadbbb65228beafd1ab86d6c7b08a275c33635bb86437ca3e8002e2ab26e82f06683a137a7c57d2e9ac6b7c8b80b6249776d3c4b9a090 -EBUILD adplug-2.3.1.ebuild 886 BLAKE2B 06f4e9e367fd4e51315640ecb0d337497d8494a41363251402fc9bd538c61e0a07397c1959c21c7c8e225a21970ae7ddc09cd17e10b0b291c9a4193faf55216f SHA512 4e778d118728f0584b430217c3f2377d4d989a7b7ea105c5e24bffa2ab9d844f857c5ca5d7fbe0db3ba4e07623ba7e60518d4636e3a93856727a2a8b19de87b0 +EBUILD adplug-2.3.1.ebuild 885 BLAKE2B b31696ecd7110ca1a322db7419a3cf4be0638bfb18a628d630246e50f57a02b97deff4523b5aba197489db67060f6d9e5381f1aa385a94edce46134defb011be SHA512 8fc34af02bf28077d90a9f48fd29dfeffa5610ef4dacb82bc03cb3d9f731d0bcb66e26cef8fd4b8602a54819caa6dd51cf58e03d59324a7be54944dbd5e9c6d3 EBUILD adplug-9999.ebuild 883 BLAKE2B 3bccf749902021fb68b2654130fbe07f3c1854c7c1a319188224b711d1f84379e12c986adb22e772bed116f7fdf6b0a1065e4f1345c8e01d74ca29949bd2d842 SHA512 86f74c66bf96edd1667f6ffcbcb30e831fede37df986fe6b0a8ba5f760f65fbd1952255b1853383d4f3a1bdd4173897617af5862792464880dc7a9186ca9f358 MISC metadata.xml 329 BLAKE2B 27c4b8b5676c1d5f9b3c2d38b397d2edf65dd28fbdca6ea12feb61870a6758f1cd27ab50670674bcb5561f6a70515596b170600dcdf592897edb35153a12142a SHA512 a865c199afa30a18b4b810b4bdd981dfd77fd5843740a43dffc59c10b2e151c66a8e39d73bea04024f544e83f24400ae10aedc9ae3e93db9a67694adf886a073 diff --git a/media-libs/adplug/adplug-2.2.1.ebuild b/media-libs/adplug/adplug-2.2.1.ebuild deleted file mode 100644 index ab8068472a1a..000000000000 --- a/media-libs/adplug/adplug-2.2.1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="A free, cross-platform, hardware independent AdLib sound player library" -HOMEPAGE="http://adplug.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ppc ppc64 x86" -IUSE="debug static-libs" - -RDEPEND=">=dev-cpp/libbinio-1.4" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_configure() { - econf \ - $(use_enable static-libs static) \ - $(use_enable debug) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} diff --git a/media-libs/adplug/adplug-2.3.1.ebuild b/media-libs/adplug/adplug-2.3.1.ebuild index 6cd391f3d98c..9c558b46964f 100644 --- a/media-libs/adplug/adplug-2.3.1.ebuild +++ b/media-libs/adplug/adplug-2.3.1.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://github.com/adplug/adplug.git" else SRC_URI="https://github.com/adplug/${PN}/releases/download/${P}/${P}.tar.bz2" - KEYWORDS="alpha amd64 ~arm ~hppa ~ppc ~ppc64 x86" + KEYWORDS="alpha amd64 arm ~hppa ~ppc ~ppc64 x86" fi LICENSE="LGPL-2.1" diff --git a/media-libs/babl/Manifest b/media-libs/babl/Manifest index a87c10258b84..b4b3ea4a72fd 100644 --- a/media-libs/babl/Manifest +++ b/media-libs/babl/Manifest @@ -14,6 +14,7 @@ DIST babl-0.1.46.tar.bz2 653887 BLAKE2B dacfb2c4761a454012532dd74a31aa425a7aa989 DIST babl-0.1.48.tar.bz2 659945 BLAKE2B 7daa742f27f39dee9ec1ff6955082585246ecd4532e83b664e28d219151d74cdea7856dc45ee26468c85fce5d2400399f02074b6ee7ee7fce65158e17d782607 SHA512 1fc9e2c60980b3e0531ba0418231e988ea5d96ebf5a22b96dc57536e17d45bfe8816408707179438df5c7e487b62421b968ffad491a97d54221f236198b53471 DIST babl-0.1.50.tar.bz2 661756 BLAKE2B 634e5bdaf4e32fe78ed913051d7bd226de9417d7a81535597bcef24b61b7fcc6cc76a0b9a2e7885ebc90eb0215d826a5c2f1e99d64096552e2fb7e0328c18068 SHA512 9b321933f6da41ce9be85a9b5e33a24857cb33d2a2a02ec30173c99dff66354d03c53e5e94ae46f9b59b11b9404b0cffbc39fc14e360412eca70584b61d25097 DIST babl-0.1.52.tar.bz2 665120 BLAKE2B 5584ba82b69151a7eb7d1157b3619dbd88db6ee50126178568db92c63c82913b3f118cb6cc8c87a8fc5d620f4fe5386a1da0c2c5289b23550b16ffe8e0b469e1 SHA512 39fddb2393e4533665c444ab77105966f86c2938a3b48ca7683ccaecefe0c1b8b08374f0028360ccd05b0d03848dfadba54c7bd9d73ef40549c4e0501e61785f +DIST babl-0.1.54.tar.bz2 668959 BLAKE2B d12f7c7e3d3d2724d7ab797d4c4cff0ed8fa788edb376f0f25b82fbeb81fb17f68309f3aa5cbe53eecf60e4b18c1c6a26bd80790b152946066eadda34336075b SHA512 91406c4e6f3fc6167ae68760c14e391707177f6e5afde49e09fa90cb70d25cf69e71d1de9cd8e96a6944aa49a44f28deffa86821d93de79cfa3faa95ec5b174e EBUILD babl-0.1.12.ebuild 1336 BLAKE2B 0034d85113ab047a7e0eb363e1bce67246678b4c08a5d562cd4121fa8465ab4c8f571af5ca46fed7e9184e2e710d36a0ecd57dc7c181e47e8a3f0488488da630 SHA512 4b97fc493ade3c9ab855e007120e710a6918875481656f86f9d721dfae0e68d591208f55787069fc6a7473da9ecdabe27dec7031906b3ab0f1116f1b9a7f03d4 EBUILD babl-0.1.18.ebuild 1466 BLAKE2B 8aa28a3d191cec1963032c99a7b8f6bcb663ba90290062c1e86efd760d96086a9e94de7f0bcc3881ce27ff583d627ded168e81693a9062a563ee47075aef9ca0 SHA512 4b4af9460080eeb97899a303c04527e7c970664b8bc754073b11ac8ace172b048109c40831bad70e14d3bd081a6a9f3509418f6f9995cbc3ae171e5d7a232d99 EBUILD babl-0.1.20.ebuild 1474 BLAKE2B 670df7c287b3ddb67aa63e770e58d546465f2fe67b484fc4847d761c4268a7582f7af84d55b3ca4db4b7e3a38ea46e9947cd3c1eb75a25683b0df3951fa86557 SHA512 76b6996b06b4b346d500752f2d6096c7b0ad568d8d81c540f0662454175143aa143ca856140cafb96941fc1259e6633892501281b421c66f6b7c1d322e83cb9d @@ -29,5 +30,6 @@ EBUILD babl-0.1.46.ebuild 1477 BLAKE2B b7103c7ccc115334022b5ad180c6dd2b00bf93dc7 EBUILD babl-0.1.48.ebuild 1589 BLAKE2B 332a0d1f01e977bd1d657c6c342a012219a229c8a58580ec9a59ad22acd3363b85baa551cea45436297dc614e0aa65c8ea938c063496bd27b612638296a95022 SHA512 9f3f6b897e9805b1272dad65066a545feda96be7dc7a398737f41649b8cfc17eb312dfeab080e9e8151279f4e5306d70b9141b4da30aa6bee59c107e61b87150 EBUILD babl-0.1.50.ebuild 1597 BLAKE2B 60e227d902b027c7cdf4b6835df6a36060caefc0c79ec3dc26943b0c5f57a57db7a462d4337d7affaf6e530a028da277652879ddaf1b5e95ac7a7a56c9c29441 SHA512 03f85b11813203af2ca948dbee32c3252602d9515b98c50046c8cae4b0b3e25f52aa810276c80b247cd7f87b0490f01a99a0065bbf2fa905997d2a46dfabd154 EBUILD babl-0.1.52.ebuild 1533 BLAKE2B 0cc2974e7b34bd1c19cfa66b7426e29da1b1a7853fddac00032f3718fd625fde73afa6ce295337009eac6366e098001609e57b0bfd2e9219b809a399252167ef SHA512 d0d2a701b353898601c308de5b50c0119f0290c16cfd80b069b02cefff4c308cc21baecffb65203884a7973f042670341bbe97eb3922366ab60d016f4ea372a6 +EBUILD babl-0.1.54.ebuild 1533 BLAKE2B 0cc2974e7b34bd1c19cfa66b7426e29da1b1a7853fddac00032f3718fd625fde73afa6ce295337009eac6366e098001609e57b0bfd2e9219b809a399252167ef SHA512 d0d2a701b353898601c308de5b50c0119f0290c16cfd80b069b02cefff4c308cc21baecffb65203884a7973f042670341bbe97eb3922366ab60d016f4ea372a6 EBUILD babl-9999.ebuild 1603 BLAKE2B 8a870dfec71b8ff498107eba616c3878784c94f1dcc528d4c41df02323cab14f61d3777c87e999acfa97ac7768c92eda3262daa494779157b29e1c946511b988 SHA512 eeab542b8d7eecd2142cfc89f2948ee4a475e35dbaaa3c4d3b726b1c2d3f34c3fcdd0a2d29df2a6dcb35ce60e217462fb7c267a8b7d699147af252d9dbca5232 MISC metadata.xml 307 BLAKE2B 95a78257a39aec8fdf8c1c1c1fa0a6f2d911f6c7f22021021f3d1457d7beffad0a47b0f0131926e988340fccc4ca8ef49d086940e0e17acb89d4f3c6845b79f4 SHA512 a86588c27e62fec9d8474d9ba5edd9d235a6ffd1251d5ba729593ba7bdffdb272020567a7db2d596f17bba9c2a39a75eed9ac5eee5e0ba73af081a05fcb1af9e diff --git a/media-libs/babl/babl-0.1.54.ebuild b/media-libs/babl/babl-0.1.54.ebuild new file mode 100644 index 000000000000..e3d94c34b54e --- /dev/null +++ b/media-libs/babl/babl-0.1.54.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit ltprune + +if [[ ${PV} == *9999* ]]; then + inherit autotools git-r3 + EGIT_REPO_URI="git://git.gnome.org/babl" + SRC_URI="" +else + inherit autotools + SRC_URI="http://ftp.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +fi + +DESCRIPTION="A dynamic, any to any, pixel format conversion library" +HOMEPAGE="http://www.gegl.org/babl/" + +LICENSE="LGPL-3" +SLOT="0" +IUSE="altivec cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_mmx cpu_flags_x86_f16c" + +RDEPEND="" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2.2 + virtual/pkgconfig +" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # Automagic rsvg support is just for website generation we do not call, + # so we don't need to fix it + # w3m is used for dist target thus no issue for us that it is automagically + # detected + econf \ + --disable-docs \ + --disable-static \ + --disable-maintainer-mode \ + $(use_enable altivec) \ + $(use_enable cpu_flags_x86_f16c f16c) \ + $(use_enable cpu_flags_x86_mmx mmx) \ + $(use_enable cpu_flags_x86_sse sse) \ + $(use_enable cpu_flags_x86_sse2 sse2) \ + $(use_enable cpu_flags_x86_sse3 sse3) \ + $(use_enable cpu_flags_x86_sse4_1 sse4_1) +} + +src_install() { + default + prune_libtool_files --all +} diff --git a/media-libs/bcg729/Manifest b/media-libs/bcg729/Manifest index 508dbc6a703a..a6ae0623cd91 100644 --- a/media-libs/bcg729/Manifest +++ b/media-libs/bcg729/Manifest @@ -1,3 +1,3 @@ DIST bcg729-1.0.4.tar.gz 115641 BLAKE2B 5240fc10f8c4c32d9c9a6fc527a198fc896a8ff5ea12aa8a692808877582ac25b3fee122799cb7f6cea58db2f07cc07348da36d9f526e62f0bf62d61ef33bcfa SHA512 fdbbd2c9a807ed832ac3976301843bae854368ab281d16f792550bbda921d226fc6003c0a499561529f22eae08bc0d78b8826c2d06c859ab706d999a96967ffb -EBUILD bcg729-1.0.4.ebuild 624 BLAKE2B e27d7dd45939f19eecb977717524c6eb98eb82c0a06fd995a8efc002853206dc9cd9c75b5833a35f1270c9ab9afe1fcc93bcd519ec4060d663a816f0a6187840 SHA512 586924b8271bbce14e5cbda085543e22a9b9a2c4e272ab12fdfae24175a8ce16a6ac35dc5396e637329baf9a6c9cc2fc55c68a3d64842a8f41cb6a2e02b346b6 +EBUILD bcg729-1.0.4.ebuild 623 BLAKE2B e5933d4aa23c3898a13d050cd61bd2ca0452692bc029f9ade00abb8c70767e0e25a9f72d8ab8ea5df3867d0670272952263419de25c5f81ab8c8540920635651 SHA512 950ea02042115a4654841cb217d0615fb05d2d272f518d5ce6f0af6ad7874d30a1caa286516e02e13fc3b78a236fd170ec3b15cf7c2abcf700d55b2f04a0efad MISC metadata.xml 213 BLAKE2B be9f4b06d7567b80dc4d16cb47551ef3e825a84f13897115ef207911582b9062e23181c5d7583fbe1a8299e563eefc7cdeee4114d36ab911f685fd27b294d23e SHA512 b2ac78c6617cda0ce08982f7a56bbedd709df884c5ac51b5ae4fdbc36eee2690a177afa507206d8e3914c0e1b80d96291a329164a1883b7c76e5e4eae376b667 diff --git a/media-libs/bcg729/bcg729-1.0.4.ebuild b/media-libs/bcg729/bcg729-1.0.4.ebuild index 895498431d71..6d177a36f30e 100644 --- a/media-libs/bcg729/bcg729-1.0.4.ebuild +++ b/media-libs/bcg729/bcg729-1.0.4.ebuild @@ -10,7 +10,7 @@ SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~hppa ia64 ppc64 x86" +KEYWORDS="alpha amd64 hppa ia64 ppc64 x86" IUSE="static-libs" RDEPEND=" !media-plugins/mediastreamer-bcg729 diff --git a/media-libs/fontconfig/Manifest b/media-libs/fontconfig/Manifest index 7ff8b25bb232..2ad4627853ad 100644 --- a/media-libs/fontconfig/Manifest +++ b/media-libs/fontconfig/Manifest @@ -6,5 +6,5 @@ AUX fontconfig-2.13.0-names.patch 2421 BLAKE2B e8e922a445dee1d7bc77b72384cf3ab58 DIST fontconfig-2.12.6.tar.bz2 1624683 BLAKE2B 48432f3d3cc90240ec19dffb6714e7f780eb6b401693b40e2efa2bb593bc89c42b03c99fce8f2ceb7c108da254dc248d91a790849d22feaa50a725338b80fd1f SHA512 2a1d3e62cae2bfcae2e67e9cb75ab6534a35bda4215f1ad4b8bf757e77e7d9d609c016562f5288fd10046a0e94655a807f6dd044d7868ed81a146c4275c4dd06 DIST fontconfig-2.13.0.tar.bz2 1700500 BLAKE2B bf137b27c9f73c5e2763b7a4a443a4aa5016bd3c0e35138249c2cf8841eb364c8e7bbea6495b53b88de26e3d5a429ebfb598a9f4fe7d875028a621df592ff35a SHA512 f0ad8f2542c8b1e900f5c3d213466a31dd3785da726d6eb455b6734c71c6e5751b28172203e2f9668e9c8e1512072235ea46a1a5e6a85ec54ccc332adb4e5fbc EBUILD fontconfig-2.12.6.ebuild 4925 BLAKE2B 3f5cb18e7af4f0b20020b52d6804b8410fee703164ba3f62dad2993dad51b17f3572af57e3b9229f0e420235481c0c018247dd5e19bad289ddebd8cd3490f5b6 SHA512 9fff043fb6ea1445198868f96dee0d626c1cda0948893cccd05e8ea002282e3a1bdf8e05d59ac96c047a203a6ad00e17d365396188da3557d8b583c26a4bf011 -EBUILD fontconfig-2.13.0-r4.ebuild 5140 BLAKE2B 4832e0b08fdde4aa5262b2b48ebeb5790fae18b0534e9d18ef09896807fb59035da20f5341595cbf8b80306d8c653039095c5b61c5b48f1e50969755a8dac304 SHA512 6178a6b767887fb47d469eccf86f79f0ba6080b50458bc9fcb534ee7e2c9310fd11fcdafecb7def6d8246c23ac8d3a3e74d348b8d624d95fcb95f558ca0c4e71 +EBUILD fontconfig-2.13.0-r4.ebuild 5177 BLAKE2B 563b84a4cdcec1c807760fe3eaae980a622a255f4c6ca7e8ed2f915be04091003384401d7b9f1fc4868aeab375baf485b99e98c19030c49be12787b16835550a SHA512 a223d661449ff058445d1e0e35cb2a0199a55f1db1befd4bb7aa1b391e748dedfea971edc3837dadff696022a4c362120b85dcd741cbb86028023cf7994e81f3 MISC metadata.xml 500 BLAKE2B 5326535fbf21d56868f15d3e5cda11bddba722762423b8831da99f9ff31bee71ed6d4e5ec62af46a7981c233c9d516068257413cb473c02657d3543619692b24 SHA512 bfc956b5196face33a60fa495b7948cd8f01802f23efd02da9da41146443b76f3d01ef5192a7541dd65e107df5e1935f73f5bfdb939c14fdde599919c7fde190 diff --git a/media-libs/fontconfig/fontconfig-2.13.0-r4.ebuild b/media-libs/fontconfig/fontconfig-2.13.0-r4.ebuild index 6cce3f4bef03..e8703c5c52e9 100644 --- a/media-libs/fontconfig/fontconfig-2.13.0-r4.ebuild +++ b/media-libs/fontconfig/fontconfig-2.13.0-r4.ebuild @@ -52,6 +52,7 @@ src_prepare() { sed -i -e 's/FC_GPERF_SIZE_T="unsigned int"/FC_GPERF_SIZE_T=size_t/' \ configure.ac || die # rest of gperf dependency fix, #631920 eautoreconf + rm test/out.expected || die #662048 } multilib_src_configure() { diff --git a/media-libs/gegl/Manifest b/media-libs/gegl/Manifest index a0ad637af2ec..c5f73964b29e 100644 --- a/media-libs/gegl/Manifest +++ b/media-libs/gegl/Manifest @@ -18,6 +18,7 @@ DIST gegl-0.3.8.tar.bz2 5876259 BLAKE2B 24199148ffbef6454ea460d126c29f1cc8581e54 DIST gegl-0.4.0.tar.bz2 6762190 BLAKE2B c138ee79806178f60eab2fae492fcf441dc49b54364abcf023f6ade0cb08d216200ae14a289af8b6da2f0eec97dc81d376469245d0aa6d6cabf269d42c0a83c0 SHA512 4e319e861f6a27f52d0d4920942abe3734e6015eaa76491ab55179d8c677ccf8eb7f4296ef43f55a5e77ae9e99bb2ba6f5bd20aa08f194e9d42a1159fae20c6e DIST gegl-0.4.2.tar.bz2 6781136 BLAKE2B 522d4e7b2ace519423a66b7e65faab49bd0740173be6a8e108ec95b65c0359937df7b142e0a68589a4d773b839689ad6cf2ee67c5ea5b89267d46199b23e3f15 SHA512 8d842f5e192d279529615e09da8a76b051baa9c257ac699eba5f8ce46b4511554949e35f494e99c190b1477a700e018e2243a9e84c3c79e331824ca364b6cefd DIST gegl-0.4.4.tar.bz2 6817195 BLAKE2B 928e91e61bfee8b9954992e1ad4dbc874a5f53ef5a8274a6805b2c7d9bb007e3ff9ab5e8fc0a767f7e7d05c327581231b42eebcc6f9781f9feb5abe17c22bbdf SHA512 6953bf7df225914ce9c8166f5a0490615664c69d5a66cf8ca805f75cfbe272186c7745d273fcde29c685e22a66d4483dbdf45064ec9c0007fd6d0b8aa3ebb164 +DIST gegl-0.4.6.tar.bz2 6931774 BLAKE2B c8fabc8efbcc21a3663c8a3a698e6bc072506a66a21b81e6696c37c81aec1458c695f773c554b6d98c2fd21a3d3ab7fcca4b2f6567ec9d4f94b1e925b9bc9ce5 SHA512 6df34b6e76318a375820bccac6efeb2792c737e47154902fcc08ef93cb45b978992ee263260c99f8e865964d80cd1fac6dc2d6c8e4453174df64a9044b57325e EBUILD gegl-0.2.0-r2.ebuild 4788 BLAKE2B 25850756b366f53d563d098b21036d84f7790dc0dbc1e0640f10b590d1d43be11f2b05d0cf1301e87da2522cc49dfbca09d4cc8854e02494a796f5ca60e1538b SHA512 022f22d1ed529d6061b179b4edb89cd022be4de213a2f0048fb89b760fdbe5fe2ba0b3682874577556ec92869a28683431967b73f3b6fa5369ee423e078067b7 EBUILD gegl-0.2.0-r5.ebuild 4995 BLAKE2B 20da1cb203ef3ede096fb3a945bf563278dceb0192dae4870556d593e8e00ed02e8d146a0a5c10943376b9e00f7737d1ff465388bb536fd6076ca4be52dfc9c1 SHA512 54409f06ece1431191c2c6ecb77d8d536e8d87e78da3324e201796efa0f6dcd24ce7e0f4288f5ed419559ede5d2f8a35f4cb84b7f3bdbea36c59ca67d5e0d215 EBUILD gegl-0.3.0-r1.ebuild 5379 BLAKE2B 5bf00dfd8c77e110bd708267604b187d1997046fe9f70a1590caaee8e98e09086480136ebb3ab1bd901489585ade5222e661acbca12139d86a3355529bc73cc2 SHA512 c0dc2b5848b79c1eebcf067f37baddc0f4f7bdbe3b10ec4a97981e5392b4200fb2d5f4a3cb6b347fe881113f3e6ce3b0cd7198b61bc3c5a5ff1789d43d064efb @@ -30,5 +31,6 @@ EBUILD gegl-0.4.0-r1.ebuild 5535 BLAKE2B 33a1e64317e6ae916e7e7d3a9e4e19120687e79 EBUILD gegl-0.4.0.ebuild 5239 BLAKE2B 56fd645cd66deff5f3f391d403b0bea597f5ccd13ec9f5e055c5e5305b5dfd07cc05fced5b3bd8ec4e06441ee9d9c21a47723283b8f81094ba2b5a259e763d92 SHA512 de1a8ef63af7352bc3d4a3f84024dccc47877b9609fa835f6d6313bc7858f4c4f241f9028141ea72bd805af95a47a5491911a2bfbbde5e15c4f276d0c01dc191 EBUILD gegl-0.4.2.ebuild 5415 BLAKE2B 6c91dfb8dd056f84306ad4097ea1e303eee6538a0a3f9bea534d6cae6da33d66ebd07a6cd69c95ee49e2813d2edc62050e1ef26c66d4b68fada3d0fe3ba84194 SHA512 7f8b307e3be7b1a05460acee0cf70a539971f0c1e1c252cd5c2de4c05aee1f5d76f01935e95b9dbe60e322d20ed44df2dbaeb5c3ccbef55c900cf632125b7522 EBUILD gegl-0.4.4.ebuild 5415 BLAKE2B 46ddb004dfad7540a9508f6c0e05471f50e7901d752ad44ca23d74a20e0489471c69889867a99575ee5820be2efdc03e5d896aced1e9bbc056e6a9da605aa3cf SHA512 649ef096fad3a913ba9b2bd71fa5f04e075ee91506a1612fd2ad05ced31b1b89c84457744e71b2a4fe05a7da082f14d13deb8536ad5d6440b0c7c7d76d2e6846 +EBUILD gegl-0.4.6.ebuild 5415 BLAKE2B 987767309a875d69dbc397a989453c56d2fb8efcca563707ca173af797439ac4a1440b4e773c812630105f4963bec1517b1e64b8921b43631927f54dee76ac87 SHA512 d6c8064a883afef40978df210da8fd44f945596eac0d12dc78cd31df41f6f59bc5ebfdf3687a59c7aeff7e46aff77ba0c30ef2f66f62c19cc466376bb314f3cb EBUILD gegl-9999.ebuild 4921 BLAKE2B ae0b77a07f047281531c0698f3c830a0906f7938025733daa73f54fd4dcedecfb357c05d7a660991423d685d555e34eddb80c67573cfb60c9744417473b14a1c SHA512 bc4243e9921eefdb4211d44e962a571ca55897dac69fb22460a045eed3cef5089c9d3f2e01a23e1d824837e4ac850adee6b53c1382da444c55082163857de2c0 MISC metadata.xml 472 BLAKE2B e5dbc6beb699846057be74ff6c05e1273bdc2f19910be0ff73c1397b48173526e0c6eda649e7178a9858aaf055628df0285792107cfd49bf5ba4dc9c56f8c835 SHA512 3d4b87f67a5665c0520996c36297afbbbaa1410bfbe244db215286b044a57c030b2a24d4dd9370fba6a7bd148a71b0bf8e2ff85c49ca321441da831ce47b9faf diff --git a/media-libs/gegl/gegl-0.4.6.ebuild b/media-libs/gegl/gegl-0.4.6.ebuild new file mode 100644 index 000000000000..c4ca39c3b74a --- /dev/null +++ b/media-libs/gegl/gegl-0.4.6.ebuild @@ -0,0 +1,189 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +# vala and introspection support is broken, bug #468208 +VALA_USE_DEPEND=vapigen + +inherit versionator gnome2-utils eutils autotools python-any-r1 vala + +if [[ ${PV} == *9999* ]]; then + inherit autotools git-r3 + EGIT_REPO_URI="git://git.gnome.org/gegl" + SRC_URI="" +else + SRC_URI="http://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +fi + +DESCRIPTION="A graph based image processing framework" +HOMEPAGE="http://www.gegl.org/" + +LICENSE="|| ( GPL-3 LGPL-3 )" +SLOT="0.4" + +IUSE="cairo cpu_flags_x86_mmx cpu_flags_x86_sse debug ffmpeg +introspection jpeg2k lcms lensfun openexr raw sdl svg test tiff umfpack vala v4l webp" +REQUIRED_USE=" + svg? ( cairo ) + vala? ( introspection ) +" + +# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE +# so there is no chance to support libav right now (Gentoo bug #567638) +# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks! +RDEPEND=" + >=dev-libs/glib-2.44:2 + dev-libs/json-glib + >=media-libs/babl-0.1.54 + sys-libs/zlib + >=x11-libs/gdk-pixbuf-2.32:2 + x11-libs/pango + + cairo? ( >=x11-libs/cairo-1.12.2 ) + ffmpeg? ( + >=media-video/ffmpeg-2.8:0= + ) + introspection? ( >=dev-libs/gobject-introspection-1.32:= ) + virtual/jpeg:0= + jpeg2k? ( >=media-libs/jasper-1.900.1:= ) + lcms? ( >=media-libs/lcms-2.8:2 ) + lensfun? ( >=media-libs/lensfun-0.2.5 ) + openexr? ( >=media-libs/openexr-1.6.1:= ) + >=media-libs/libpng-1.6.0:0= + raw? ( >=media-libs/libraw-0.15.4:0= ) + sdl? ( >=media-libs/libsdl-1.2.0 ) + svg? ( >=gnome-base/librsvg-2.40.6:2 ) + tiff? ( >=media-libs/tiff-4:0 ) + umfpack? ( sci-libs/umfpack ) + v4l? ( >=media-libs/libv4l-1.0.1 ) + webp? ( >=media-libs/libwebp-0.5.0:= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1 + >=sys-devel/gettext-0.19.8 + dev-lang/perl + virtual/pkgconfig + >=sys-devel/libtool-2.2 + test? ( ffmpeg? ( media-libs/gexiv2 ) + introspection? ( + $(python_gen_any_dep '>=dev-python/pygobject-3.2[${PYTHON_USEDEP}]') ) ) + vala? ( $(vala_depend) ) +" + +pkg_setup() { + use test && use introspection && python-any-r1_pkg_setup +} + +PATCHES=( + "${FILESDIR}"/${PN}-0.3.12-failing-tests.patch +) + +src_prepare() { + default + + # FIXME: the following should be proper patch sent to upstream + # fix OSX loadable module filename extension + sed -i -e 's/\.dylib/.bundle/' configure.ac || die + # don't require Apple's OpenCL on versions of OSX that don't have it + if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then + sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die + fi + + # commit 7c78497b : tests that use gegl.png are broken on non-amd64 + sed -e '/clones.xml/d' \ + -e '/composite-transform.xml/d' \ + -i tests/compositions/Makefile.am || die + + eautoreconf + + gnome2_environment_reset + + use vala && vala_src_prepare +} + +_use_with_both() { + if use "$1" && use "$2"; then + echo "--with-$3" + else + echo "--without-$3" + fi +} + +src_configure() { + # never enable altering of CFLAGS via profile option + # libspiro: not in portage main tree + # disable documentation as the generating is bit automagic + # if anyone wants to work on it just create bug with patch + + # Also please note that: + # + # - Some auto-detections are not patched away since the docs are + # not built (--disable-docs, lack of --enable-gtk-doc) and these + # tools affect re-generation of docs, only + # (e.g. ruby, asciidoc, dot (of graphviz), enscript) + # + # - Parameter --with-exiv2 compiles a noinst-app only, no use + # but needed during testing + # + # - Parameter --disable-workshop disables any use of Lua, effectivly + # + # - v4l support does not work with our media-libs/libv4l-0.8.9, + # upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675 + # + # - There are two checks for dot, one controllable by --with(out)-graphviz + # which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes. + # + # - mrg is not in tree and gexiv2 support only has effect when mrg support + # is enabled + # + # So that's why USE="exif graphviz lua v4l" got resolved. More at: + # https://bugs.gentoo.org/show_bug.cgi?id=451136 + # + econf \ + --disable-docs \ + --disable-profile \ + --disable-silent-rules \ + --disable-workshop \ + --program-suffix=-${SLOT} \ + --with-gdk-pixbuf \ + --with-pango \ + --without-libspiro \ + $(use_enable cpu_flags_x86_mmx mmx) \ + $(use_enable cpu_flags_x86_sse sse) \ + $(use_enable debug) \ + $(use_with cairo) \ + $(use_with cairo pangocairo) \ + --without-exiv2 \ + $(use_with ffmpeg libavformat) \ + $(_use_with_both ffmpeg test gexiv2) \ + --without-graphviz \ + $(use_with jpeg2k jasper) \ + $(use_with lcms) \ + $(use_with lensfun) \ + --without-lua \ + --without-mrg \ + $(use_with openexr) \ + $(use_with raw libraw) \ + $(use_with sdl) \ + $(use_with svg librsvg) \ + $(use_with tiff libtiff) \ + $(use_with umfpack) \ + $(use_with v4l libv4l) \ + $(use_with v4l libv4l2) \ + $(use_enable introspection) \ + $(use_with vala) \ + $(use_with webp) +} + +src_compile() { + default + + [[ ${PV} == *9999* ]] && emake ./ChangeLog # "./" prevents "Circular ChangeLog <- ChangeLog dependency dropped." +} + +src_install() { + default + prune_libtool_files --all +} diff --git a/media-libs/graphene/Manifest b/media-libs/graphene/Manifest new file mode 100644 index 000000000000..0bd5eeb32b1b --- /dev/null +++ b/media-libs/graphene/Manifest @@ -0,0 +1,3 @@ +DIST graphene-1.8.2.tar.xz 127436 BLAKE2B a22251db7cf4719c8a6cde49e6feb0a998d1ec7296fee549a4797d72fa575d4266e48fb5a6d9ebd204b93954a6278b4fa88dc56e5f86d7cf8625a5edc685a09b SHA512 8d250dccac345251081419f4ad7079c8035cb6225e10b23d25799386b067288831c23be667d608228ef44a2f6107ac47fc86bb495eda7881b1336598d6c43234 +EBUILD graphene-1.8.2.ebuild 1718 BLAKE2B 49370ceb307b6276db57a423b96e3faa87fd24d05fde0b11369618d9f77686dac8ee68e6d3097f877078610ce4dc88d4b18498484a73b54047ae286d3e3b6fbe SHA512 23fd811f8db072a9fc1cde7ae87702e137f09007dc91b248e8f47d674d716886aa57054d6c5987cbcea1a7b0bc3ea8a85290b9f77b442484c77834ddb1a299c4 +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 new file mode 100644 index 000000000000..b2b8f26d888b --- /dev/null +++ b/media-libs/graphene/graphene-1.8.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{4,5,6,7} ) +inherit xdg-utils meson multilib-minimal python-any-r1 + +DESCRIPTION="A thin layer of types for graphic libraries" +HOMEPAGE="https://ebassi.github.io/graphene/" +SRC_URI="https://github.com/ebassi/graphene/releases/download/${PV}/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="cpu_flags_arm_neon cpu_flags_x86_sse2 doc +introspection test" + +RDEPEND=" + >=dev-libs/glib-2.30.0:2[${MULTILIB_USEDEP}] + introspection? ( dev-libs/gobject-introspection:= ) +" +# Python is only needed with USE=introspection or FEATURES=test, but not bothering with conditional python_setup +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + doc? ( dev-util/gtk-doc ) + virtual/pkgconfig +" + +src_prepare() { + xdg_environment_reset + default + # Disable installed-tests + sed -e 's/install: true/install: false/g' -i src/tests/meson.build || die +} + +multilib_src_configure() { + # TODO: Do we want G_DISABLE_ASSERT as buildtype=release would do upstream? + local emesonargs=( + -Dgtk_doc=$(multilib_native_usex doc true false) + -Dgobject_types=true + -Dintrospection=$(multilib_native_usex introspection true false) + -Dgcc_vector=true # if built-in support tests fail, it'll just not enable vector intrinsics; unfortunately this probably means disabled on clang too, due to it claiming to be + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + ebassi/graphene + + diff --git a/media-libs/grilo/Manifest b/media-libs/grilo/Manifest index 720893b87aca..277ea7a292b6 100644 --- a/media-libs/grilo/Manifest +++ b/media-libs/grilo/Manifest @@ -1,5 +1,7 @@ DIST grilo-0.2.15.tar.xz 627196 BLAKE2B 3277f2588413e364835954f971c986451837b6992858d48273280d511a4d1ef4a8075924aaa3d4426818952e9f4d65c1b2dff7d3e255b2cbf30a8f73f740f91a SHA512 ac0a76d9075e5383fe1a56277b23986a8ec8e86f01f3f782ac7dc79539904712c22295c679243604b619f24088a1210622e0699b5601678264bd7651012ded3e DIST grilo-0.3.4.tar.xz 644616 BLAKE2B 4e8a7ba7da065b91cf780e4ec5da96b7a63534c2ef22d80cea21853a9373bca59359d2384e6f549689221a4eb1da495037c88e9adaea6c786005963c97a9aa1e SHA512 d3800a1873364dc8b56748924eee71928f9e08ad82d8ee2ffaf265cca7e26476081e543f42f26db57c088b2b063f86244e6718116710fc39fdea623868992145 +DIST grilo-0.3.6.tar.xz 653864 BLAKE2B 58570975b2c4623b2a43b441c60d88146080327a86018bfd1a37967d35b6389e5102915296ceba1a8ebf23d27a3e4f8d23eeb59555a6c5cd0ca596b5ab674878 SHA512 175cf61a43aea8456a41f4dce7694fac50e854cf6340ed0671f233e6188fa34347c1e7308aac99bc49d081c36747776b9a8c1c5cc7c0be00a1df2c9d015d8849 EBUILD grilo-0.2.15.ebuild 2168 BLAKE2B 194275416887ac3e9d0c02cc68bac9945f3d0b7b35967ea0322a8b3ad6fbf962feff735f02c761cf02eb89c2215880eda473bab60a87345ddd795374a1dce12a SHA512 a3c16193769a111bf219382eec548de6bde3088646c02c579a553f5adad9e8949791fb9d06547bb58aab1b67505965c39bb8063cdc708b549779fed31c7109d2 EBUILD grilo-0.3.4.ebuild 2297 BLAKE2B dae2b80d83636ffd8f331e59bb38e0ae5e513aa9e4812dc35f55308b5f27e8a6852ec735a934e64e9f1141429883d9bfd87ed42144e8d7bdaa38210ed854ddda SHA512 9e0ec9c435a33a9b3d19dc9ae1a6d5d352fd2ad2377c22999d18a0f0ef2d308d85a9dbd51024d304767503659e2d278f2de2916d699097e9b1f5e0b91d3efbd9 +EBUILD grilo-0.3.6.ebuild 2367 BLAKE2B 0854ce5e61acb79994f34dfc265c527f93903ff77022fc6e7b7e8ed0c8345e49e724f766ee748ea2fa7f31c384b638e526308bf7455fe7908ab51f5c5a95e06e SHA512 ee03de4daa9ac75dd030cf6c6d0ce0f22ad19e3a055aef314648b386a78d01ee862913dc6982b2b49ef061c15a20a7b8001128dfad7dc1f2a431ce643cdca286 MISC metadata.xml 484 BLAKE2B 56ca18d39e67d361c060c6b08bb8da562257cdf8a3f8ca208a745cc628ebd4607bb3bd84f2269d54c914fcd83123b152258ed888691c510b856d8f16f3eaf2ab SHA512 b72030308a92f0c105f71df30321e2aa52d7e7bedcaaa8a2ddc9eb42e4e70981f6015ee8d00c81e50ce6460ab91396742619b8962c95cf664125f283ecc4e229 diff --git a/media-libs/grilo/grilo-0.3.6.ebuild b/media-libs/grilo/grilo-0.3.6.ebuild new file mode 100644 index 000000000000..74dbd08d841b --- /dev/null +++ b/media-libs/grilo/grilo-0.3.6.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) +VALA_MIN_API_VERSION="0.28" +VALA_USE_DEPEND="vapigen" + +inherit gnome2 python-any-r1 vala virtualx + +DESCRIPTION="A framework for easy media discovery and browsing" +HOMEPAGE="https://wiki.gnome.org/Projects/Grilo" + +LICENSE="LGPL-2.1+" +SLOT="0.3/0" # subslot is libgrilo-0.3 soname suffix +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="gtk examples +introspection +network playlist test vala" +REQUIRED_USE="test? ( introspection )" + +RDEPEND=" + >=dev-libs/glib-2.44:2 + dev-libs/libxml2:2 + net-libs/liboauth + gtk? ( >=x11-libs/gtk+-3:3 ) + introspection? ( >=dev-libs/gobject-introspection-0.9:= ) + network? ( >=net-libs/libsoup-2.41.3:2.4 ) + playlist? ( >=dev-libs/totem-pl-parser-3.4.1 ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.10 + >=dev-util/intltool-0.40 + virtual/pkgconfig + vala? ( $(vala_depend) ) + test? ( + ${PYTHON_DEPS} + media-plugins/grilo-plugins:${SLOT%/*} ) +" +# eautoreconf requires gnome-common + +pkg_setup() { + # Python tests are currently commented out, but this is done via in exit(0) in testrunner.py + # thus it still needs $PYTHON set up, which python-any-r1_pkg_setup will do for us + use test && python-any-r1_pkg_setup +} + +src_prepare() { + sed -e "s:GETTEXT_PACKAGE=grilo$:GETTEXT_PACKAGE=grilo-${SLOT%/*}:" \ + -i configure.ac configure || die "sed configure.ac configure failed" + + # Don't build examples + sed -e '/SUBDIRS/s/examples//' \ + -i Makefile.am -i Makefile.in || die + + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + # --enable-debug only changes CFLAGS, useless for us + gnome2_src_configure \ + --disable-static \ + --disable-debug \ + $(use_enable gtk test-ui) \ + $(use_enable introspection) \ + $(use_enable network grl-net) \ + $(use_enable playlist grl-pls) \ + $(use_enable test tests) \ + $(use_enable vala) +} + +src_test() { + # /net/throttling/small-delay can fail with parallel tests + virtx emake -j1 check +} + +src_install() { + gnome2_src_install + # Upstream made this conditional on gtk-doc build... + DOC_MODULE_VERSION=${SLOT%/*} \ + emake -C doc install DESTDIR="${ED}" + + if use examples; then + # Install example code + insinto /usr/share/doc/${PF}/examples + doins "${S}"/examples/*.c + fi +} diff --git a/media-libs/gst-plugins-bad/Manifest b/media-libs/gst-plugins-bad/Manifest index efd5153dc4fa..855d3443b1b4 100644 --- a/media-libs/gst-plugins-bad/Manifest +++ b/media-libs/gst-plugins-bad/Manifest @@ -3,7 +3,9 @@ DIST gst-plugins-bad-0.10.23-h264-patches.tar.xz 5284 BLAKE2B 90ad2a742de6d6b3ef DIST gst-plugins-bad-0.10.23.tar.xz 3155044 BLAKE2B 86ed955fb5c73f2145b8f8ed2daaeffd9975362e81c3ca911be00d18f6b6d975381651071eb54514ef94a931f1fc89e673dc8c1d68e10de132bbe51accb6d165 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 DIST gst-plugins-bad-1.12.4.tar.xz 4709272 BLAKE2B a4d1fec48fdd67fc66eb5588dbee820c22b19a41dda4f5643b1ae326bfc827cd4796fc7a523fb0a9758605952377a2491f4e53ea74237ca7841659dea4ddcbc0 SHA512 a8e281aee1f1d0bb3f171fbe4242e997c661cbfd0be78da3913c0f55d68d6b7c3d34cabfcdd8c25728217ff885b86a7bedc0be34a7b14e2eb2a6c6236753231b DIST gst-plugins-bad-1.14.1.tar.xz 4651852 BLAKE2B 915798f9d07e18b445cae818978def1356299034d14ca2cba8f07df93d5dcf5ed257290bf111298c4f8063b32ceee38dd78c02eae508f6e88956b132740bfa36 SHA512 6969b6c91279fb96bc28acde0284ce980b3982ae0c77820284a903beee61dffa863554dcfadb55de1987404b59c3c7c421372e65dc7b4014fe64a0c91d4ce729 +DIST gst-plugins-bad-1.14.2.tar.xz 4664260 BLAKE2B 477c9a864088676ead3170dc11017ad997c4d0ef136845a7ad34d15745d5f1abf4486dda7a226feb5ff6c7c65c8788cd39eb5e9901f3f15a426d79bf2b81e78c SHA512 7282c8941f1eabf7141362bb8e61097b3b26ef39410ae767712c34d7e40779fc22f6ea97a950009fdb6d62175f9a153d435ead8f663cf66cc6af5aac7f2a73db EBUILD gst-plugins-bad-0.10.23-r4.ebuild 1565 BLAKE2B 8907f6548ae1d077342bf0f35280c9cd59c492bd8a2e23e9c176c1682e32cab561835123af61fc40067f55c43574e401aa16e418ede39a56786744f741f203f7 SHA512 6c68c102487868c23bc177aa65a9a734f7e2cd89bcca5af827d98dcfb61d26a84b09a07d4ec6d7397a17ffa57ab33fdbfc5fc290bb9eb397209150da86ebb492 EBUILD gst-plugins-bad-1.12.4.ebuild 2819 BLAKE2B 19d7afaf0e34e98ffd67ac1dbb453ce8477cd719803560a445e0cf2c8829c07f8355780151cd2273ea36e4bf624c1bdb278507ab8aa0da44e42746037abab895 SHA512 3414136d383f5669e11edfee11732de39b5f4f1fe20f821e2add0cf0d66b675fc337bfeed392770d3beee2144b70505c067121a2b7381c67c347dec431986425 -EBUILD gst-plugins-bad-1.14.1-r1.ebuild 2611 BLAKE2B 931b78d9a731d4e25f5340544edf00c8e72c1259031a198b6c06d315ba6ea4b6e121ae20c262a5fd2c35012babd0c2a19e906cb3a84d6ea03c1ea5dac96ffaee SHA512 38e7b0f667b8ddfc1bafe077d0aaeded6939bc11fc63ea75d3b50393edfe69a9f2978e6dcb1870c24606833c206086aea6930254045188b3c8263b4d3344dabb +EBUILD gst-plugins-bad-1.14.1-r1.ebuild 2610 BLAKE2B 40ae19b9a9a4fc1da539d401ec3ea5a601da128ab55f8fbeffd3dd4000bee4b834451c54ceda4e788698531b487c6496c88ba3c4ba0a787a19c0a299b3c9f7f4 SHA512 a604ab7f28db3df03a1d459756be3eecbc3894a17f58bb462d645b6a7e9c836eca2d29a16caf02885aae3277200331958198b695912f9392146ec0ce606fed67 +EBUILD gst-plugins-bad-1.14.2.ebuild 2616 BLAKE2B b02623dc74e3d00029d03361886d00e45520d677eb600415c0a0c3343a5686f25c21c8706497f6516fef160f58207936460f842f9aafef42c37fc19c3db59ace SHA512 c335ce9e3f45831d1bbd8d84839d9a4093ff4e25f88eb855bd61dd5b80c5ae74c241b6fbc9649eb170bf3e6fb962d7c3cccef8a2342fbd95ea4bc1b19e93745d MISC metadata.xml 439 BLAKE2B 5a4a36ccf4bd485eaf1fa66650eec8fa592d4c5bbf9fa478f1645e1b39649b7115694bf55dee7aeb4a5c53b2ba3c4614591cdf4e7d745938397c304108e0aa7c SHA512 9bd27a1a513fc2d697f7d0f2ceb7fa0701c446fe21b597256afd4c2c1f44145e875323ed1ef6202bf7b85472ab4aab43a4b6db5795bb1d28ff53a2a7e484055e diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.14.1-r1.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.14.1-r1.ebuild index 5a357b147fe7..7f18ae9c9e78 100644 --- a/media-libs/gst-plugins-bad/gst-plugins-bad-1.14.1-r1.ebuild +++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.14.1-r1.ebuild @@ -10,7 +10,7 @@ DESCRIPTION="Less plugins for GStreamer" HOMEPAGE="https://gstreamer.freedesktop.org/" LICENSE="LGPL-2" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" # TODO: egl and gtk IUSE only for transition IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vcd vnc wayland" # Keep default IUSE mirrored with gst-plugins-base where relevant diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.14.2.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.14.2.ebuild new file mode 100644 index 000000000000..ec03046828cd --- /dev/null +++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.14.2.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE="gst-plugins-bad" + +inherit flag-o-matic gstreamer virtualx + +DESCRIPTION="Less plugins for GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" + +# TODO: egl and gtk IUSE only for transition +IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vcd vnc wayland" # Keep default IUSE mirrored with gst-plugins-base where relevant + +# X11 is automagic for now, upstream #709530 - only used by librfb USE=vnc plugin +# We mirror opengl/gles2 from -base to ensure no automagic openglmixers plugin (with "opengl?" it'd still get built with USE=-opengl here) +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},egl?,introspection?,gles2=,opengl=] + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + + bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) + vnc? ( X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) ) + wayland? ( + >=dev-libs/wayland-1.4.0[${MULTILIB_USEDEP}] + >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] + >=dev-libs/wayland-protocols-1.4 + ) + + gtk? ( >=media-plugins/gst-plugins-gtk-${PV}:${SLOT}[${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" + +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 +" + +RESTRICT="test" + +src_prepare() { + default + addpredict /dev # Prevent sandbox violations bug #570624 +} + +multilib_src_configure() { + local myconf=() + if use opengl || use gles2; then + myconf+=( --enable-gl ) + else + myconf+=( --disable-gl ) + fi + + # Always enable shm (shm_open) and ipcpipeline (sys/socket.h); no extra deps + gstreamer_multilib_src_configure \ + $(multilib_native_use_enable introspection) \ + $(use_enable bzip2 bz2) \ + $(use_enable orc) \ + $(use_enable vcd) \ + $(use_enable vnc librfb) \ + $(use_enable wayland) \ + --disable-examples \ + --disable-debug \ + --without-player-tests \ + --enable-shm \ + --enable-ipcpipeline \ + "${myconf[@]}" + + if multilib_is_native_abi; then + local x + for x in libs plugins; do + ln -s "${S}"/docs/${x}/html docs/${x}/html || die + done + fi +} + +multilib_src_test() { + unset DISPLAY + # Tests are slower than upstream expects + virtx emake check CK_DEFAULT_TIMEOUT=300 +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/gst-plugins-base/Manifest b/media-libs/gst-plugins-base/Manifest index b1020844e629..06c2096cd1ab 100644 --- a/media-libs/gst-plugins-base/Manifest +++ b/media-libs/gst-plugins-base/Manifest @@ -3,7 +3,10 @@ AUX gst-plugins-base-0.10.36-resync-ringbuffer.patch 530 BLAKE2B cbf4d51313e94df DIST gst-plugins-base-0.10.36.tar.xz 2364108 BLAKE2B a71ef5d5c7462d60937602681c060e85ed086a753b7ef354dad48354d6c3741d809f2c0c6a321ef9ac60fb12d24ec65e1baa63e51211134d2a5e03aae16f73d2 SHA512 ea77778e073515df58229a641b4363df31f0b80204a5a43a8feb31f0b03a5a4b9b79d6e07e1615c773a59927a9b649f1b1d782def1120d581d09a090be8363b8 DIST gst-plugins-base-1.12.4.tar.xz 3119468 BLAKE2B d5ac157618a25c8f0323d1922d5b26b0b5c49f56cb75df3ceeadd0566f873be1a06c863a1da6afff40901fbbbeb1ec6cd6ef4614309ca7f7ff988c0fa9040a10 SHA512 89a6e92cd294612cf1406eb156416ab4606643f6b43637e64a18f6f28ab789ca8d4cf1308434ed85e5fc679c79cc3ca115db48f37e0065a6ab3cdfdbaaad9f53 DIST gst-plugins-base-1.14.1.tar.xz 3689184 BLAKE2B 17abcab2c84b113180de55d6c781ae11feec66c215febfffefe4a22353c56e82a585647688e2078603b6c3ece6f26afa99969091a72886880a2f8549dd9cb379 SHA512 bca9db8780fe24c19a2c4eae9a16dc0856cb38077580e4344bd4f7fa9a7a03079b92556ff35475a574f624a5a721d80ef925790670e4cc809361ed01108a141e +DIST gst-plugins-base-1.14.2.tar.xz 3693856 BLAKE2B 7ed05718bfd1dcb15e05e5a2c8758ad409c4ad7f331146363f264aaf7123c8a14c1db81f482710d1069d33e5281087f66e2e38504e39b214befba73ffdd9295c SHA512 35e7eb5c42fe265d38c433575f88d3306f15ff927a989eb375ed5399cbf92af2e9bf553d6eee349dc13673540cee00e1f879595f25e58c188ea443d8a969682f 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 6102 BLAKE2B 2e5543ef26b921e51d23a7a0755a421c77b912a625b19b0c98000dbea15965215f0d82972da1fb4445aa04e294cd9dde05c83227d54978bb5c3d1ca0a75972ba SHA512 6e88ebbb6df81bdb4366bb57ace44029c156e6d9d14edbab27cbc0c21c2a457811372a96572aefd4f05dac3f20e6db1f3a9c92871853cc57699050059a3a830a +EBUILD gst-plugins-base-1.14.1.ebuild 6101 BLAKE2B 59b7553bf67e3f8c293cd45c2db84e5012babbef8bd026bba645500c9f723dde58bff6b0f0d796c1ce680f858263009af2718ab084ba03322097d5416228f6e4 SHA512 4527760fb7655f9cc0f796f992a4a936e63f3bc5573a0407736b93e78dbef4e1f289738c15cc98841b4cdf2de38927d99fb1a338b01d8a90fc24bf66b4b0053a +EBUILD gst-plugins-base-1.14.2-r1.ebuild 5864 BLAKE2B 9599c02678f4fa2d819a63913ee1e2e184a0f6e025c2942b30318636d36c197d9900117c78fbbe10bd561080a70b4f49ac4a16ffa8c523821291812b4ec5ea7e SHA512 0f13e35bc2e3009d0907807f53dbdcb6d3c317e53cc0a2e1d07c0c3126db6f4b6904d6be5a1be0e6bbc644fbb69e5d5ca966b88b136a72e6138a5fde6651f73e +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.1.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.14.1.ebuild index 35fed391acd0..6b6a09e0f0f9 100644 --- a/media-libs/gst-plugins-base/gst-plugins-base-1.14.1.ebuild +++ b/media-libs/gst-plugins-base/gst-plugins-base-1.14.1.ebuild @@ -10,7 +10,7 @@ DESCRIPTION="Basepack of plugins for gstreamer" HOMEPAGE="https://gstreamer.freedesktop.org/" LICENSE="GPL-2+ LGPL-2+" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" # 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/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 new file mode 100644 index 000000000000..98fe3b98dd5d --- /dev/null +++ b/media-libs/gst-plugins-base/gst-plugins-base-1.14.2-r1.ebuild @@ -0,0 +1,180 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE="gst-plugins-base" + +inherit flag-o-matic gstreamer + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="GPL-2+ LGPL-2+" +KEYWORDS="~amd64 ~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 +# * opengl platforms - glx and/or egl; also cgl, wgl, eagl for non-linux; USE="X opengl" enables glx platform; USE="egl" enables egl platform. Rest is up for relevant prefix teams. +# * opengl windowing system - x11, wayland, win32, cocoa, android, viv_fb, gbm and/or dispmanx; USE=X enables x11 (but for WSI it's automagic - FIXME), USE=wayland enables wayland, USE=gbm enables gbm (automagic upstream - FIXME); rest is up for relevant prefix/arch teams/contributors to test and provide patches +# With the following limitations: +# * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl +# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case +# * glx platform requires opengl API +# * wayland, gbm and most other non-glx WSIs require egl platform +# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options; +# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; +# and libpng/jpeg are required for gloverlay element; + +# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad +IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X" +GL_REQUIRED_USE=" + || ( gbm wayland X ) + wayland? ( egl ) + gbm? ( egl ) +" +REQUIRED_USE=" + ivorbis? ( ogg ) + theora? ( ogg ) + vorbis? ( ogg ) + opengl? ( || ( egl X ) ${GL_REQUIRED_USE} ) + gles2? ( egl ${GL_REQUIRED_USE} ) +" + +# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl) +# dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options +GL_DEPS=" + >=media-libs/mesa-9.0[egl?,gbm?,gles2?,wayland?,${MULTILIB_USEDEP}] + egl? ( + x11-libs/libdrm + ) + gbm? ( + >=dev-libs/libgudev-147[${MULTILIB_USEDEP}] + >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] + ) + wayland? ( + dev-libs/wayland[${MULTILIB_USEDEP}] + ) + + >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] + media-libs/libpng:0[${MULTILIB_USEDEP}] + virtual/jpeg:0[${MULTILIB_USEDEP}] +" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element + +RDEPEND=" + app-text/iso-codes + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-${PV}:1.0[introspection?,${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) + ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] ) + pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) + theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) + vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] + ) + + gles2? ( ${GL_DEPS} ) + opengl? ( ${GL_DEPS} ) + + !=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] + +RDEPEND=" + app-text/iso-codes + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-${PV}:1.0[introspection?,${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) + ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] ) + pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) + theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) + vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] + ) + + gles2? ( ${GL_DEPS} ) + opengl? ( ${GL_DEPS} ) + + !element, "size-time", 0, NULL); ++ g_object_set (h->element, "size-time", (guint64) 0, NULL); + bufin = create_rtp_packet (96, 0xabe2b0b, 0x111111, 0); + bufout = gst_harness_push_and_pull (h, bufin); + fail_unless (bufin == bufout); + fail_unless (gst_buffer_is_writable (bufout)); + +- g_object_set (h->element, "size-time", +- (G_N_ELEMENTS (bufs) - 1) * RTP_PACKET_DUR, NULL); ++ g_object_set (h->element, ++ "size-time", (guint64) (G_N_ELEMENTS (bufs) - 1) * RTP_PACKET_DUR, NULL); + + // Pushing 10 buffers all of them should have ref. count =2 + for (i = 0; i < G_N_ELEMENTS (bufs); ++i) { +@@ -139,7 +140,7 @@ GST_START_TEST (rtpstorage_stop_redundant_packets) + GstHarness *h = gst_harness_new ("rtpstorage"); + GstBuffer *bufinp; + +- g_object_set (h->element, "size-time", 2 * RTP_PACKET_DUR, NULL); ++ g_object_set (h->element, "size-time", (guint64) 2 * RTP_PACKET_DUR, NULL); + gst_harness_set_src_caps_str (h, "application/x-rtp"); + + bufinp = create_rtp_packet (96, 0xabe2b0b, 0x111111, 0); +@@ -159,7 +160,7 @@ GST_START_TEST (rtpstorage_unknown_ssrc) + { + GstBufferList *bufs_out; + GstHarness *h = gst_harness_new ("rtpstorage"); +- g_object_set (h->element, "size-time", RTP_PACKET_DUR, NULL); ++ g_object_set (h->element, "size-time", (guint64) RTP_PACKET_DUR, NULL); + gst_harness_set_src_caps_str (h, "application/x-rtp"); + + /* No packets has been pushed through yet */ +@@ -182,7 +183,7 @@ GST_START_TEST (rtpstorage_packet_not_lost) + GstBuffer *buf; + GstBufferList *bufs_out; + GstHarness *h = gst_harness_new ("rtpstorage"); +- g_object_set (h->element, "size-time", 10 * RTP_PACKET_DUR, NULL); ++ g_object_set (h->element, "size-time", (guint64) 10 * RTP_PACKET_DUR, NULL); + gst_harness_set_src_caps_str (h, "application/x-rtp"); + + /* Pushing through 2 frames + 2 FEC */ +@@ -212,7 +213,7 @@ GST_START_TEST (test_rtpstorage_put_recovered_packet) + GstBuffer *bufs_in[4]; + GstBufferList *bufs_out; + GstHarness *h = gst_harness_new ("rtpstorage"); +- g_object_set (h->element, "size-time", 10 * RTP_PACKET_DUR, NULL); ++ g_object_set (h->element, "size-time", (guint64) 10 * RTP_PACKET_DUR, NULL); + gst_harness_set_src_caps_str (h, "application/x-rtp"); + + /* Pushing through 2 frames + 2 FEC +@@ -331,7 +332,7 @@ _multiple_ssrcs_test (guint16 nth_to_loose, + guint16 stream0_seq_start = 200; + guint16 stream1_seq_start = 65529; + GstHarness *h = gst_harness_new ("rtpstorage"); +- g_object_set (h->element, "size-time", 12 * RTP_PACKET_DUR, NULL); ++ g_object_set (h->element, "size-time", (guint64) 12 * RTP_PACKET_DUR, NULL); + gst_harness_set_src_caps_str (h, "application/x-rtp"); + + _single_ssrc_test (h, 0x0abe2b0b, stream0_seq_start, +@@ -453,8 +454,8 @@ GST_START_TEST (rtpstorage_stress) + StressTestData test_data; + guint seed, i, total, requested; + GstHarness *h = gst_harness_new ("rtpstorage"); +- g_object_set (h->element, "size-time", +- STRESS_TEST_STORAGE_DEPTH * RTP_PACKET_DUR, NULL); ++ g_object_set (h->element, ++ "size-time", (guint64) STRESS_TEST_STORAGE_DEPTH * RTP_PACKET_DUR, NULL); + + /* The stress test pushes buffers with STRESS_TEST_SSRCS different + * ssrcs from one thread and requests packets for FEC recovery from +diff --git a/tests/check/elements/rtpulpfec.c b/tests/check/elements/rtpulpfec.c +index e0fa972..57de5cd 100644 +--- a/tests/check/elements/rtpulpfec.c ++++ b/tests/check/elements/rtpulpfec.c +@@ -154,7 +154,8 @@ harness_rtpulpfecdec (guint32 ssrc, guint8 lost_pt, guint8 fec_pt) + g_strdup_printf ("application/x-rtp,ssrc=(uint)%u,payload=(int)%u", + ssrc, lost_pt); + +- gst_harness_set (h, "rtpstorage", "size-time", 200 * RTP_PACKET_DUR, NULL); ++ gst_harness_set (h, "rtpstorage", "size-time", (guint64) 200 * RTP_PACKET_DUR, ++ NULL); + gst_harness_get (h, "rtpstorage", "internal-storage", &internal_storage, + NULL); + gst_harness_set (h, "rtpulpfecdec", "storage", internal_storage, "pt", fec_pt, +-- +cgit v1.1 + diff --git a/media-libs/gst-plugins-good/gst-plugins-good-1.14.1.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-1.14.1.ebuild index 8cb61b850058..9e3be4a177fb 100644 --- a/media-libs/gst-plugins-good/gst-plugins-good-1.14.1.ebuild +++ b/media-libs/gst-plugins-good/gst-plugins-good-1.14.1.ebuild @@ -10,7 +10,7 @@ DESCRIPTION="Basepack of plugins for GStreamer" HOMEPAGE="https://gstreamer.freedesktop.org/" LICENSE="LGPL-2.1+" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="+orc" RDEPEND=" @@ -25,6 +25,8 @@ DEPEND="${RDEPEND} >=dev-util/gtk-doc-am-1.12 " +PATCHES=( "${FILESDIR}"/${PV}-fix-32bit-rtpstorage-test.patch ) + multilib_src_configure() { # Always enable optional bz2 support for matroska # Always enable optional zlib support for qtdemux and matroska diff --git a/media-libs/gst-plugins-good/gst-plugins-good-1.14.2.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-1.14.2.ebuild new file mode 100644 index 000000000000..daf9c7a0a3b6 --- /dev/null +++ b/media-libs/gst-plugins-good/gst-plugins-good-1.14.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE="gst-plugins-good" + +inherit flag-o-matic gstreamer + +DESCRIPTION="Basepack of plugins for GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2.1+" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="+orc" + +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP}] + >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 +" + +multilib_src_configure() { + # Always enable optional bz2 support for matroska + # Always enable optional zlib support for qtdemux and matroska + # Many media files require these to work, as some container headers are often + # compressed, bug #291154 + gstreamer_multilib_src_configure \ + --enable-bz2 \ + --enable-zlib \ + --disable-examples \ + --with-default-audiosink=autoaudiosink \ + --with-default-visualizer=goom + + if multilib_is_native_abi; then + ln -s "${S}"/docs/plugins/html docs/plugins/html || die + fi + +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/gst-plugins-ugly/Manifest b/media-libs/gst-plugins-ugly/Manifest index c4529024d96b..ed8b1a941bf9 100644 --- a/media-libs/gst-plugins-ugly/Manifest +++ b/media-libs/gst-plugins-ugly/Manifest @@ -1,7 +1,9 @@ DIST gst-plugins-ugly-0.10.19.tar.xz 882452 BLAKE2B df5319481ade22d7acdee6e22ca57a444e104c8540bc4b578cfe7554c79bb4ee33b23a8516940f6504c30d9403c4ced2434e11f3a48548c3721d3d3db2016757 SHA512 16d030998142f698f8ab7dbe55c0c6c8db05ade6b3c007a3aacb5491592e8c60e0a9d62f1a840eab4d57825b1beb9017e3f68f5a90288435216586d67040deda DIST gst-plugins-ugly-1.12.4.tar.xz 904592 BLAKE2B 6ec59cea23ba45e705fc3140530576232c758884cc7cdcc293022233f4aeb440918c147563706a7309253dab318190bd6484fe2ac21af4b54af61ede349a1e82 SHA512 920f5be5a060293319f4c45bf7f28e14953e897473a04e1c83bce61261365198a6dc2d7ad6cf5396b2bbdc35a5f77014741e902e67c00c3c6596680ab9924e8a DIST gst-plugins-ugly-1.14.1.tar.xz 884668 BLAKE2B 8e1cef0ebabac65ad2b1d6ac3fdc04fbb3ae0da0b9f4c0d18f03533ae12dda03d04763bbeab079aebe3637df664dc2e94adc36008cacfb6c00b9ac8b4a228241 SHA512 0eaa9435e93596cb2c2ed1d3540dd3c4f4de1dd18da8359ca5918b0fbdccda9d5b8f33e5aeb54186ed9d70518712aca92e8ffe7884fc13a3ca3174552c10a688 +DIST gst-plugins-ugly-1.14.2.tar.xz 887116 BLAKE2B f1dc5732ef6e9dc7909d1131d36429cf140c6861b07abc97818afbf180a9fc986914c23228328126d4a93f5da234238f95b96ad36e8a4ffdec76554a24ddd213 SHA512 7902a6ef6d207663eebf00d630aac9c20b1ae0c333890f1f6aba8544eff0ef4d349b4d1d0e481d8cbcd5b1800f900ea4e6a0cb6017b0727559ab5c5acc3d0ea5 EBUILD gst-plugins-ugly-0.10.19-r1.ebuild 1058 BLAKE2B 3e51a96a9cec4e7cb9d5ea36620fc7210b0efdf9fb9d4e88984eb492786c441a6bedf87a91133ec24e014a08bbe161e785cab0415bc6e0844d8a0db5d4be5d69 SHA512 32c32c59686f099e1e5a9c2b75aad193fdcff900734d8dee31129a00cbdf84e219ae86c89bc6e35f4c5fb54532183cbe24683c463ce45e92c26041267e5ee1d1 EBUILD gst-plugins-ugly-1.12.4.ebuild 1029 BLAKE2B 552f9a5075bd61c3b8cfa6659fa834fef445a19059f9a10cf7c6ac0e72db070dfa807f02db3534a037eebf94c1effd3555f701d1131b2868f0694ec9dae3f81e SHA512 6c0815445be549b133012a5e1fe90fe798df27f4c55f73e8bf816db04f5871c4e12f5c8978ad117696a1afaf3202e5627f8a849b78e642d97a76543ccabdbdd2 -EBUILD gst-plugins-ugly-1.14.1.ebuild 971 BLAKE2B ec697b8dcb53d1f6b24436bd90f61e7b36bf595d5ff700be4f6a66d772aa723d1407c47a313533776c7d4acf657d00786f326007cab6cb813bfa044611d9bdd6 SHA512 bf5ab5623e1aaed37de2b0575f204d21de077748b985dbe9518edf6dffd01da756a27a19385121d14cf3314f5038ae9b0c4fc8456921794ec2bf039deb003ae7 +EBUILD gst-plugins-ugly-1.14.1.ebuild 970 BLAKE2B 17b3eb074dc05162413898e0d56515beb19dd6b8401fc117745dafb888806cd29834b6634f746d4310b71efae08bcb238c194a952082633ccb413be74bed4ed7 SHA512 0c5d860428c02eb63b35141fb08f1dee5afa1a3ac126a0b2ef37f2df2cabd49a564ce562ade148af12b9ae690869f89b637d5d381353ef52a961579df78f6b4a +EBUILD gst-plugins-ugly-1.14.2.ebuild 976 BLAKE2B 7096ff1cd28e8ca267d014b6c5444ae3311410de4d2dcb194e008a2d33fb97181f6cf47a9a0f7be414afc2e76ce74abc2ba5bdba5bc1ebb572d71b77abb36c95 SHA512 ce35f48e6ce9378ea81c11b328c6de5c50b5bb3f2bfea435b4c085cb96a8e9612ddaf1de7e63a56be84fb9b19b64edc3ffc2edd49c1ec9e4c935850cacfd8ae3 MISC metadata.xml 345 BLAKE2B c8af39d4811da5ca9cad30110ed9b2a090fd27a957bf32f831b4c3f5a22bb87fcc15957151ce9752521d2a92c667568d8ab002c8f4f9ba3363d9b7ca79655ce8 SHA512 c8c693633f2fdbf66f2308a2ee82880bf0cdd58b0c1e42a2d3b2733b3a7411769da60e8beb375def6473fe50303f1a68a0c7712e48abf88935b045f93103b206 diff --git a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.14.1.ebuild b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.14.1.ebuild index 3fb380a37599..effeaf4c44be 100644 --- a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.14.1.ebuild +++ b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.14.1.ebuild @@ -10,7 +10,7 @@ DESCRIPTION="Basepack of plugins for gstreamer" HOMEPAGE="https://gstreamer.freedesktop.org/" LICENSE="LGPL-2+" # some split plugins are LGPL but combining with a GPL library -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd" RDEPEND=" >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] diff --git a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.14.2.ebuild b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.14.2.ebuild new file mode 100644 index 000000000000..1b31266066c2 --- /dev/null +++ b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.14.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE="gst-plugins-ugly" + +inherit gstreamer + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2+" # some split plugins are LGPL but combining with a GPL library +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" + +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 +" + +multilib_src_configure() { + gstreamer_multilib_src_configure + + if multilib_is_native_abi; then + ln -s "${S}"/docs/plugins/html docs/plugins/html || die + fi + +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/gst-rtsp-server/Manifest b/media-libs/gst-rtsp-server/Manifest index e3c23bddf189..ad2b92b15cb2 100644 --- a/media-libs/gst-rtsp-server/Manifest +++ b/media-libs/gst-rtsp-server/Manifest @@ -1,7 +1,7 @@ DIST gst-rtsp-0.10.8.tar.bz2 567670 BLAKE2B 10c01001a53daa039b1c48917fcd31ac0f6437d365bac2aa6b70d0b43cb94df89ab1d2a55b8fc89f5e04efffca142f99fe0f96a1c2708acc9a062f4f3a01cd8d SHA512 c5020cffa9334b7d9c6b9dbe6f32bd4580eeee1c67689269d232e954ef9d96d8b988e3fb19da89701eae26419df0bf6de5796f7780cfbedda4c07154b1c1ebd7 -DIST gst-rtsp-server-1.12.4.tar.xz 632488 BLAKE2B 86c9734128a34f3c3bb983133475ab0fd43a2ac79a76dcb1470a97165feca4a6b9b0c9dbf9177fe47a263eb2a192e57992eb767ffc938f7b0a026a252181dd2d SHA512 295c27803b22ba58fcbc2e2509246d64bb6bc038d8ad8b9fe5b82c75346cccff49c61157fb05e9557e45bcf791cc7b7720aea6dd2e23e9922a345da426f291f1 DIST gst-rtsp-server-1.14.1.tar.xz 662316 BLAKE2B 9ff6abe945b1a4936a713e098a2013c0d954a1f7f0fdf4f9d9ec0df9ff19f5526c96a95c101ae58db97a886cb477c001eea1dc056bd4e35e4bcd4cdd16a4dfcb SHA512 c559177434cd710702be623da0e9821e3867f865c94bfc425e558a467288ff77ee1ce9114389d8f8462fd979eb34a8da665d40e8e0b10a54a077f53ec954d07a +DIST gst-rtsp-server-1.14.2.tar.xz 665904 BLAKE2B 3f9ab3c1579d34ec8877bcc6da2802cc69aa444ef1fabfe548e2acf3b1c58eb0e29ffb09c250fb6d2ae61e4847bf2098c22874ec43266d46d5b402cbbbcda892 SHA512 81c64c31cef45479ec23d57b11d09950ca8c04820b6cf422af6caabccd71ad648e210a114f9f020136ddfdfc9e942c3eb15f055778d493d54c8770ed4f93634c EBUILD gst-rtsp-server-0.10.8-r1.ebuild 2664 BLAKE2B 1bfce81aa8708ae23b01096abd90c08e92c58a55c1126d0df3dbd9c50a78e09915c599ac7a32f3fcbe6ab3793521e3b74a6ec20add132fd7640d157a2267e900 SHA512 2c521e305cc9d6d759011fc85e51d9ea861d378aff73683b40a43af995481829d3c3e2d19fe2caf066b1f1d9e852b0f992b6f9289ef34b4b050ad22f33b5e464 -EBUILD gst-rtsp-server-1.12.4.ebuild 1966 BLAKE2B f5cde39a32483b1f3479dc91e5fb2805d04593b44ac7d0a0c994a58bdf08e21044f7e31fd66dea7d4108a9a348fb9fa589b276eb4e69cb027488e05784c35636 SHA512 105eb7ff35eddd4e352fb29a9bd8ee82c3d60724d938d60a6a3477d0e0a1f5821aa4a27ead53d894a27734fda9e7c760f34867f68439bad840d6da786d60bd99 -EBUILD gst-rtsp-server-1.14.1.ebuild 1973 BLAKE2B 965c56a9d22f5a74fdce76c7cb074e0ff96134ee4995705f055c10d4ed776618f55d9ddde067797085765e4e8f443e9b6ec6a3e2b7f30f62346a0360c7c1ffcf SHA512 2ecb777ec98eb73e32bcdebe52c7b3fb48b7429c01812ff128ce9a6e03e4f807b1b56ba6538fc341bce068c84a8f9f3b9ea32e62662f4b1e3d496df3aa97799c +EBUILD gst-rtsp-server-1.14.1.ebuild 1972 BLAKE2B e9da5d219ba17e2854e648312da591393d59444fcc5975af3f6f971ce31420c37622ab8e90da58b27faab0313c7d43e3be06f90bb0b2c048984b136e1a68e564 SHA512 db719263d1e443ef5d2fe939b60143676a41aae57c34ef0ccd9cbb9a99f4e107fb54fdfa84263492c1ee295ddff30dc6dd33c6b9cbb61f2e336d1cf61b43d7f8 +EBUILD gst-rtsp-server-1.14.2.ebuild 1988 BLAKE2B 64f7c871984d97e0d2f3af54306d5f836c8557574a58874caf061511582dae23a0974efd12287cdc10bfc133620e17fa2a9a7535f378529f79698c61a2743d60 SHA512 5f6b640daf97111c2f4055bbeea7dcfad2b5b6cab88d4fe0a870d53b69d3968fd08378b32c2e3d430be91396f2d31a0f4ede306d7ee833e9a2d567407a1f8c52 MISC metadata.xml 262 BLAKE2B 16a4a230ef5481afde96333e9555bee1771ced412b11eb982c633709dec57b274f78082ba3fe842f7d3406a688662d34792fff304027833286b30652e9982719 SHA512 608f0a17d576a3b23a6921272eb449a6efed76b3c4b3fdf8737b2d499b56d109186c2883c06e5c843799d2fb1606f3066c43759b40f9d7cf58b6a674c38dd0e0 diff --git a/media-libs/gst-rtsp-server/gst-rtsp-server-1.12.4.ebuild b/media-libs/gst-rtsp-server/gst-rtsp-server-1.12.4.ebuild deleted file mode 100644 index 08505584cfe2..000000000000 --- a/media-libs/gst-rtsp-server/gst-rtsp-server-1.12.4.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils gstreamer - -DESCRIPTION="A GStreamer based RTSP server" -HOMEPAGE="https://people.freedesktop.org/~wtay/" - -LICENSE="LGPL-2+" -KEYWORDS="amd64 x86" -IUSE="examples +introspection static-libs test" - -# FIXME: check should depend on USE=test but check is losy -# configure says good and bad are required by macros forces them to be optional -# they are only used in unittests anyway. -RDEPEND=" - >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] - >=media-libs/gstreamer-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}] - >=media-libs/gst-plugins-base-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}] - introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) -" -DEPEND="${RDEPEND} - >=dev-libs/check-0.9.2 - >=dev-util/gtk-doc-am-1.12 - test? ( - >=media-libs/gst-plugins-bad-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}] - >=media-libs/gst-plugins-good-${PV}:${SLOT}[${MULTILIB_USEDEP}] - ) -" - -# Due to gstreamer src_configure -QA_CONFIGURE_OPTIONS="--enable-nls" - -multilib_src_configure() { - # debug: only adds -g to CFLAGS - # docbook: nothing behind that switch - # libcgroup is automagic and only used in examples - gstreamer_multilib_src_configure \ - --disable-examples \ - --disable-docbook \ - --disable-gtk-doc \ - $(multilib_native_use_enable introspection) \ - $(use_enable static-libs static) \ - $(use_enable test tests) \ - LIBCGROUP_LIBS= \ - LIBCGROUP_FLAGS= - - # work-around gtk-doc out-of-source brokedness - if multilib_is_native_abi ; then - ln -s "${S}"/docs/libs/${d}/html docs/libs/${d}/html || die - fi -} - -multilib_src_install() { - emake install DESTDIR="${D}" - # Handle broken upstream modifications to defaults of gtk-doc - emake install -C docs/libs DESTDIR="${D}" - prune_libtool_files -} - -multilib_src_install_all() { - einstalldocs - - if use examples ; then - insinto /usr/share/doc/${PF}/examples - doins "${S}"/examples/*.c - fi -} diff --git a/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.1.ebuild b/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.1.ebuild index 37f5627705a1..b14b0810560b 100644 --- a/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.1.ebuild +++ b/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.1.ebuild @@ -9,7 +9,7 @@ DESCRIPTION="A GStreamer based RTSP server" HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-rtsp-server.html" LICENSE="LGPL-2+" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="examples +introspection static-libs test" # gst-plugins-base for many used elements and API diff --git a/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.2.ebuild b/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.2.ebuild new file mode 100644 index 000000000000..6669657cb4ce --- /dev/null +++ b/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gstreamer + +DESCRIPTION="A GStreamer based RTSP server" +HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-rtsp-server.html" + +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~x86" +IUSE="examples +introspection static-libs test" + +# gst-plugins-base for many used elements and API +# gst-plugins-good for rtprtxsend and rtpbin elements, maybe more +# gst-plugins-srtp for srtpenc and srtpdec elements +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-good-${PV}:${SLOT}[${MULTILIB_USEDEP}] + >=media-plugins/gst-plugins-srtp-${PV}:${SLOT}[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 +" + +# Due to gstreamer src_configure +QA_CONFIGURE_OPTIONS="--enable-nls" + +multilib_src_configure() { + # debug: only adds -g to CFLAGS + # docbook: nothing behind that switch + # libcgroup is automagic and only used in examples + gstreamer_multilib_src_configure \ + --disable-debug \ + --disable-valgrind \ + --disable-examples \ + --disable-docbook \ + --disable-gtk-doc \ + $(multilib_native_use_enable introspection) \ + $(use_enable static-libs static) \ + $(use_enable test tests) \ + LIBCGROUP_LIBS= \ + LIBCGROUP_FLAGS= + + # work-around gtk-doc out-of-source brokedness + if multilib_is_native_abi ; then + ln -s "${S}"/docs/libs/${d}/html docs/libs/${d}/html || die + fi +} + +multilib_src_install() { + emake install DESTDIR="${D}" + # Handle broken upstream modifications to defaults of gtk-doc + emake install -C docs/libs DESTDIR="${D}" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -delete || die + + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins "${S}"/examples/*.c + fi +} diff --git a/media-libs/gstreamer-editing-services/Manifest b/media-libs/gstreamer-editing-services/Manifest index 7c944f567601..34feb8c6b320 100644 --- a/media-libs/gstreamer-editing-services/Manifest +++ b/media-libs/gstreamer-editing-services/Manifest @@ -1,5 +1,5 @@ -DIST gstreamer-editing-services-1.12.4.tar.xz 1062972 BLAKE2B e2f401e419e793a37b3deac71696326f6d2c7491d7a138c40de8af46f2bd5ba415b56b9656a9d225d9704e3339b15aee3e587299441c2b75633a7792a954d4b3 SHA512 b845fc897384aaf691a9dcbf26e6ba682c9eca161e0ad227f47fb0865527d05254fd7b08d082e824a026bfe6909efe8069e3205e209a2e6dfce07f5a7d18dfdf DIST gstreamer-editing-services-1.14.1.tar.xz 1059888 BLAKE2B d176c5d4341df208ee87d71f1838e5bb6c3bce7f072a3214d6907b91e75a81f5cd79cf424266205641281d525dea7e36423ffb98adef3cddd54814ea763a8d00 SHA512 3801769a515f248b923c50ad51961175094a66f2aa55184e82ecb948331c05b6e297a723d5443db11ec3274ee48f56d6dcc8af8a95cf9e701cc4e02615f8e6e4 -EBUILD gstreamer-editing-services-1.12.4.ebuild 1585 BLAKE2B 75868a617e96b42260bd6a262d63d7bdeee53775abd3e69a6c89ab27ddad6fbf2d1f409fd7654cce486c7fdc9c2732c7237dae360aa22953cecb9e6889cdb7a5 SHA512 288c8f8e2e9051fac527270753ebb72509b930731093344e313ad59a5f94c9f30516419cd42491c95ad4828d551a0bf47047b13eee093c9680d7932a48a8ae8b -EBUILD gstreamer-editing-services-1.14.1.ebuild 1522 BLAKE2B 297dc0113cc3ad65279c71ccb0431f111752ecf67a26168873490775f443226237270520d9e1c85321a168a8ad84791e5e4af2885d826d319ccdc2158351dc9f SHA512 472e50e1987851dab0b3eed55a18d14f2023b951ed1f229e6e7908f08954a7b548535c4fc68f1c6e05741ca5efbeed73b96268d0ac6222ee0e73b415173b8205 +DIST gstreamer-editing-services-1.14.2.tar.xz 1063208 BLAKE2B b26db0c944e203026c1be242b80d3d16396d754c1883c07608f73f236d3e96979ef0eb5a7a0230fc360edd34caf22afa3d1e59eb4109ef17e60481b428703539 SHA512 74cd168d1308086e1b4c350eeec1757f790e05a8a762ebb7dd43c7ecdc0e747d7e5cfa2c3b0266eea18d98a369beb1fa544dafb4a1d22fe23af1d4e055322b29 +EBUILD gstreamer-editing-services-1.14.1.ebuild 1521 BLAKE2B b23e91bb494035a3cb02dd6c2d08c0a6677fe335da13d762b858546c6269a25cdc9cbce7ed63ee756636c59ff09275456df9bc54bed37f5db51d899a1bc7a809 SHA512 54c99267dc65545802775d41c321d6a153d100d6e871a7fe0ebe39af22c5424578e7053b408d5d6fbe766db3d00858f9f5b8b29d7c148ae9d980fb4ecf52c920 +EBUILD gstreamer-editing-services-1.14.2.ebuild 1544 BLAKE2B 2365ef8069067e9ca2be479806b2ceab658ffd8cdcf969537030902c04bc312017d60f3e7674729e53ba8ca28f5dbc9b2fed4083c45b69ce16b6fe4e77c00ba6 SHA512 ef6ec043c85673d84a5f34536106b00f14da86027a3da7f53e3f5221ee594249c14704a9b4e53e73b1a61e8dadcfd6d91a53c222be4d7d1f9054b22096184270 MISC metadata.xml 262 BLAKE2B 16a4a230ef5481afde96333e9555bee1771ced412b11eb982c633709dec57b274f78082ba3fe842f7d3406a688662d34792fff304027833286b30652e9982719 SHA512 608f0a17d576a3b23a6921272eb449a6efed76b3c4b3fdf8737b2d499b56d109186c2883c06e5c843799d2fb1606f3066c43759b40f9d7cf58b6a674c38dd0e0 diff --git a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.12.4.ebuild b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.12.4.ebuild deleted file mode 100644 index 4b935180db18..000000000000 --- a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.12.4.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) - -inherit bash-completion-r1 gnome2 python-r1 - -DESCRIPTION="SDK for making video editors and more" -HOMEPAGE="http://wiki.pitivi.org/wiki/GES" -SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz" - -LICENSE="LGPL-2+" -SLOT="1.0" -KEYWORDS="amd64 x86" - -IUSE="+introspection" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -COMMON_DEPEND=" - ${PYTHON_DEPS} - >=dev-libs/glib-2.40.0:2 - dev-libs/libxml2:2 - dev-python/pygobject:3[${PYTHON_USEDEP}] - >=media-libs/gstreamer-${PV}:1.0[introspection?] - >=media-libs/gst-plugins-base-${PV}:1.0[introspection?] - introspection? ( >=dev-libs/gobject-introspection-0.9.6:= ) -" -RDEPEND="${COMMON_DEPEND} - media-libs/gnonlin:1.0 -" -DEPEND="${COMMON_DEPEND} - >=dev-util/gtk-doc-am-1.3 - virtual/pkgconfig -" -# XXX: tests do pass but need g-e-s to be installed due to missing -# AM_TEST_ENVIRONMENT setup. -RESTRICT="test" - -src_configure() { - # gtk is only used for examples - gnome2_src_configure \ - $(use_enable introspection) \ - --disable-examples \ - --without-gtk \ - --with-bash-completion-dir="$(get_bashcompdir)" \ - --with-package-name="GStreamer editing services ebuild for Gentoo" \ - --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer-editing-services" -} - -src_compile() { - # Prevent sandbox violations, bug #538888 - # https://bugzilla.gnome.org/show_bug.cgi?id=744135 - # https://bugzilla.gnome.org/show_bug.cgi?id=744134 - addpredict /dev - gnome2_src_compile -} diff --git a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.14.1.ebuild b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.14.1.ebuild index c92668368cd1..99c5728eac18 100644 --- a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.14.1.ebuild +++ b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.14.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz" LICENSE="LGPL-2+" SLOT="1.0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="+introspection" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.14.2.ebuild b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.14.2.ebuild new file mode 100644 index 000000000000..0bb7fc8cf81d --- /dev/null +++ b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.14.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +GNOME2_LA_PUNT="yes" + +inherit bash-completion-r1 gnome2 python-r1 + +DESCRIPTION="SDK for making video editors and more" +HOMEPAGE="http://wiki.pitivi.org/wiki/GES" +SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="1.0" +KEYWORDS="~amd64 ~x86" + +IUSE="+introspection" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-libs/glib-2.40.0:2 + dev-libs/libxml2:2 + dev-python/pygobject:3[${PYTHON_USEDEP}] + >=media-libs/gstreamer-${PV}:1.0[introspection?] + >=media-libs/gst-plugins-base-${PV}:1.0[introspection?] + introspection? ( >=dev-libs/gobject-introspection-0.9.6:= ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.3 + virtual/pkgconfig +" +# XXX: tests do pass but need g-e-s to be installed due to missing +# AM_TEST_ENVIRONMENT setup. +RESTRICT="test" + +src_configure() { + # gtk is only used for examples + gnome2_src_configure \ + $(use_enable introspection) \ + --disable-examples \ + --without-gtk \ + --with-bash-completion-dir="$(get_bashcompdir)" \ + --with-package-name="GStreamer editing services ebuild for Gentoo" \ + --with-package-origin="https://packages.gentoo.org/package/media-libs/gstreamer-editing-services" +} + +src_compile() { + # Prevent sandbox violations, bug #538888 + # https://bugzilla.gnome.org/show_bug.cgi?id=744135 + # https://bugzilla.gnome.org/show_bug.cgi?id=744134 + addpredict /dev + gnome2_src_compile +} diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest index 334ecf628bc9..0106f09fa9cf 100644 --- a/media-libs/gstreamer/Manifest +++ b/media-libs/gstreamer/Manifest @@ -3,7 +3,9 @@ AUX gstreamer-make-grammar.y-work-with-bison-3.patch 820 BLAKE2B 1809d190e37fde6 DIST gstreamer-0.10.36.tar.xz 3025876 BLAKE2B f0f70f483e8ccb2a294fb3bc8b51aac089f5e76522249b64e3e60e7b488a9e03b9300617e2c137bdcc0e3e61668b7b203e899f270f004e2dfcee0927fa7dfc3c SHA512 7468abb578398681d2adb0e9bbc9ee8ae25aaef72369d45a66ada6c67d1759afdce606cb32e68d9e30ae813196bdfef3d4d33202bc77839cc1fbf5fc436c1bd8 DIST gstreamer-1.12.4.tar.xz 3177208 BLAKE2B cb859503edbe09cebbbfa70cb4edc5d433bbaa5b299e05921d30e6096f8765e17d449c45bd7d5ea3e4603ae46d337d4e3291b1d0456c7b72a7ebb41faad9e73a SHA512 849aa4ddf8ef465f2915e05d36fc0c31c2e31ae28be2fa38f8069a64a91b7347020fac5b881b7f3ee54c2198c3596138d49f27b09f258303834164a5d68b38a2 DIST gstreamer-1.14.1.tar.xz 3252440 BLAKE2B c2142621b126926dd9ec886f0478154b3f0d9b7adebc6169200b8bc7e4cd089dfe77cab2b436bf3c74cbcae5f84c95afbd05ba282d0afe3e8e226e6bc0f33e33 SHA512 9cf16d79774293dd7fa10c08f6628b83f4e77f0386bebbfd47ded0498e4abd48eee1aee164af53d59fbea2d395e42eb5a12ef4b8f631bc4fd5d4f69545191f9b +DIST gstreamer-1.14.2.tar.xz 3255404 BLAKE2B 290e8fec3eb6629a0e6e8f01c7c027fcc085f632afeac1ffe7bd4f1d8a9a3d3b78145334a11c91fcabea40b9f202a3b451ca55db13fd23be66c7167c76614932 SHA512 270dba318d15b54fff6e09d09d77dea13be55bbf82a5bb510efb43f954e234230505366cc6f19f5431e2dd24f5a7734daf5a89d9bd94de8302ed722df0e1eb84 EBUILD gstreamer-0.10.36-r2.ebuild 3843 BLAKE2B 5755f04502e3fd6bb5eafbba0710009fd0dba7f402c4a28c20c768ad6290201a900200a33f21b2d97bf6aa7596df06a0001530f001164eb2777a9f3b5cb0adfb SHA512 3a9be6924cb416b173297ff022edffb6a8c496607a4b5f88c1b81fb8489ec045e9f611a88a736fb67a84418d472e37fbdb078e9e9d8593a03418cb6658de6c67 EBUILD gstreamer-1.12.4.ebuild 3310 BLAKE2B 3628c62235e16443c6cc95dcdbaaf51b8e5931f6b50553eaa786b21b98fac481bfa27bdec00bfcef0f8abc78f3be5f1652e9996a13d75d8dc2022da1d368f07f SHA512 04ee255b76d7aa2fb18c978baf51dd427586a8255449931165c7e327eb16387e640a1a0f5ff7354dc3080f19dda5610a430994dfbbb41397df43d3155c183133 -EBUILD gstreamer-1.14.1.ebuild 3380 BLAKE2B 7f792b5e552de5918c7d5d0bb2aaae78c3681fbab1c8c1c2ae9274ea0b0b08b89ec89a6d8ce903e3e916dd02e124a50dea6f6cf662a23b8651ba699c60868b7f SHA512 569e34d8b04d4fb5455b5f53baa855165e86155f49bdd1c853311dce757216c87842e0d1d69d5c553a36106443cdf2ed4d146adfaedc8e5eb36f12a29004c182 +EBUILD gstreamer-1.14.1.ebuild 3379 BLAKE2B 9cbaf9991fab17d2e513e927049e70d8d0dd2358cc34fd6f51a96fedd2bb46c6c287aba9f83e517675902d101ddb76fd9b0ab0dba277dcc82394fdbca43e7977 SHA512 af215fcc0443177241b2c34d5b93cb17a84232f0cf8399c230a316317dab6a182e7d074c5783a7c2fe4b0ff01a98c628072659cdcfd741dc1a4f683a317a842d +EBUILD gstreamer-1.14.2.ebuild 3385 BLAKE2B a6c6839a8aefebe90e187edb2ef84df743f4597979e5bd9403e0f64640b15dde702de7bd712171cb8ba1106a189e6b4c6f4b14313837be8757f2ec8f61496053 SHA512 16fdfc15e1ffa26aa270541fdb611fa0f5dfb6b92990b743b58b023f17fe16ead20229fe424e52a3d00305802a1fcdb62f3125af149214bd3a47a666a464d569 MISC metadata.xml 586 BLAKE2B 319df0c2c013f3018bdb31afddcd80b298f9b74d0a581981f30d483b0773339befe4dc62eb78a267b3a0f5a63a7e6462bd0ece4d4285c0ca91a1329c12ba1b93 SHA512 f7de0325f671119a5b787dcba9572d06d58375ba9d815854beffd668da55e4d4695f586365b3455e63cd56f4469fb8e1a92ab6de4e05847668f56c076dfdaf57 diff --git a/media-libs/gstreamer/gstreamer-1.14.1.ebuild b/media-libs/gstreamer/gstreamer-1.14.1.ebuild index daa2b5ef45b5..f8dfc171de54 100644 --- a/media-libs/gstreamer/gstreamer-1.14.1.ebuild +++ b/media-libs/gstreamer/gstreamer-1.14.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz" LICENSE="LGPL-2+" SLOT="1.0" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="+caps +introspection nls +orc test unwind" RDEPEND=" diff --git a/media-libs/gstreamer/gstreamer-1.14.2.ebuild b/media-libs/gstreamer/gstreamer-1.14.2.ebuild new file mode 100644 index 000000000000..ed4c8f8861f2 --- /dev/null +++ b/media-libs/gstreamer/gstreamer-1.14.2.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit bash-completion-r1 multilib-minimal pax-utils + +DESCRIPTION="Open source multimedia framework" +HOMEPAGE="https://gstreamer.freedesktop.org/" +SRC_URI="https://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="+caps +introspection nls +orc test unwind" + +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + caps? ( sys-libs/libcap[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + unwind? ( + >=sys-libs/libunwind-1.2_rc1[${MULTILIB_USEDEP}] + dev-libs/elfutils[${MULTILIB_USEDEP}] + ) + !/CXXLINK/' \ - src/Makefile.am || die - sed -i \ - -e '/libharfbuzz_la_LINK = /s/\/CXXLINK/' \ - src/Makefile.in || die - sed -i \ - -e '/AM_V_CCLD/s/\/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/harfbuzz/harfbuzz-1.8.5.ebuild b/media-libs/harfbuzz/harfbuzz-1.8.5.ebuild new file mode 100644 index 000000000000..c723137a7e55 --- /dev/null +++ b/media-libs/harfbuzz/harfbuzz-1.8.5.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/\/CXXLINK/' \ + src/Makefile.am || die + sed -i \ + -e '/libharfbuzz_la_LINK = /s/\/CXXLINK/' \ + src/Makefile.in || die + sed -i \ + -e '/AM_V_CCLD/s/\/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/imlib2/Manifest b/media-libs/imlib2/Manifest index 9cb6de54c9a7..51b22ae43812 100644 --- a/media-libs/imlib2/Manifest +++ b/media-libs/imlib2/Manifest @@ -1,7 +1,4 @@ -DIST imlib2-1.4.10.tar.gz 1016606 BLAKE2B 8d70930d3f4dabb3ead557337ad8eb65ebc84afce40fce97bd1b5bf3e78092d7c7d6c8a3d3604b6d6026cec4b7460a51d966c63a2d4b315c197de233a1205f32 SHA512 e8ba42399773fc8e340b914be4b07bb170ad39ea0840f909cc611ce2372fd2467148f0319aeae1a10b8b4f5ea6b38b1fc1fc68f649d4940b9096a2633a588987 -DIST imlib2-1.4.9.tar.gz 1028872 BLAKE2B 8c92cd9bb5b7ba43412fdb499e35e09f901538ae8beec23ffd96254b303c5ddd3e46c8850221f7ad24a462c9f04daee155878b41d96d602f3c9ca6aac2b1e386 SHA512 303436f447142153928e2d76226b6798c65cb834bf3bfb760e278d2558a3f072ff43fe46616baeea927254200c4535cc323f6a83c5d869def4f6a7213e30e2db DIST imlib2-1.5.1.tar.gz 1020701 BLAKE2B 33213a49293fba9e86cfec312d3cd8018c2284d60040b63899778d2fa65bffe173926eb14bc893c1a80e1472084a711423f77f6288779486512074e75d92acfd SHA512 9872aa3c4d45b1e9cbb0b1d0a7d5b47256e35f01a4fe19d84d276096c2da053c55bd28554441f92464d19edf1222b427571ba7b06d716031021ff1f9b4bc9656 -EBUILD imlib2-1.4.10.ebuild 2005 BLAKE2B b0792ae68d5ac1c4d0a17415d4614bfa35b7ea8e4293b55399abc897dbd98f04375efc2e60d349e968ddfd8757614689d2b6dd0b4d8ce18c6e7c882b0d26cdc4 SHA512 fcb939157b9e7d840c00af3700f2e119875bcfbeef2b48bc72aea6a835c66936c747de350894702abc8159c9925b7e6ec4f1c27eb2be773abff3fca396875801 -EBUILD imlib2-1.4.9.ebuild 1988 BLAKE2B 17390f940f2381e276754f332fa6d68e69dd2e34f5edf950c04dbeb62f4e2fec806a7756765f60334b8ee2cb0e7dd4584fb2c46ba533a47cd9e107eb6027669e SHA512 8b2310e639ce77034448dc4d917d5ab67b75c1dc835370f5975ef82e973099bcdef538612ca7ff4a1f32a83c49cd440d24c721a27de4c961ac3fdc60c4fbb92e -EBUILD imlib2-1.5.1.ebuild 1968 BLAKE2B 51cf776a53f08aa0f55136248c80f980082dd00ce9df5cf549fed7a46e1a97ce2962202267c7874264750e868a8fccca5d8f6866067584808001da1adfb10133 SHA512 7ee47df946294a8ec7b21488c9aa0ecccb325052e87ebca92930899fa2bd4bad8c1f3e0c4653d43f25a75acae85b8f209bb0c879a2fac48c123d6d77bca68e00 -MISC metadata.xml 2445 BLAKE2B 58a14b7c6eeb627113a5a2a4e72c3937b4b74b3ac6e363d8e0f735f25775178ac2aa5bae2ccc6881bc291d220268fc7db85cd33c0ec796ada823c7812c40d10a SHA512 7a6940cd007784b50b010af8d01992ba56bb756f6433e26ae4962ccdfe25efc41ca1b020b7d88f15cb784ba2d8cb39caffd89b727db7b7f7149ecb137dcaae6d +EBUILD imlib2-1.5.1-r1.ebuild 2103 BLAKE2B a014302a51fc32f7350df239ce57568c3a2da057592012b9052704ec264ff773223f1770835fb7e2b66c4dc0347da2130baa090a76b5c12307efaa12f97ff263 SHA512 696357d7f83070d3cb63970133a7884459f6376b7415a3f78a185061245fe10fe451a73d5e9e32a7cbf851a63b3660265e39e4ba8c14ea08a2bf8f95e34b15d2 +EBUILD imlib2-1.5.1.ebuild 1965 BLAKE2B 7da6e8ba071a76ac60fe4e84482c4755d2c73f6cd5239b72aeaee28937addd59d01b31c0f66b764a780d9159d89d1915a353f096bfa1a5dfb44c3ad7344f7ec0 SHA512 4ab5ded399a3df668baace65b1cecfe410fa25494ccd4e05badeda46ae671dd72891d42940711c3ef2448e18c715cb3d108ab475fc21d0af97007eed448d903c +MISC metadata.xml 2534 BLAKE2B 5f49ea63a52648dc587ea6409cd8030efc1ed82a3bd8c77f4b37c388e17e0faddd2d841616bf073c63aaf5440a9954c62bff07d9e94a6302d9285cad211180c9 SHA512 fb6cdef2cce2f36b2c772f54c81353e319223f45bfff52490165905e03a6ffd2c36c86e199f4bfd99b0450c3c1a23af371a12bee9c230308751362d1627791e5 diff --git a/media-libs/imlib2/imlib2-1.4.10.ebuild b/media-libs/imlib2/imlib2-1.4.10.ebuild deleted file mode 100644 index c6cf6140491b..000000000000 --- a/media-libs/imlib2/imlib2-1.4.10.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -EGIT_SUB_PROJECT="legacy" -EGIT_URI_APPEND=${PN} - -if [[ ${PV} != "9999" ]] ; then - EKEY_STATE="snap" -fi - -inherit enlightenment toolchain-funcs multilib-minimal eutils - -DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm" -HOMEPAGE="https://www.enlightenment.org/" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" - -IUSE="bzip2 gif jpeg cpu_flags_x86_mmx cpu_flags_x86_sse2 mp3 png static-libs tiff X zlib" - -RDEPEND="media-libs/freetype:2[${MULTILIB_USEDEP}] - bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) - gif? ( >=media-libs/giflib-4.1.6-r3:0=[${MULTILIB_USEDEP}] ) - png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) - jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] ) - tiff? ( >=media-libs/tiff-4.0.3-r6:0[${MULTILIB_USEDEP}] ) - X? ( - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] - ) - mp3? ( >=media-libs/libid3tag-0.15.1b-r3[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] - X? ( x11-base/xorg-proto )" - -multilib_src_configure() { - # imlib2 has diff configure options for x86/amd64 assembly - if [[ $(tc-arch) == amd64 ]]; then - E_ECONF+=( $(use_enable cpu_flags_x86_sse2 amd64) --disable-mmx ) - else - E_ECONF+=( --disable-amd64 $(use_enable cpu_flags_x86_mmx mmx) ) - fi - - [[ $(gcc-major-version) -ge 4 ]] && E_ECONF+=( --enable-visibility-hiding ) - - ECONF_SOURCE="${S}" \ - E_ECONF+=( - $(use_enable static-libs static) - $(use_with X x) - $(use_with jpeg) - $(use_with png) - $(use_with tiff) - $(use_with gif) - $(use_with zlib) - $(use_with bzip2) - $(use_with mp3 id3) - ) - - enlightenment_src_configure -} - -multilib_src_install() { - enlightenment_src_install -} diff --git a/media-libs/imlib2/imlib2-1.4.9.ebuild b/media-libs/imlib2/imlib2-1.4.9.ebuild deleted file mode 100644 index 5f43a4f2b01d..000000000000 --- a/media-libs/imlib2/imlib2-1.4.9.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -EGIT_SUB_PROJECT="legacy" -EGIT_URI_APPEND=${PN} - -if [[ ${PV} != "9999" ]] ; then - EKEY_STATE="snap" -fi - -inherit enlightenment toolchain-funcs multilib-minimal eutils - -DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm" -HOMEPAGE="https://www.enlightenment.org/" - -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" - -IUSE="bzip2 gif jpeg cpu_flags_x86_mmx cpu_flags_x86_sse2 mp3 png static-libs tiff X zlib" - -RDEPEND="media-libs/freetype:2[${MULTILIB_USEDEP}] - bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) - gif? ( >=media-libs/giflib-4.1.6-r3:0=[${MULTILIB_USEDEP}] ) - png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) - jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] ) - tiff? ( >=media-libs/tiff-4.0.3-r6:0[${MULTILIB_USEDEP}] ) - X? ( - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] - ) - mp3? ( >=media-libs/libid3tag-0.15.1b-r3[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] - X? ( x11-base/xorg-proto )" - -multilib_src_configure() { - # imlib2 has diff configure options for x86/amd64 assembly - if [[ $(tc-arch) == amd64 ]]; then - E_ECONF+=( $(use_enable cpu_flags_x86_sse2 amd64) --disable-mmx ) - else - E_ECONF+=( --disable-amd64 $(use_enable cpu_flags_x86_mmx mmx) ) - fi - - [[ $(gcc-major-version) -ge 4 ]] && E_ECONF+=( --enable-visibility-hiding ) - - ECONF_SOURCE="${S}" \ - E_ECONF+=( - $(use_enable static-libs static) - $(use_with X x) - $(use_with jpeg) - $(use_with png) - $(use_with tiff) - $(use_with gif) - $(use_with zlib) - $(use_with bzip2) - $(use_with mp3 id3) - ) - - enlightenment_src_configure -} - -multilib_src_install() { - enlightenment_src_install -} diff --git a/media-libs/imlib2/imlib2-1.5.1-r1.ebuild b/media-libs/imlib2/imlib2-1.5.1-r1.ebuild new file mode 100644 index 000000000000..ca27d229d37c --- /dev/null +++ b/media-libs/imlib2/imlib2-1.5.1-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal toolchain-funcs + +DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm" +HOMEPAGE="https://www.enlightenment.org/" +SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="bzip2 cpu_flags_x86_mmx cpu_flags_x86_sse2 doc gif jpeg mp3 nls png shm static-libs tiff X zlib" + +REQUIRED_USE="shm? ( X )" + +RDEPEND=" + media-libs/freetype:2[${MULTILIB_USEDEP}] + bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] ) + gif? ( media-libs/giflib[${MULTILIB_USEDEP}] ) + jpeg? ( ~virtual/jpeg-0:0=[${MULTILIB_USEDEP}] ) + mp3? ( media-libs/libid3tag[${MULTILIB_USEDEP}] ) + nls? ( sys-devel/gettext ) + png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) + tiff? ( >=media-libs/tiff-4.0.4:0[${MULTILIB_USEDEP}] ) + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + ) + zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig[${MULTILIB_USEDEP}] + X? ( x11-base/xorg-proto ) +" + +multilib_src_configure() { + local myconf_imlib2=( + $(use_with bzip2) + $(use_with gif) + $(use_with jpeg) + $(use_with mp3 id3) + $(use_with png) + $(use_with shm x-shm-fd) + $(use_enable static-libs static) + $(use_with tiff) + $(use_with X x) + $(use_with zlib) + ) + + # imlib2 has different configure options for x86/amd64 assembly + if [[ $(tc-arch) == amd64 ]]; then + myconf_imlib2+=( $(use_enable cpu_flags_x86_sse2 amd64) --disable-mmx ) + else + myconf_imlib2+=( --disable-amd64 $(use_enable cpu_flags_x86_mmx mmx) ) + fi + + ECONF_SOURCE="${S}" \ + econf "${myconf_imlib2[@]}" +} + +multilib_src_install() { + V=1 emake install DESTDIR="${D}" + + if use doc; then + local HTML_DOCS=( "${S}"/doc/. ) + rm "${S}"/doc/Makefile.{am,in} || die + fi + einstalldocs + + find "${D}" -name '*.la' -delete || die +} diff --git a/media-libs/imlib2/imlib2-1.5.1.ebuild b/media-libs/imlib2/imlib2-1.5.1.ebuild index 3810890007b8..3cd615595e69 100644 --- a/media-libs/imlib2/imlib2-1.5.1.ebuild +++ b/media-libs/imlib2/imlib2-1.5.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://downloads.sourceforge.net/enlightenment/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="bzip2 cpu_flags_x86_mmx cpu_flags_x86_sse2 gif jpeg mp3 nls png static-libs tiff X zlib" RDEPEND=" diff --git a/media-libs/imlib2/metadata.xml b/media-libs/imlib2/metadata.xml index 1a0d4be94cfd..01e33b1417ed 100644 --- a/media-libs/imlib2/metadata.xml +++ b/media-libs/imlib2/metadata.xml @@ -1,17 +1,20 @@ - - juippis@gmail.com - - - proxy-maint@gentoo.org - Proxy Maintainers - - -Imlib 2 is the successor to Imlib. It is not just a newer version - it is a -completely new library. Imlib2 can be installed alongside Imlib 1.x without any -problems since they are effectively different libraries - but they Have very + + juippis@gmail.com + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Use MIT shared memory support for X image transfer. + + +Imlib 2 is the successor to Imlib. It is not just a newer version - it is a +completely new library. Imlib2 can be installed alongside Imlib 1.x without any +problems since they are effectively different libraries - but they Have very similar functionality. Imlib2 can do the following: @@ -40,18 +43,18 @@ Imlib2 can do the following: * Provide on-the-fly runtime plug-in image loading and saving interface * Fastest image compositing, rendering and manipulation library for X -If what you want isn't in the list above somewhere then likely Imlib 2 does not -do it. If it does it it likely does it faster than any other library you can find -(this includes gdk-pixbuf, gdkrgb, etc.) primarily because of highly optimized -code and a smart subsystem that does the dirty work for you and picks up the +If what you want isn't in the list above somewhere then likely Imlib 2 does not +do it. If it does it it likely does it faster than any other library you can find +(this includes gdk-pixbuf, gdkrgb, etc.) primarily because of highly optimized +code and a smart subsystem that does the dirty work for you and picks up the pieces for you so you can be lazy and let all the optimizations for you. -Imlib 2 can run without a display, so it can be easily used for background image -processing for web sites or servers - it only requires the X libraries to be -installed - that is all - it does not require an XServer to run unless you wish +Imlib 2 can run without a display, so it can be easily used for background image +processing for web sites or servers - it only requires the X libraries to be +installed - that is all - it does not require an XServer to run unless you wish to display images. - - - enlightenment - + + + enlightenment + diff --git a/media-libs/libaom/Manifest b/media-libs/libaom/Manifest index 11443326b87a..9323a625ddf2 100644 --- a/media-libs/libaom/Manifest +++ b/media-libs/libaom/Manifest @@ -1,6 +1,6 @@ AUX libdirpc2.patch 2481 BLAKE2B 6236c31784ebd76884e716857e665824f9b325a97c2cb8e01a38c97b0398141202d7cab0a8d9b69b037ad8ba0b7d5e293bda3e2c491906ac6dd9555f7d4631ec SHA512 ec47d5b026c4b687649a2ce46500376103ae3fef21cba2cb564771c3738dba4e61e51858875516f884ab4604b0c160e6ee07b98e6740643e18f596c624df1ccb AUX pthread_lib2.patch 535 BLAKE2B 17eabab9e5d7b9d22b4f25ec8006e7e48bc3683b88f560bcb092234a1448ff47ae20d6ba04efb1af5742d7fc253acf9c944322acc8e8ed1acfad0b08df358eda SHA512 be19983342bae014409dd22c2e94ce11a5003a8ded3547a287ff71f53ef63ce1a1cfd6cdfbbfbf36deece2d3c1d9fb3e8e679598698a045229f79ba704976001 DIST libaom-1.0.0.tar.gz 2775454 BLAKE2B 09b891d365804f0c086785a00760af3191b40fc66fc752294e915b54454171fb47d3d1b037fb6d276727772ceec3177d78c14f90a2b01e28250d2de735bf02ec SHA512 131512ef286cb138047bb56dea54196f9a8d2b0d9f3d7689299f185338e5c03ee658b0cfe017a099f1a6be351a3a7157204dea70d2645a1d0a9249fd582c3fa4 -EBUILD libaom-1.0.0.ebuild 2369 BLAKE2B f3fab7bda7c1aaaeab7dfb6cc3da7ddec3e1176e48a48a912b0e11a8206ce3ee3200993b94fb00759f3b75e701659157f15b7fdca2208d7d1d07a59f75969409 SHA512 7f7d1450f4f7c1bd605c86f0d0900b50d1773a7f19b2da3efb6f1077f46acc1912c7c5635010ba57661cacf5cef436040f3257d817812ce538b3f5785d03a965 +EBUILD libaom-1.0.0.ebuild 2374 BLAKE2B 8728a4a8d71dac7a07f4c91bec20802aa8595c0b4171ea01effe66bff9e83cc66aa37e81b837bc014242af63c3bc0bcada084b4c61eb7ecad5d8861fa466e721 SHA512 d7f35a202de62518fbaec96a3cabd4549e0acc9e306cd8f9715ac279f59067c624e3e58ae92f515d8ff2b22611c72583d1747fb56c57ed129b50b450bae815f8 EBUILD libaom-9999.ebuild 2369 BLAKE2B f3fab7bda7c1aaaeab7dfb6cc3da7ddec3e1176e48a48a912b0e11a8206ce3ee3200993b94fb00759f3b75e701659157f15b7fdca2208d7d1d07a59f75969409 SHA512 7f7d1450f4f7c1bd605c86f0d0900b50d1773a7f19b2da3efb6f1077f46acc1912c7c5635010ba57661cacf5cef436040f3257d817812ce538b3f5785d03a965 MISC metadata.xml 223 BLAKE2B 1a772bb5add75cb4343b09bb2456adcd5e46896daaab4091ab64b667c5fa1a4adab0940015a3e755df3d6540b456694dc67ef9581d02d40c63b89290f8f83e43 SHA512 27b688917e0b1c4a75ea34c97d2d67d309573941492ab04124de11034f3b2796480f02408d86e2eba77ca2000722ea6606fe12a49622c04f9e2c1fa27b6fc8db diff --git a/media-libs/libaom/libaom-1.0.0.ebuild b/media-libs/libaom/libaom-1.0.0.ebuild index eaba897ff301..974471879de8 100644 --- a/media-libs/libaom/libaom-1.0.0.ebuild +++ b/media-libs/libaom/libaom-1.0.0.ebuild @@ -16,7 +16,7 @@ else SRC_URI="mirror://gentoo/${P}.tar.gz" S="${WORKDIR}" fi - KEYWORDS="~amd64 ~hppa ~ia64 ~x86" + KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~x86" fi DESCRIPTION="Alliance for Open Media AV1 Codec SDK" diff --git a/media-libs/libepoxy/Manifest b/media-libs/libepoxy/Manifest index 5ce09ae7bea6..8fc92dbfc675 100644 --- a/media-libs/libepoxy/Manifest +++ b/media-libs/libepoxy/Manifest @@ -4,7 +4,7 @@ DIST libepoxy-1.5.1.tar.gz 324985 BLAKE2B 338b558ca3c174c04383dfc1bfe4f444965aef DIST libepoxy-1.5.2.tar.gz 324905 BLAKE2B bbc1904b99e6674b03259bc2a5f4076f248d698e80a6f57013f5c19dcb5d6c22fe8b821eae3ff014f40c273a6f91ad3efc054ec48ddf5b8e8b5d8e12da3b60cc SHA512 3dfa10b356d6105fc8b1fda62dcf025b20a786b37f82c8275b3f12df8d3a62bbd4a9800abac396cfb48b789f72ff3c5f7a796eb83f046e978f9403a53e6ddf0d EBUILD libepoxy-1.4.2.ebuild 1055 BLAKE2B 585d84565beffa47a418913e8b9833c38676f551222dae02c1f0f4a20788a8a27727709ea9bd4df4fa27e136b2f5e3b1c8797abb4ffd761d9e48ec8eb39dd14f SHA512 80291d0d467d736c6e865ad9786ec876a64e6b05ecc22e5df13a7ac60ee48703a514d73bc42562eabf7d54364b8e6a00635904478e551ca4dd70a9694e4e9356 EBUILD libepoxy-1.4.3.ebuild 1080 BLAKE2B 4546353e099a85502a82a35c551621e1092fa21228ea78c3f02ab8db8ed760472ec42ed08b1a86d29a8a0079912c8e12f8d784fb5bf1064bc78f6af573cba4e4 SHA512 706ca5de96e6833cd77237c95dd9d638e06dd1b266ce0522db3774f37edfd61293c2fbf7fc480ff02484f124042875dca28b630ca6b72806ab945aafb3e23cd8 -EBUILD libepoxy-1.5.1.ebuild 1203 BLAKE2B dccf195c51e8a940a4e8d662069d86aaf933dc04bea426bdad78a49745b282edd392f4373f31a1863ace42e824476b88ddd177bb1ac8bfc13a777124d7e81524 SHA512 6ff58a8592e299ab63c3128428b0b817a1aee5f09cb2b112a14fe4edf7e96f5f180928ecce1be1e6a3e2e8caa141db4ac3951ad4fb944c9dc7ff8398f436ded6 -EBUILD libepoxy-1.5.2.ebuild 1253 BLAKE2B 764a6e010d232ffb04193ace7e1e2b209bba2acb667d06b570095df7b1ab68e80a414bd73360a2b0b2c49eb6c5132da87452d1b74f0fb0014784d0e4c448ece4 SHA512 42ef98f03c60a60cda685c8ec151195c307c908a6dd01e07172aca1755527425afeb2de3e705503594794b58f3b3cfbe0cdbbcf3551a68142e1be7bd2937e5fe -EBUILD libepoxy-9999.ebuild 1253 BLAKE2B 764a6e010d232ffb04193ace7e1e2b209bba2acb667d06b570095df7b1ab68e80a414bd73360a2b0b2c49eb6c5132da87452d1b74f0fb0014784d0e4c448ece4 SHA512 42ef98f03c60a60cda685c8ec151195c307c908a6dd01e07172aca1755527425afeb2de3e705503594794b58f3b3cfbe0cdbbcf3551a68142e1be7bd2937e5fe +EBUILD libepoxy-1.5.1.ebuild 1178 BLAKE2B 3fe4c241de60c0fcd84590411619a7af861e733110aaf3f7f8b01df660a7ba70b4778738590450c37172ddbe7625837a6cedc7f282a3e717895d6e7c27b5cacb SHA512 4ba275c3b91beaf1e71bd17065d1ae846cc351080fa4c061c68e4a62278e64124d9ca98ea2c0aa38dbb568572df7dd8fff41851a7f5cb9bfd81bd314c00c71c6 +EBUILD libepoxy-1.5.2.ebuild 1228 BLAKE2B 196f6451318246a038a14e1456c58a1b1148c75b817cddaf741a0fc99ec216da4499c7fb28e22a01c4bbb6481154a9dba080bd07925b912ab916172e1c0dc3ba SHA512 2c564038d66394dcbe40e75512bb32c5451203119d22a26a2064617d9515291b49ebc8f8de1017894855de573a34152fb720f4b438c3a859eb03a706dd790bae +EBUILD libepoxy-9999.ebuild 1228 BLAKE2B 196f6451318246a038a14e1456c58a1b1148c75b817cddaf741a0fc99ec216da4499c7fb28e22a01c4bbb6481154a9dba080bd07925b912ab916172e1c0dc3ba SHA512 2c564038d66394dcbe40e75512bb32c5451203119d22a26a2064617d9515291b49ebc8f8de1017894855de573a34152fb720f4b438c3a859eb03a706dd790bae MISC metadata.xml 314 BLAKE2B ff8d671379855f61b90688f26772026f83f00d3e303bcf1fc7e851c9a2e6f410beb7c9dbd115f57d8613df8ffc043b2994cbc1a134eefd160888a0ac21cac154 SHA512 5d63de65f850f14f37ed4998a3d7f7686dcd999fd6f13be9c528be6423940684e709d08042ba5cbeccad2a38f3752df2580913cdbdfbc569f576cc958cf3bc73 diff --git a/media-libs/libepoxy/libepoxy-1.5.1.ebuild b/media-libs/libepoxy/libepoxy-1.5.1.ebuild index 451ae46f887d..0dac30a38a21 100644 --- a/media-libs/libepoxy/libepoxy-1.5.1.ebuild +++ b/media-libs/libepoxy/libepoxy-1.5.1.ebuild @@ -28,8 +28,7 @@ IUSE="test +X" DEPEND="${PYTHON_DEPS} media-libs/mesa[egl,${MULTILIB_USEDEP}] - X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) - >=dev-util/meson-0.44.0" + X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )" RDEPEND="" src_unpack() { diff --git a/media-libs/libepoxy/libepoxy-1.5.2.ebuild b/media-libs/libepoxy/libepoxy-1.5.2.ebuild index 476702c15fb7..b6c7a46a052b 100644 --- a/media-libs/libepoxy/libepoxy-1.5.2.ebuild +++ b/media-libs/libepoxy/libepoxy-1.5.2.ebuild @@ -30,7 +30,6 @@ RDEPEND="media-libs/mesa[egl,${MULTILIB_USEDEP}]" DEPEND="${PYTHON_DEPS} ${RDEPEND} X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) - >=dev-util/meson-0.44.0 virtual/pkgconfig" src_unpack() { diff --git a/media-libs/libepoxy/libepoxy-9999.ebuild b/media-libs/libepoxy/libepoxy-9999.ebuild index 476702c15fb7..b6c7a46a052b 100644 --- a/media-libs/libepoxy/libepoxy-9999.ebuild +++ b/media-libs/libepoxy/libepoxy-9999.ebuild @@ -30,7 +30,6 @@ RDEPEND="media-libs/mesa[egl,${MULTILIB_USEDEP}]" DEPEND="${PYTHON_DEPS} ${RDEPEND} X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) - >=dev-util/meson-0.44.0 virtual/pkgconfig" src_unpack() { diff --git a/media-libs/libjpeg-turbo/Manifest b/media-libs/libjpeg-turbo/Manifest index 80254225a3ab..e39b61d4608e 100644 --- a/media-libs/libjpeg-turbo/Manifest +++ b/media-libs/libjpeg-turbo/Manifest @@ -1,16 +1,15 @@ AUX libjpeg-turbo-1.2.0-x32.patch 1248 BLAKE2B 760f35a02c6a565a43702a4188186732f93c57a5c879cdc6920c427da097c3dc5eb111189c40510252c0209caf63100ecff7ffec1b10a177b09449db4dc5c3c6 SHA512 9ffc28a89db43eba9545bca2d4c1f5a11953f36a46e294b697bda190058dcaa59982f83552ce54f37ef83970d4b0fefd1e14497854c7991db38ab7f7c1c6afae AUX libjpeg-turbo-1.5.3-divzero_fix.patch 792 BLAKE2B 31d3617155ac639ebd49a5db9c3898fdd6b20dc04776003121d6c906a96a8963984405b674ad6bee81c6de97304da78fa1de249cca7000fa7eed42f011e5a918 SHA512 b8ba793319e1f8c658f550fe6427625b2053486d784133c6b9e6778fac74c4eedadb6b9c208c6725a27cf585b4857c719ae03efaf602e181c4b782d55cb9b47a -AUX libjpeg-turbo-1.5.90-divzero_fix.patch 1842 BLAKE2B a333583386296323b72ec05009d72f9cf61c76f992b72dfeb4b5e4ce8a80118033856b30ad44ca9f1bbf89e3cdc79bf15fb039715df9cd8080ba184b903a465a SHA512 0a6e6c7e60dfb4dcf067a89766665485cdf8fdc64ced2104b3bcecab066a1cce74c77c5820665c601175ded36c9e1647c0a4b8be9a827c6d0d16f7f998f18a7e DIST libjpeg-turbo-1.5.0.tar.gz 1654276 BLAKE2B b3f1ad4c6bbe5b75ef8daa38e0ccf6165616768d1427d41f9b5cc6f5775720d2977aff6758ec0a9679c9eabc7c2395d4cdecdcb22c92522900de52900281b9bd SHA512 3b7249a5f5c7b1f1fa99924ac6bc9bff3bf811815ef38505af5359d1f0edb0bfb771f0fa54308743a2d9305cb19a997453fdb00d0aade3f2f17ea917a45fde22 DIST libjpeg-turbo-1.5.1.tar.gz 1650647 BLAKE2B 5e9eb7889c430a735a8b8ac22fbf66fc98102acf372d08aa2dbd86ac55d43c5700438a77925f894c473e81289e4d3d2e6fe3da435d2799db21782da9bd5dfe41 SHA512 a03823cf4b3d1aada24e502fea0a979b1f656c01e55ffddc06013b9c79509c2da1e3bcf0b85282289451d77d4cb5f56dd8cbf6e492744836ddda1f7136534852 DIST libjpeg-turbo-1.5.2.tar.gz 1657235 BLAKE2B 8d26af1cf6219e02f13f8729b688175590b01a4ce538ae861e72e6344a319475f8114ad05aefe2f8ffd6b5481c7915bd18097466408729d80212a2db7f99ad5c SHA512 c7fe5cc77e38fad33af3f10e6db961c8edf033a86c09541121f49bfa20547179760924e6d3e397f0add7030459ff3babadd3457ab2da4a40a2147dc1574aa444 DIST libjpeg-turbo-1.5.3.tar.gz 1658672 BLAKE2B 4d2182802aa9963fa57ec2c4fb5cf0a586847d43803e4c2d2e12cf1144c4da0ede7fdbace5965c77cd6df4547090165615960ebb65c964fd2fac823c021f50b7 SHA512 b611b1cc3d1ddedddad871854b42449d053a5f910ed1bdfa45c98e0270f4ecc110fde3a10111d2b876d847a826fa634f09c0bb8c357056c9c3a91c9065eb5202 -DIST libjpeg-turbo-1.5.90.tar.gz 2158825 BLAKE2B 51f1e2c3d4a3ef8d764b87cc3646170eed1df4ff4f9834f156a0d18fbb863625e75f73640518991b5df4b9a66517df76537c203f4d16e4673b15e51fbab78789 SHA512 6322f1013ace231fa51aa2cd2799fa526da14074cde08349c7c6f1719954aa4862d4e9b3975c0041aa93f7efce679dc782abdc5e60f92adfdf7d0c8aa2158e30 +DIST libjpeg-turbo-2.0.0.tar.gz 2158457 BLAKE2B fd4974f0500d23e72d0d0cfd31e7c4eba485779932d5c9515645eff4f7dccf97a2aff61b42be0f539905e6dcd6db2acec48cb7bb5ae61cae7152cd06902c36fe SHA512 220e5248e780d3c40c7842ba52937b9b0860e89164bca16ec6e2afaf99dd5d0bc706dd9320f4d2aef67ac11d4876453ef688b1efeaf93ceb42e8c25e83da2487 DIST libjpeg8_8d-2.debian.tar.gz 14764 BLAKE2B e93d12afa062da28b717b540492221f70e8d9ccf3885371647cf85a2937f938ca723d4a27d5e1c5d79c26aa25dddf69b38754558851a1704172e8b52baf8e17c SHA512 8c5959fb7583a2d61e9442187f67b91b45e72d9dd30db3360d583a3b5d8e1a908db5659f760bdd455b3056e6ae3535b2fd3b847df3d58b140a1816b754003675 EBUILD libjpeg-turbo-1.5.0.ebuild 2861 BLAKE2B 4110c8947b54c3959a8bcf10a57810fca35ff31e389b51d32b03d5ab15db542ebf63d931c8aa926da4b3c49d1b005031fd2468ade8a0c980714f77a76310538e SHA512 3aa56d232af1153e2c7747d7d390d11d43ff3955691420d8d3247ce104f6b959e55fa83bafa601401cb0095944504c5474b3564b98762907cf413ad504643c45 EBUILD libjpeg-turbo-1.5.1.ebuild 2923 BLAKE2B 67850bed77be9bd0b06c1d4c4f95bcdd73430e8b26e1698409213837edaee047578f79b4f019979aab48dbfac6210272594b28aacba1d25e6237034c85e3c4d6 SHA512 13e10d81a0543f6b7cf44b185c3534aa08e2fc07bcb243aa159bc3fcd6194ed7d7e4f8bee51570acf0962731275a4f2d91cdfa931b62ec370e54f27487bf13ff EBUILD libjpeg-turbo-1.5.2.ebuild 2925 BLAKE2B c519f100505bcccb2d7b9192e26d5ffcc2d881b4bfc90b3e2e4f72447512686745434e4754f8393c14d4d2b7a285a6bc2d0ba0dd20a9916f00e2cccb85129023 SHA512 4e320a1a69fb0ca060ea35a9e2cc5aa7a971ad727bf661c9f64472874200a941f1502eecbe99d26642b21f06a4c1c3faf6d57885ccc63e1e9ec5edb3a7746d11 EBUILD libjpeg-turbo-1.5.3-r1.ebuild 2982 BLAKE2B b439df02f28f006fc0feb319f10a7e1f2ab4190c5f3a4fa03999c785db4c6c52cc5d78cc69fd0c080e521bffec0dbcacdd02253ab1dd13763fee4a07e202d40b SHA512 41d082e0245ddbd4fd2b3a85e01ac57132cf75af146327171287463c846b8b03fbd502ef114ae1e22cb38df808d969dec15f6a247063684ad2054da606e83190 EBUILD libjpeg-turbo-1.5.3.ebuild 2935 BLAKE2B bb75f57fbc1926c3973660a52c531020c5e6a105d443b2df068f1db472d1395f4361136b56e3c9a1a88e219511706cd96025b0f44235adee2090dbd8880bf867 SHA512 cf593ba887b822db77155d348789d74435e6209e72918afb5b323085c5c1e9ea03ac8bfee2f03dd279ce477a2116539ef76159980063da2a8c83175a6dd482a2 -EBUILD libjpeg-turbo-1.5.90-r1.ebuild 2698 BLAKE2B 4786d22cb95af6dcfa56a4f43b68380f21998521770a3551dc66f9ece54d0dd7338e31b1cf7296ab8bbb78d1ae27712918068ff2f06e12dbcfdb5b09ff54d2e8 SHA512 9f7ccf0cd31fcd101497eb30638889d952aec827e721c4414883035b95aa6f68dd94dcce6c16b1e06150b7ba01618094a2d5648021f4ec2abda2588686d3c0d7 +EBUILD libjpeg-turbo-2.0.0.ebuild 2695 BLAKE2B a7f05452a03d7cd6f61a9eccf0c282e94ea64ab9265598e4571fb24a168afbdadc89273208412f7fe9f2b80182268fd11d7b294a6fca063ccf4f5c61c2c2d369 SHA512 87ef21be051b6a99846975118930468dad06124b4599b9a20c19b8f2168f1c9c8ded5d1810970db09f98c4b8410ef55b0d876b54e15dc0e79d2ba1412ab6344e MISC metadata.xml 466 BLAKE2B 989b0d905baa9ba6217f871c43b1d06f8ea718ab7250d31cce0d498b219b3d1077638b2fecfaeb747e2505f2608d73390789bd442462a9e2f410b0939e2dbb77 SHA512 2b8725c3493aa2294b43f3328f3506458254f57b8ac2914b96a7bbf987caa4c6a011e7afe72099bd0d33ff605c018853efde3e77faf2bcb012d7e49d229f17ea diff --git a/media-libs/libjpeg-turbo/files/libjpeg-turbo-1.5.90-divzero_fix.patch b/media-libs/libjpeg-turbo/files/libjpeg-turbo-1.5.90-divzero_fix.patch deleted file mode 100644 index d505499a082d..000000000000 --- a/media-libs/libjpeg-turbo/files/libjpeg-turbo-1.5.90-divzero_fix.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 43e84cff1bb2bd8293066f6ac4eb0df61ddddbc6 Mon Sep 17 00:00:00 2001 -From: DRC -Date: Tue, 12 Jun 2018 20:27:00 -0500 -Subject: [PATCH] tjLoadImage(): Fix FPE triggered by malformed BMP - -In rdbmp.c, it is necessary to guard against 32-bit overflow/wraparound -when allocating the row buffer, because since BMP files have 32-bit -width and height fields, the value of biWidth can be up to 4294967295. -Specifically, if biWidth is 1073741824 and cinfo->input_components = 4, -then the samplesperrow argument in alloc_sarray() would wrap around to -0, and a division by zero error would occur at line 458 in jmemmgr.c. - -If biWidth is set to a higher value, then samplesperrow would wrap -around to a small number, which would likely cause a buffer overflow -(this has not been tested or verified.) -diff --git a/rdbmp.c b/rdbmp.c -index fcabbb13e..a02cfd909 100644 ---- a/rdbmp.c -+++ b/rdbmp.c -@@ -6,7 +6,7 @@ - * Modified 2009-2010 by Guido Vollbeding. - * libjpeg-turbo Modifications: - * Modified 2011 by Siarhei Siamashka. -- * Copyright (C) 2015, 2017, D. R. Commander. -+ * Copyright (C) 2015, 2017-2018, D. R. Commander. - * For conditions of distribution and use, see the accompanying README.ijg - * file. - * -@@ -623,6 +623,12 @@ start_input_bmp(j_compress_ptr cinfo, cjpeg_source_ptr sinfo) - } - } - -+ /* Ensure that biWidth * cinfo->input_components doesn't exceed the maximum -+ value of the JDIMENSION type. This is only a danger with BMP files, since -+ their width and height fields are 32-bit integers. */ -+ if ((unsigned long long)biWidth * -+ (unsigned long long)cinfo->input_components > 0xFFFFFFFFULL) -+ ERREXIT(cinfo, JERR_WIDTH_OVERFLOW); - /* Allocate one-row buffer for returned data */ - source->pub.buffer = (*cinfo->mem->alloc_sarray) - ((j_common_ptr)cinfo, JPOOL_IMAGE, diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-1.5.90-r1.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-1.5.90-r1.ebuild deleted file mode 100644 index 0cc09fb72cba..000000000000 --- a/media-libs/libjpeg-turbo/libjpeg-turbo-1.5.90-r1.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-multilib eapi7-ver java-pkg-opt-2 libtool toolchain-funcs - -DESCRIPTION="MMX, SSE, and SSE2 SIMD accelerated JPEG library" -HOMEPAGE="https://libjpeg-turbo.org/ https://sourceforge.net/projects/libjpeg-turbo/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz - mirror://gentoo/libjpeg8_8d-2.debian.tar.gz" - -LICENSE="BSD IJG" -SLOT="0" -[[ "$(ver_cut 3)" -ge 90 ]] || \ -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="java static-libs" - -ASM_DEPEND="|| ( dev-lang/nasm dev-lang/yasm )" -COMMON_DEPEND="!media-libs/jpeg:0 - !media-libs/jpeg:62" -RDEPEND="${COMMON_DEPEND} - java? ( >=virtual/jre-1.5 )" -DEPEND="${COMMON_DEPEND} - amd64? ( ${ASM_DEPEND} ) - x86? ( ${ASM_DEPEND} ) - amd64-fbsd? ( ${ASM_DEPEND} ) - x86-fbsd? ( ${ASM_DEPEND} ) - amd64-linux? ( ${ASM_DEPEND} ) - x86-linux? ( ${ASM_DEPEND} ) - x64-macos? ( ${ASM_DEPEND} ) - x64-cygwin? ( ${ASM_DEPEND} ) - java? ( >=virtual/jdk-1.5 )" - -MULTILIB_WRAPPED_HEADERS=( /usr/include/jconfig.h ) - -PATCHES=( - "${FILESDIR}"/${P}-divzero_fix.patch #658624 -) - -src_prepare() { - default - - java-pkg-opt-2_src_prepare -} - -multilib_src_configure() { - if multilib_is_native_abi && use java ; then - export JAVACFLAGS="$(java-pkg_javac-args)" - export JNI_CFLAGS="$(java-pkg_get-jni-cflags)" - fi - - local mycmakeargs=( - -DCMAKE_INSTALL_DEFAULT_DOCDIR="/usr/share/doc/${PF}" - -DENABLE_STATIC="$(usex static-libs)" - -DWITH_JAVA="$(multilib_native_usex java)" - -DWITH_MEM_SRCDST=ON - ) - [[ ${ABI} == "x32" ]] && mycmakeargs+=( -DREQUIRE_SIMD=OFF ) #420239 - cmake-utils_src_configure -} - -multilib_src_compile() { - cmake-utils_src_compile - - if multilib_is_native_abi ; then - pushd "${WORKDIR}/debian/extra" &>/dev/null || die - emake CC="$(tc-getCC)" CFLAGS="${LDFLAGS} ${CFLAGS}" - popd &>/dev/null || die - fi -} - -multilib_src_install() { - cmake-utils_src_install - - if multilib_is_native_abi ; then - pushd "${WORKDIR}/debian/extra" &>/dev/null || die - emake \ - DESTDIR="${D}" prefix="${EPREFIX}"/usr \ - INSTALL="install -m755" INSTALLDIR="install -d -m755" \ - install - - if use java ; then - rm -rf "${ED%/}"/usr/classes - java-pkg_dojar java/turbojpeg.jar - fi - fi -} - -multilib_src_install_all() { - find "${ED}" -name '*.la' -delete || die - - insinto /usr/share/doc/${PF}/html - doins -r "${S}"/doc/html/* - newdoc "${WORKDIR}"/debian/changelog changelog.debian - if use java; then - insinto /usr/share/doc/${PF}/html/java - doins -r "${S}"/java/doc/* - newdoc "${S}"/java/README README.java - fi -} diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.0.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.0.ebuild new file mode 100644 index 000000000000..bf3a4d31b834 --- /dev/null +++ b/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib eapi7-ver java-pkg-opt-2 libtool toolchain-funcs + +DESCRIPTION="MMX, SSE, and SSE2 SIMD accelerated JPEG library" +HOMEPAGE="https://libjpeg-turbo.org/ https://sourceforge.net/projects/libjpeg-turbo/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + mirror://gentoo/libjpeg8_8d-2.debian.tar.gz" + +LICENSE="BSD IJG" +SLOT="0" +[[ "$(ver_cut 3)" -ge 90 ]] || \ +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="java static-libs" + +ASM_DEPEND="|| ( dev-lang/nasm dev-lang/yasm )" +COMMON_DEPEND="!media-libs/jpeg:0 + !media-libs/jpeg:62" +RDEPEND="${COMMON_DEPEND} + java? ( >=virtual/jre-1.5 )" +DEPEND="${COMMON_DEPEND} + amd64? ( ${ASM_DEPEND} ) + x86? ( ${ASM_DEPEND} ) + amd64-fbsd? ( ${ASM_DEPEND} ) + x86-fbsd? ( ${ASM_DEPEND} ) + amd64-linux? ( ${ASM_DEPEND} ) + x86-linux? ( ${ASM_DEPEND} ) + x64-macos? ( ${ASM_DEPEND} ) + x64-cygwin? ( ${ASM_DEPEND} ) + java? ( >=virtual/jdk-1.5 )" + +MULTILIB_WRAPPED_HEADERS=( /usr/include/jconfig.h ) + +src_prepare() { + default + + cmake-utils_src_prepare + java-pkg-opt-2_src_prepare +} + +multilib_src_configure() { + if multilib_is_native_abi && use java ; then + export JAVACFLAGS="$(java-pkg_javac-args)" + export JNI_CFLAGS="$(java-pkg_get-jni-cflags)" + fi + + local mycmakeargs=( + -DCMAKE_INSTALL_DEFAULT_DOCDIR="${EPREFIX}/usr/share/doc/${PF}" + -DENABLE_STATIC="$(usex static-libs)" + -DWITH_JAVA="$(multilib_native_usex java)" + -DWITH_MEM_SRCDST=ON + ) + [[ ${ABI} == "x32" ]] && mycmakeargs+=( -DREQUIRE_SIMD=OFF ) #420239 + cmake-utils_src_configure +} + +multilib_src_compile() { + cmake-utils_src_compile + + if multilib_is_native_abi ; then + pushd "${WORKDIR}/debian/extra" &>/dev/null || die + emake CC="$(tc-getCC)" CFLAGS="${LDFLAGS} ${CFLAGS}" + popd &>/dev/null || die + fi +} + +multilib_src_install() { + cmake-utils_src_install + + if multilib_is_native_abi ; then + pushd "${WORKDIR}/debian/extra" &>/dev/null || die + emake \ + DESTDIR="${D}" prefix="${EPREFIX}"/usr \ + INSTALL="install -m755" INSTALLDIR="install -d -m755" \ + install + + popd || die + if use java ; then + rm -rf "${ED%/}"/usr/classes || die + java-pkg_dojar java/turbojpeg.jar + fi + fi +} + +multilib_src_install_all() { + find "${ED}" -name '*.la' -delete || die + + insinto /usr/share/doc/${PF}/html + doins -r "${S}"/doc/html/* + newdoc "${WORKDIR}"/debian/changelog changelog.debian + if use java; then + insinto /usr/share/doc/${PF}/html/java + doins -r "${S}"/java/doc/* + newdoc "${S}"/java/README README.java + fi +} diff --git a/media-libs/libsdl2/Manifest b/media-libs/libsdl2/Manifest index 9b64752196d0..49c0ec07feee 100644 --- a/media-libs/libsdl2/Manifest +++ b/media-libs/libsdl2/Manifest @@ -4,6 +4,6 @@ AUX libsdl2-2.0.8-rework-variables.patch 2061 BLAKE2B 8a64934ad09295442f6f63ffab 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 4744 BLAKE2B a9a1e0f5a717f8444550a7f64f7b3248f5cd311cfec836b59467bcb56c1d698827189e3294b151e621f20615df14d85a4be88b1273dd91b6bb30e23facdf84af SHA512 f6c79bf3600de8fcfd66dad89b3ecb15ab47c72ecee147c5c2ba60704d1acbb0996d98d5a2a802ddf446a45f7ee65f44c8c5510594ac864a23c89eaa0b8e7013 +EBUILD libsdl2-2.0.8-r1.ebuild 4743 BLAKE2B 7aa1841ecf4f3815c3435eae649e365355ce3a4e50d1bb08dedd4d1af2a588451f6f8e65f24e384afbbdbdeb65213df6cd68c3498af1f477c75fe946af9419ce SHA512 b95a7f8e0a3c716e7c925f60f8463d04afa2cef0d96bb18fee694ee8ca4984ff14143e55c1bba2f165243931211eb3a1573a1d3d396c8be7f50741d0729b5668 EBUILD libsdl2-2.0.8-r2.ebuild 5173 BLAKE2B 03b84a9b6888a3fe83e3f689dc8f554eb612f64f1f258c15dfc7f8349ad08d38a4c4cf20a5a3a8aa3592225dfd6690db4724af32cf4d27943a97b336bf05a07d SHA512 7d7c1f59f492c7a856e947284a239d3b3a2d22a0259d80422af01fb77a0a48ddf49221faf965c46c1af9588da9bd4e08d7f24f507c816b228d729bf673bc73ee MISC metadata.xml 1665 BLAKE2B 7f469ffb0096991ffcd95d5cac92ded15aa0b6d0d60f0d38bcaf966336a8c782b51a4fd61e2984b97bf65896438517868836b251619647f330004c4795acd008 SHA512 dc0fae98711a1a79ccd76371e6747c8cf722dfb84d75d1d414bb90980886d649c53f9bdbee96e627854ace0fc6b30160688dc906aa74cc943e71172737ae659c diff --git a/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild b/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild index 670e63c5e1f3..d52a80e3217f 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/libsixel/Manifest b/media-libs/libsixel/Manifest index 3ac83f91764d..e568035b0ccc 100644 --- a/media-libs/libsixel/Manifest +++ b/media-libs/libsixel/Manifest @@ -1,5 +1,5 @@ -DIST libsixel-1.7.3.tar.gz 4766335 BLAKE2B 5e546d31f9d66f5121301abe009677d05fbc1444e8a25a1feb6f9fed646a4bc543492376302b663569e0ddca99b665d5c81d9d35aa07349935b727ad581fb517 SHA512 f7b6b9748389f140ce2f6cf0eeb74ab5063c21455c72013a7e066981439bb1ada7b3e9b68a7b3b57c49205271f32ffb8d6d002a4f2af45b1381dd015873b4e91 DIST libsixel-1.8.1.tar.gz 4777791 BLAKE2B de96029990acc00e0c5fa81e6f892153000a93841b8e152ecc2ae3db0e7ca1dbe5063fdbf69f79f23c82095b253206c7bea0f638ed7536ebcf3d0d23a1137965 SHA512 af38b47aac443bfb443aa7b12041ecc1496722afbc861ad8572e90c34c7c1ed4ee04241d5d5f3abb7d8be945fac2a1f718494c4fbd023a6a7b9f6d912f90554c -EBUILD libsixel-1.7.3.ebuild 1110 BLAKE2B 4ad85bd3aa3f0ef0811367bf4eb8ad40f677d4c0524d58a41628715bf2d075fb69e95ca7733156bbd3659b98d33f4c0ad3c14b610adbdf17d243d9cc61bfddc8 SHA512 08fe560db4fc76c1d2c70a0b7eacc3e48fffac3a4ef9ebf19e44c2735cc5473808b104792c07c80d7c60fc7c95eecabf7623a40d2fb2bbce96cf0caf830a108c -EBUILD libsixel-1.8.1.ebuild 1035 BLAKE2B 38ef663569cf8809639588d1a1cc4943ac06f4ac12bbb6e156556df93ad266c47bee6d953f7df8c5aed158b47bd0ed012fea48914c33bf889336062f04bfb224 SHA512 8d0b96674b65d4890eb1eca590d08f10a15ec5dc1c72bced54c10a22f933ac5322a7a6219b7cda5616b46b80ddff61da39201dc47be3ec7ebf1d278befb15cd0 -MISC metadata.xml 306 BLAKE2B 9fb9f3186df0538ebf4d1ec03e7404f798f36c2763e048d4b4026156d75b0597e58a4412235e1d7c44b0fc9ea54665fdfcb248374818ab086e4741345469013d SHA512 5fe5ae6f4593b3c990ded3a3d96dc2149729b00bb0a0d13a936c68c61515a79efe90672a6f0b13023b1dbb3fb00e6698ca16751932bfc09af84fb5b4c5ef1dd1 +DIST libsixel-1.8.2.tar.gz 4778776 BLAKE2B a43ff76e271b27337fa4144bd89170f33bfae535696f5107cc77b3adef370e89d9da950746621ec7002b201f68dba873f99463d8b2183c319b62f2574f0562a3 SHA512 f0287b7b7a190f0f964e27fc65aa816a78c09de5e50045a25eb05f9b430c74f779a7d5eb591b3430a82a06621d53719bf115bcdd0b99acc9afe3cb9ab6fde271 +EBUILD libsixel-1.8.1.ebuild 1139 BLAKE2B 4f136743257e39dd162a1c59a7e5151f84f5edce48ab90feb5f8a8a69f8e4265125e0d91c7c3ed99adaba0b9a6e31673e09c1434e5375599c3a01ba518a2368e SHA512 132dba0ec708a69bc6992fea0f6efe2cd3aa69372f68a32f50ee7119b89d414a1634882b4956d09dec63a71a4d03c2287acef923c6ddcbd0bd894c99c102771a +EBUILD libsixel-1.8.2.ebuild 1142 BLAKE2B c13f2c30518874b308dd758672367445567292105224bb959f782284444437277e1b354a8f3f04530fcd437f8a09a635189aefbd0b74b53158bd4ddc05dcc367 SHA512 604e91d30ace2de226d6973239a5f3e8d67ab97189c46844f85a4d6357a93c5c3e0afc77a675bf4ecfc9396f193995b5731968b6ce3841c1ebf43ba67e1b887f +MISC metadata.xml 329 BLAKE2B 607583721c17ebb8bd03d4142860d189cba164b08acbb5471a06172a0b3eb58a141f3daf6cc5cf96b7830699d9528bb60ee5214bc376a0514103e01ec8df4fec SHA512 018b8cb5c0a19e397914b799dedae30e20aab765ad58098529a45cc2aa14bd695abbd75b09efd0eb957da1dcc99b0ea04bf07f167047095288b033f82c4e4b92 diff --git a/media-libs/libsixel/libsixel-1.7.3.ebuild b/media-libs/libsixel/libsixel-1.7.3.ebuild deleted file mode 100644 index 3d8e5d2dbd83..000000000000 --- a/media-libs/libsixel/libsixel-1.7.3.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit bash-completion-r1 ltprune - -DESCRIPTION="A lightweight, fast implementation of DEC SIXEL graphics codec" -HOMEPAGE="https://github.com/saitoha/libsixel" -SRC_URI="https://github.com/saitoha/libsixel/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT public-domain" -SLOT="0" -KEYWORDS="amd64 ia64 x86" -IUSE="curl gd gtk jpeg png static-libs" - -RDEPEND="curl? ( net-misc/curl ) - gd? ( media-libs/gd ) - gtk? ( x11-libs/gdk-pixbuf:2 ) - jpeg? ( virtual/jpeg:0 ) - png? ( media-libs/libpng:0 )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_configure() { - econf \ - $(use_with curl libcurl) \ - $(use_with gd) \ - $(use_with gtk gdk-pixbuf2) \ - $(use_with jpeg) \ - $(use_with png) \ - $(use_enable static-libs static) \ - --with-bashcompletiondir=$(get_bashcompdir) \ - --disable-python -} - -src_test() { - emake test -} - -src_install() { - default - prune_libtool_files - - cd images - docompress -x /usr/share/doc/${PF}/images - docinto images - dodoc egret.jpg map{8,16}.png snake.jpg vimperator3.png -} diff --git a/media-libs/libsixel/libsixel-1.8.1.ebuild b/media-libs/libsixel/libsixel-1.8.1.ebuild index 12cd9a6cec32..05da6156753c 100644 --- a/media-libs/libsixel/libsixel-1.8.1.ebuild +++ b/media-libs/libsixel/libsixel-1.8.1.ebuild @@ -7,12 +7,12 @@ inherit bash-completion-r1 DESCRIPTION="A lightweight, fast implementation of DEC SIXEL graphics codec" HOMEPAGE="https://github.com/saitoha/libsixel" -SRC_URI="https://github.com/saitoha/libsixel/releases/download/v${PV}/${P}.tar.gz" +SRC_URI="https://github.com/saitoha/${PN}/releases/download/v${PV}/${P}.tar.gz" LICENSE="MIT public-domain" SLOT="0" -KEYWORDS="~amd64 ~ia64 ~x86" -IUSE="curl gd gtk jpeg png" +KEYWORDS="amd64 ia64 x86" +IUSE="curl gd gtk jpeg png static-libs" RDEPEND="curl? ( net-misc/curl ) gd? ( media-libs/gd ) @@ -29,6 +29,7 @@ src_configure() { $(use_with gtk gdk-pixbuf2) \ $(use_with jpeg) \ $(use_with png) \ + $(use_enable static-libs static) \ --with-bashcompletiondir=$(get_bashcompdir) \ --disable-python } @@ -39,6 +40,7 @@ src_test() { src_install() { default + use static-libs || find "${ED}" -name '*.la' -delete || die cd images docompress -x /usr/share/doc/${PF}/images diff --git a/media-libs/libsixel/libsixel-1.8.2.ebuild b/media-libs/libsixel/libsixel-1.8.2.ebuild new file mode 100644 index 000000000000..c05386adb4e3 --- /dev/null +++ b/media-libs/libsixel/libsixel-1.8.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit bash-completion-r1 + +DESCRIPTION="A lightweight, fast implementation of DEC SIXEL graphics codec" +HOMEPAGE="https://github.com/saitoha/libsixel" +SRC_URI="https://github.com/saitoha/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="MIT public-domain" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~x86" +IUSE="curl gd gtk jpeg png static-libs" + +RDEPEND="curl? ( net-misc/curl ) + gd? ( media-libs/gd ) + gtk? ( x11-libs/gdk-pixbuf:2 ) + jpeg? ( virtual/jpeg:0 ) + png? ( media-libs/libpng:0 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + econf \ + $(use_with curl libcurl) \ + $(use_with gd) \ + $(use_with gtk gdk-pixbuf2) \ + $(use_with jpeg) \ + $(use_with png) \ + $(use_enable static-libs static) \ + --with-bashcompletiondir=$(get_bashcompdir) \ + --disable-python +} + +src_test() { + emake test +} + +src_install() { + default + use static-libs || find "${ED}" -name '*.la' -delete || die + + cd images + docompress -x /usr/share/doc/${PF}/images + docinto images + dodoc egret.jpg map{8,16}.png snake.jpg vimperator3.png +} diff --git a/media-libs/libsixel/metadata.xml b/media-libs/libsixel/metadata.xml index b9a0f9f649b5..c6ef4c2f75ec 100644 --- a/media-libs/libsixel/metadata.xml +++ b/media-libs/libsixel/metadata.xml @@ -1,10 +1,11 @@ - - hattya@gentoo.org - - - saitoha/libsixel - + + hattya@gentoo.org + Akinori Hattori + + + saitoha/libsixel + diff --git a/media-libs/libv4l/Manifest b/media-libs/libv4l/Manifest index f2c0da75e588..916d5f72b7e9 100644 --- a/media-libs/libv4l/Manifest +++ b/media-libs/libv4l/Manifest @@ -7,7 +7,7 @@ DIST v4l-utils-1.12.5.tar.bz2 1588944 BLAKE2B b87c24c6fdaf3e80407dd28b047c27420f DIST v4l-utils-1.14.1.tar.bz2 1672480 BLAKE2B bc5c50fa0b339c79439b54e54f0c0e3847068931e34831a05e214e785fe4063764ef0d76838ca3216a46db072003dc5d86dd2c563fbb73d237a6b5059df93f5a SHA512 78b863f2cba409138efd6744895e6b1e730ec7cd5dfd0bd6088dd1336572a5f6d0b422fb4ec6577c6038192d0a3b28ae91d7402d5733904913749eff263c2eb1 DIST v4l-utils-1.6.2.tar.bz2 1148309 BLAKE2B 8153a1e3803b9e59eae064f2c88e4b865a56193788a8cb204dc34e9ae50e66794ba7f020ad4b0ff9af995f57d9b9a9e0225e0f8a09eeefae42d063131d7e549a SHA512 e14442e1b3660d0cb0844f1a5a88f855bc8532df9e72e1b2afd348a7c077ad25657f832d0fd47d3f567bfd399fd82c5a749d075ac9ecb911ea462685e31aa0b2 EBUILD libv4l-1.10.0.ebuild 1395 BLAKE2B 9137b578723257d586092a1f3fd81f8ea552d93f0e50ac7d7ec8c447925c4d5a50dd4cabc46066cad5c4036c5cfe9850ffeddbfe7a1451209916ecd788c0326c SHA512 4daf5f65f9b587107864e86f5108f194c103fd3af8a1c645fcc09700021289460b3ba5aa3bedfc4c70380d454c1e8ee3fb837a01379e769c14286fdf19f8a611 -EBUILD libv4l-1.10.1.ebuild 1398 BLAKE2B 0da4472606ac09cb6101835663157e07be64b89937563e1eeccf1878a27272c8d5489209a89c7da439ec8ea7fef8c57ceb23db43ac1309ee7c4cef451368fc98 SHA512 ceebbb892834d2b93310e5f855e93f3eaa70b2b6d3d4dfb0b05d7bc50f9ed0d7dc16d96356e948d6ca7f4a1956ed44216cb5d1d67c715c3f766ded9c52689074 +EBUILD libv4l-1.10.1.ebuild 1395 BLAKE2B 602ce585cbee9b33735055789353ff1f2296cb1216095cab81a0b4b015ff0ceb7015b2af933bbc238d0e628afdfa61af9d38080e4b407b649b974f24a7dac059 SHA512 c9f1863b392b2a24aa5e2b8d7941fb5bf3f67c142e36da3999db6a442934d68306b8b45adc73a43cb17e399ea506004a4cbba978b792fd5ba4c70ee393810edf EBUILD libv4l-1.12.3.ebuild 1321 BLAKE2B ab3ff5aaaba94331523ca23db44a3103864a5b6014a025fabc1aa59c593217760bf2d3dbd65840113a4b8fec1c7b8be123193a72a64b03b7a07f7a28287eb0d4 SHA512 c08dc4720cd7fb7a3713c62b0cfd083e379cb015473f1b0455dbe2c63a2005523edc445aa925f42160e2dbba52f13442f3b7c8e59d648f5b4c78267abbf06788 EBUILD libv4l-1.12.5.ebuild 1370 BLAKE2B b122ee457e5e0879d2d1e584b4165e2a9b49cdded83229d60b7a89f18f5ae5721158c698027672f7b7cd294e8f41a05aa7fce3cff9b40930412bf68853a09b2d SHA512 beb1632e4619a33c3c02f370bcc0c94ac53ea666fb8782da769379d541088f23b2034248f8f5c089fa1a8b1d5cc0a834871090ff3358c5bbb8519cccb993477e EBUILD libv4l-1.14.1.ebuild 1434 BLAKE2B 3fc61c41c012477e5b736b6ee488c99f5fc73c466b87228625ecd1822fd9d60f0999354a16eeae28394c5d9939c83a6cde15b14b9afd9ce6fe582d9f7661b504 SHA512 8d9bc01f3a6c3d27a8a896db01471d30dd0f56b65c5c6f60dd992171e4ba746089e9c6983646424fc3e449d6e1f725bcc7bfa8185dbdea8ba6075e496f10f209 diff --git a/media-libs/libv4l/libv4l-1.10.1.ebuild b/media-libs/libv4l/libv4l-1.10.1.ebuild index df95192c8d0b..25e063a6e200 100644 --- a/media-libs/libv4l/libv4l-1.10.1.ebuild +++ b/media-libs/libv4l/libv4l-1.10.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -13,7 +13,7 @@ SRC_URI="https://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.bz2" LICENSE="LGPL-2.1+" SLOT="0/0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux" IUSE="jpeg" # The libraries only link to -ljpeg, therefore multilib depend only for virtual/jpeg. diff --git a/media-libs/lilv/Manifest b/media-libs/lilv/Manifest index b4f908401e6d..ba2d4b132b9b 100644 --- a/media-libs/lilv/Manifest +++ b/media-libs/lilv/Manifest @@ -1,5 +1,5 @@ AUX includedir.patch 403 BLAKE2B 27bf2e0e9dfb44bc62d518ac1282cc2b4d2c77a368c6b6ac7c1b09e24183eb8c40871f1c591000879c043ef322bde90c6ee2a6313d37ecb4fc9626f8a66717ab SHA512 c0aed82243a8a5a5155ba5b39e8283b9f24de498cd0a02e1f3907f5bd0c4b92e1dde9c8a7501784da49b3365ddca0fc0aa2d986119bc4543aa2aefeea46f27de DIST lilv-0.24.2.tar.bz2 244764 BLAKE2B e049354c2ec52116bbc0c588829c8e7d6c780a8325bb050d225e4893a4ca7b3c98b8bddd01dbfa0e67616bb6baadf2483087891d4242ccd4156aa8a8749484ef SHA512 b5d04b6bb1fb4d3a9a58d93b233db502dc2ded75672766a31d252abca657cbf2d170fa590c0c56159b2bac68c7af95d8787a512e318e3a0f30855504bb034659 EBUILD lilv-0.24.2-r2.ebuild 1492 BLAKE2B 5a7cbdc6d7dfea55ba9f4ce9ecd82cb2c29735670ade2018c09ab59d07a2ca16fbc344a4bd47b06ae461487acf25734c9c07af17587198ad33e5330edc96ffea SHA512 8d148dbc7d2bb524a6f53a5d49350a6a5d0767b28924cbe3e1a725b15659483e571fc8f1e9ed423d8455c85cf10617d272e347e158e6c929b6b2598b6f05bdd0 -EBUILD lilv-0.24.2-r3.ebuild 1588 BLAKE2B d518f977015f285bbf2631a79f5767f94c064d03e5b1e75494327951a3b523719554b5164ca9514807aafe03384a855448a8721d3c8aa495e64e798836e33c4e SHA512 f115672494c74bb7493a35f7caf7e197fee2b413e549e501828419838a55a6280eb08a4252c808f2d4de2e11da93f24535d68271d2e51ae550808d984c101bea +EBUILD lilv-0.24.2-r3.ebuild 1593 BLAKE2B 57ff263cb71608cab3fa481818ba90cbc1b909280082eb94044dcf5149a3d090c20914d415908fc2b04358dd60ad2c520edba9b8ab868db99bde25d2daf0a242 SHA512 1d69fd54a263608dad3b0cc35cb429cb594a38f1842ed17c744caecda97528005b0085fabd0bcfb747b9088abf432ccbc2c8d982fa5666da4cadf7eb6fd6fe93 MISC metadata.xml 626 BLAKE2B 07ffc634a72982335c60d71732dca314e28b08ed40fe892f33514f0d13ac9e141fcb6a1d0507b6f35f4d6db963865ed87acb70aa8f2c1d20ff72eb4e62006841 SHA512 e2cd8e2459104889e6cc759146f86874a78784c07b966de2f6a18302098a028e7176270565922a44a72ada23eabbf5de919271296374d9547262684611ee74ce diff --git a/media-libs/lilv/lilv-0.24.2-r3.ebuild b/media-libs/lilv/lilv-0.24.2-r3.ebuild index 9b5c50d8fcf3..3ef6161b21d7 100644 --- a/media-libs/lilv/lilv-0.24.2-r3.ebuild +++ b/media-libs/lilv/lilv-0.24.2-r3.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://download.drobilla.net/${P}.tar.bz2" LICENSE="ISC" SLOT="0" -KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~x86" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~x86" IUSE="doc +dyn-manifest static-libs test" RDEPEND=">=media-libs/lv2-1.14.0-r1[${MULTILIB_USEDEP}] diff --git a/media-libs/lv2/Manifest b/media-libs/lv2/Manifest index 8d36060238b3..354074412498 100644 --- a/media-libs/lv2/Manifest +++ b/media-libs/lv2/Manifest @@ -3,6 +3,6 @@ DIST lv2-1.12.0.tar.bz2 399666 BLAKE2B 6a28f9b2971c6f3077859fdcd097ebada445a607b DIST lv2-1.14.0.tar.bz2 386438 BLAKE2B e09e6c2b1bbf24d5896e7803b970fd8877a5b6a9ded0fcf294561c365d5f0b2e89503c0306b02dd956f7ac6ebd9df4ca0c0a17564ef3851443d81847dd41b261 SHA512 6991d848ed9f04a48ca3070efc15af83431f680aa8a8559a02b1666f7b8d43af8e089f78c3b14ad3345dac32fd1c8ad0faf3a3f56dddc07c6f0e0aeef4077498 EBUILD lv2-1.10.0-r1.ebuild 1120 BLAKE2B 4c9532968beee4c3270d19f24db3f100c802cbe261eaf14f05993bf49938f77117ef17c3dce0b67d1db14181065d01365e7d98bb784a5b51533f5c5e211976ab SHA512 4d04d9df9efcb29f34e8520c1a867b4fa06bc9c6267d4a7cc28992715ace8479a7286d73094bd90f7a1c9935eddcfa0cbaef579366545c3927af3f56712daf3d EBUILD lv2-1.12.0.ebuild 1175 BLAKE2B da6c306225a16b2af78d48f573d8c171461319932e4f1c5be25eee8b0728ceaa77d728296d333c6f0e1c7394c8fce42aedf0b1e597235edb9e59bbbbb8bbc784 SHA512 cd2cb389d835e1d39aab47dcdc59aad96c4d2b8b2bc2a4bcf3c5da4c576491916297da469bac9eb6bfe09b7badb90b06be1cae5e2566d037386a9243a3da96b9 -EBUILD lv2-1.14.0-r1.ebuild 1313 BLAKE2B 945727d1797d007ed421876f0dda7bb655ae43ef1a592a6cd8d07a4fe24a25c2753e22e67928f1d412ea61d69eabfc9d551fbe4cad08950d1281e51a9708ad1b SHA512 ad67b892046aba1c9a1ee202d4c977a82fcf79d4208cb1dc141def6f258ff3cdef2ccc75b09f64022632419e9e462d44937160e4d382cd9706e74f73c82b1d0f +EBUILD lv2-1.14.0-r1.ebuild 1318 BLAKE2B 45cfa2a59222b4f15ad881562a58e4be9b018bc08d42d6f6c575cf4456dc5e1082ec1502a2244c0d566de68b562462fc65315f10c22d751a8d995103845c38c3 SHA512 72d07fca25daa72845ac9572bb7db5adb0461fbd8ac36196945350a2798771ad1451c0b10fbade6332105bf2d9361d1d03b50fb23744beb1cbbf0e83333f3e88 EBUILD lv2-1.14.0.ebuild 1179 BLAKE2B d4a01a7b3aad05b401b547096298085c0831ead8f96a60aabcf92d9b7e2493fed0cb9e5ff53a8e01ad86e4fbdbbeaf170d2a836983543c663ca706193c04f4fb SHA512 608021ed6ed19750b78b5a4c2fc5727c280dc6918254411dd6aff165c346ad11c7527c85cc2a85f4220b46457a390e59fa7d2d39a642b5dc167a8f950ac73664 MISC metadata.xml 340 BLAKE2B e8469f758a451316b9d89c286f2d47c82b62d57ff9d43a6f2f93da8cf0abb5579fa8e568d8e6422e5d144a368310ccdec6e89ce2672f53b9db149bbf838afa68 SHA512 a31345dfd0bb1ac92461cd26ffcd20197775288be0ee4a2d660e90b8655f5288166c9613ba42ef3eef6dff6c97d268ffc85af3429eb093ffb29ad9581a5fa33d diff --git a/media-libs/lv2/lv2-1.14.0-r1.ebuild b/media-libs/lv2/lv2-1.14.0-r1.ebuild index bc2eba9fff5e..51bbb4a8ba19 100644 --- a/media-libs/lv2/lv2-1.14.0-r1.ebuild +++ b/media-libs/lv2/lv2-1.14.0-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://lv2plug.in/spec/${P}.tar.bz2" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~hppa ~ia64 ~mips ppc ppc64 x86" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 x86" IUSE="doc plugins" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest index 08ef3a6bc746..7f566a64cc4f 100644 --- a/media-libs/mesa/Manifest +++ b/media-libs/mesa/Manifest @@ -1,16 +1,11 @@ AUX eselect-mesa.conf.9.2 1630 BLAKE2B 6c67ef9b5dc94f2f26378c004a459680b05084900a9199107a23f9c55514b59438265bce9ca207b05e2d20c3aa43e475d3f228c283dc965402c962a4cd0b6ebf SHA512 0fa9a23b4fba10599268266a82c7fa8dc5bfa1a0d565732875064c381dc4ff40c23faddb02b5849b1522eb9b7fd2ec2a0fac14406442a4aa0afa44bf760b42b5 DIST mesa-17.3.9.tar.xz 10660456 BLAKE2B 54f4a75f9040e50e9eea8f5c52a276578379d25d2a01ac4767ab12bee85fe5dae1492d5bb1df06b6e8c6b0fe960bbd5ea38691c75d08a6b4302c64377ce58e54 SHA512 83deffbc6b9823b8e93cccf57d7952106f3d55fea881e3924f9f9586f0e9347a6e3a1a36cc19c24af819f2fde3af9496652a6ff56132511a5618d5774404f63f DIST mesa-18.0.5.tar.xz 10952996 BLAKE2B 708cdb2ef95a618430cd4e7eb45bcab0f6575774065b61f53787aa378385fe0dfa0b04f9c80c5426f9581851edc545a75c137777dc304ac8ba57465d365fcd50 SHA512 63b47cdca7f8282aab7aaa66233411f02918e5c4804b7a0010de2b1867fe90171e492ff031dfc4aa20968dfc99bd7dceb5d35fd44c709e54a2ece61175a60f3d -DIST mesa-18.1.1.tar.xz 11110892 BLAKE2B 05d48379109c1c3800d3d07b9f52e96b2cd4bc087517711ee752f89619afce0a0e09b7a9ede8b5d1807ceae3e2b506518657a0760c947f466121e2252f7eada3 SHA512 7783adc1ec7a1c3d092acfcca6b4ba19450c15a7f0d7f41fbf25e482236615d79ce24afe60959066ea7aa851df4f74fa3c569fa6d847ea79e6bfe046b8c65e90 -DIST mesa-18.1.2.tar.xz 11124408 BLAKE2B 8327f16f41d59e6ec8d4145a8399503cf04799d437e336714760e4bdc563c483583363e32d41affc2365e977b96494156300910b1834bc9957504b6c0cf168fa SHA512 1b896ecc42c2f81813d551a2b14d271d274a948fa10bf5b7a567417690316c2ab7e7fdd52fe004732cd1a47661ba91acf7d5b21e3b3f28e21b50aadbfa96a5d5 -DIST mesa-18.1.3.tar.xz 11126236 BLAKE2B 2315cdc95130ef604a86e3886abf9b15e6c7944fab3b3cc020358dd08a76f2b876904516e5c081d549b16240ae4dedd647402dd7bd8de4c91015bb601c0c2923 SHA512 f6e5b81a80a309a36a04759d18364d3c71c48d1cb88f87b2f5432ef003092a22046e88ce2082031d5d52b60ba36f585d8df52e06ecc7a5158079936236f36887 DIST mesa-18.1.4.tar.xz 11133392 BLAKE2B b0c205e5baa04bb018333ffd89942f86f19edd3f610cce004db23bad4ebc1a3379ea35e72c85ccc08c34c8bc0991c1f0b595227fae2259e4b76895542d3f25b9 SHA512 04b8e5bbfa640f2303c388ab701fc2aca7f6d5d127ca5a9f9409975556813ba8e94305d27c9cea236a0e6d44a38b97e2877509268a96d9ed2a6762ab385aa3dc +DIST mesa-18.1.5.tar.xz 11137340 BLAKE2B 3c18d2d73aa7ee920344691bd6de68b27b5cfb37e707921e04e3989596f3e5a088ac7171b033bb61473627cc1a5bf11d24a1f28d8483164b855f8023a74497e1 SHA512 f0bcb903bbf2ff7fc0b4a8fe100ea26ee91c0029b64adaf5fc4877ed7681f325c54b1be8eb0b140bff620da79f30a96375c2e1085e504ebfaf50e57f6da93013 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.1-r1.ebuild 13414 BLAKE2B de43bfb504fe2f1f5e93777b85c097b1463d271b42f095e484292052bc4c1272e95b06eac71e5314e0b1bbace716fb1f232f8b48d1c457dc316a2a136bd60ddf SHA512 5117bd498b00842dabd73d528309e9fb081c9b19bb296c3ba3be834316015ceea584c9f8b9d3af74458dc6ba709a90bdf703e7062af816c224833bc48adfa489 -EBUILD mesa-18.1.1.ebuild 13086 BLAKE2B 1b16c276e43656dae8281ab4cf73540856b6745ddca81b11ee7ce2cd70ce376c24f370217b22b4756ef4271946806b36032a0a9ef225a37a17c848e70a652568 SHA512 6360affa7be25af6f9f97b4de04a42706bf1fae95dc4453a6480c62135792dd9ef6b3a1c1385fbf9c6dfa7e84243d3f9d09e3be0770b9d1005665ce5a5c9a602 -EBUILD mesa-18.1.2.ebuild 13414 BLAKE2B de43bfb504fe2f1f5e93777b85c097b1463d271b42f095e484292052bc4c1272e95b06eac71e5314e0b1bbace716fb1f232f8b48d1c457dc316a2a136bd60ddf SHA512 5117bd498b00842dabd73d528309e9fb081c9b19bb296c3ba3be834316015ceea584c9f8b9d3af74458dc6ba709a90bdf703e7062af816c224833bc48adfa489 -EBUILD mesa-18.1.3.ebuild 13432 BLAKE2B 0ecb168929a67a1829e9b1e8ace99091813afb6e7facddae82e22b89c0011abfa0fba0d577649dff24b6ec6569651077ae77069f7ec6ad59d1bfe023ffa3f53c SHA512 19c6d34947e4962014b3df6738d2564bd6c0172be81d6101b051bdef96e8b1f2d901b8566aa4ed9212f42c190251477e70ad16188655c17ce32848703190d02f 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 MISC metadata.xml 2095 BLAKE2B c1c858a478bbb1c7e38a45dbf00e380a3d26c56920db1897521a7e9f4eb005157e535207ae2274d744e3ce5514a57654eb0effb2cfc773263a0f417874cdc742 SHA512 c3db8aeb4f4ae7ea27c8b48cb26ee9348d84e6fb4b99df815b177e62e78cd980a7834c152e2c10c6fdbe2b91a032861a0c0503625874bfb6df58ccc3bf54e705 diff --git a/media-libs/mesa/mesa-18.1.1-r1.ebuild b/media-libs/mesa/mesa-18.1.1-r1.ebuild deleted file mode 100644 index 174ef6902cfd..000000000000 --- a/media-libs/mesa/mesa-18.1.1-r1.ebuild +++ /dev/null @@ -1,539 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git" - -if [[ ${PV} = 9999 ]]; then - GIT_ECLASS="git-r3" - EXPERIMENTAL="true" -fi - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools llvm multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS} - -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 - SRC_URI="" -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="!bindist? ( bindist )" - -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} - bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind - +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind - vdpau vulkan wayland xvmc xa" - -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.91" -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}] - 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}] - ) - ) - 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}] ) - wayland? ( - >=dev-libs/wayland-1.15.0:=[${MULTILIB_USEDEP}] - >=dev-libs/wayland-protocols-1.8 - ) - xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] ) - ${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_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/gettext - virtual/pkgconfig - valgrind? ( dev-util/valgrind ) - x11-base/xorg-proto - vulkan? ( - $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]") - ) -" -[[ ${PV} == 9999 ]] && DEPEND+=" - sys-devel/bison - sys-devel/flex - $(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.1.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 -} - -src_prepare() { - eapply_user - [[ ${PV} == 9999 ]] && eautoreconf -} - -multilib_src_configure() { - local myconf - - if use classic; then - # Configurable DRI drivers - driver_enable swrast - - # Intel code - driver_enable video_cards_i915 i915 - driver_enable video_cards_i965 i965 - if ! use video_cards_i915 && \ - ! use video_cards_i965; then - driver_enable video_cards_intel i915 i965 - fi - - # Nouveau code - driver_enable video_cards_nouveau nouveau - - # ATI code - driver_enable video_cards_r100 radeon - driver_enable video_cards_r200 r200 - if ! use video_cards_r100 && \ - ! use video_cards_r200; then - driver_enable video_cards_radeon radeon r200 - fi - fi - - if use egl; then - myconf+=" --with-platforms=x11,surfaceless$(use wayland && echo ",wayland")$(use gbm && echo ",drm")" - fi - - if use gallium; then - myconf+=" - $(use_enable d3d9 nine) - $(use_enable llvm) - $(use_enable openmax omx-bellagio) - $(use_enable vaapi va) - $(use_enable vdpau) - $(use_enable xa) - $(use_enable xvmc) - " - use vaapi && myconf+=" --with-va-libdir=/usr/$(get_libdir)/va/drivers" - - gallium_enable swrast - 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 - myconf+=" - $(use_enable opencl) - --with-clang-libdir="${EPREFIX}/usr/lib" - " - fi - - gallium_enable video_cards_virgl virgl - fi - - if use vulkan; then - vulkan_enable video_cards_i965 intel - vulkan_enable video_cards_radeonsi radeon - fi - - # x86 hardened pax_kernel needs glx-rts, bug 240956 - if [[ ${ABI} == x86 ]]; then - myconf+=" $(use_enable pax_kernel glx-read-only-text)" - fi - - # on abi_x86_32 hardened we need to have asm disable - if [[ ${ABI} == x86* ]] && use pic; then - myconf+=" --disable-asm" - fi - - if use gallium; then - myconf+=" $(use_enable osmesa gallium-osmesa)" - else - myconf+=" $(use_enable osmesa)" - fi - - # build fails with BSD indent, bug #428112 - use userland_GNU || export INDENT=cat - - ECONF_SOURCE="${S}" \ - econf \ - --enable-dri \ - --enable-glx \ - --enable-shared-glapi \ - $(use_enable !bindist texture-float) \ - $(use_enable d3d9 nine) \ - $(use_enable debug) \ - $(use_enable dri3) \ - $(use_enable egl) \ - $(use_enable gbm) \ - $(use_enable gles1) \ - $(use_enable gles2) \ - $(use_enable nptl glx-tls) \ - $(use_enable unwind libunwind) \ - --enable-valgrind=$(usex valgrind auto no) \ - --enable-llvm-shared-libs \ - --disable-opencl-icd \ - --with-dri-drivers=${DRI_DRIVERS} \ - --with-gallium-drivers=${GALLIUM_DRIVERS} \ - --with-vulkan-drivers=${VULKAN_DRIVERS} \ - PYTHON2="${PYTHON}" \ - ${myconf} -} - -multilib_src_install() { - emake install DESTDIR="${D}" - - if use wayland; then - # These files are now provided by >=dev-libs/wayland-1.15.0 - rm "${ED}/usr/$(get_libdir)/libwayland-egl.so" || die - rm "${ED}/usr/$(get_libdir)/libwayland-egl.so.1" || die - rm "${ED}/usr/$(get_libdir)/libwayland-egl.so.1.0.0" || die - rm "${ED}/usr/$(get_libdir)/pkgconfig/wayland-egl.pc" || die - fi - - 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() { - find "${ED}" -name '*.la' -delete - einstalldocs - - if use !bindist; then - dodoc docs/patents.txt - fi -} - -multilib_src_test() { - if use llvm; then - local llvm_tests='lp_test_arit lp_test_arit lp_test_blend lp_test_blend lp_test_conv lp_test_conv lp_test_format lp_test_format lp_test_printf lp_test_printf' - pushd src/gallium/drivers/llvmpipe >/dev/null || die - emake ${llvm_tests} - pax-mark m ${llvm_tests} - popd >/dev/null || die - fi - emake check -} - -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 - - # warn about patent encumbered texture-float - if use !bindist; then - elog "USE=\"bindist\" was not set. Potentially patent encumbered code was" - elog "enabled. Please see /usr/share/doc/${P}/patents.txt.bz2 for an" - elog "explanation." - fi -} - -pkg_prerm() { - if use openmax; then - rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister - fi -} - -# $1 - VIDEO_CARDS flag -# other args - names of DRI drivers to enable -# TODO: avoid code duplication for a more elegant implementation -driver_enable() { - case $# in - # for enabling unconditionally - 1) - DRI_DRIVERS+=",$1" - ;; - *) - if use $1; then - shift - for i in $@; do - DRI_DRIVERS+=",${i}" - done - fi - ;; - esac -} - -gallium_enable() { - case $# in - # for enabling unconditionally - 1) - GALLIUM_DRIVERS+=",$1" - ;; - *) - if use $1; then - shift - for i in $@; do - GALLIUM_DRIVERS+=",${i}" - done - fi - ;; - esac -} - -vulkan_enable() { - case $# in - # for enabling unconditionally - 1) - VULKAN_DRIVERS+=",$1" - ;; - *) - if use $1; then - shift - for i in $@; do - VULKAN_DRIVERS+=",${i}" - done - fi - ;; - esac -} diff --git a/media-libs/mesa/mesa-18.1.1.ebuild b/media-libs/mesa/mesa-18.1.1.ebuild deleted file mode 100644 index 5acb40f75850..000000000000 --- a/media-libs/mesa/mesa-18.1.1.ebuild +++ /dev/null @@ -1,531 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git" - -if [[ ${PV} = 9999 ]]; then - GIT_ECLASS="git-r3" - EXPERIMENTAL="true" -fi - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools llvm multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS} - -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 - SRC_URI="" -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="!bindist? ( bindist )" - -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} - bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind - +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind - vdpau vulkan wayland xvmc xa" - -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.91" -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}] - 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}] - ) - ) - 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}] ) - wayland? ( - >=dev-libs/wayland-1.11.0:=[${MULTILIB_USEDEP}] - >=dev-libs/wayland-protocols-1.8 - ) - xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] ) - ${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_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/gettext - virtual/pkgconfig - valgrind? ( dev-util/valgrind ) - x11-base/xorg-proto - vulkan? ( - $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]") - ) -" -[[ ${PV} == 9999 ]] && DEPEND+=" - sys-devel/bison - sys-devel/flex - $(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.1.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 -} - -src_prepare() { - eapply_user - [[ ${PV} == 9999 ]] && eautoreconf -} - -multilib_src_configure() { - local myconf - - if use classic; then - # Configurable DRI drivers - driver_enable swrast - - # Intel code - driver_enable video_cards_i915 i915 - driver_enable video_cards_i965 i965 - if ! use video_cards_i915 && \ - ! use video_cards_i965; then - driver_enable video_cards_intel i915 i965 - fi - - # Nouveau code - driver_enable video_cards_nouveau nouveau - - # ATI code - driver_enable video_cards_r100 radeon - driver_enable video_cards_r200 r200 - if ! use video_cards_r100 && \ - ! use video_cards_r200; then - driver_enable video_cards_radeon radeon r200 - fi - fi - - if use egl; then - myconf+=" --with-platforms=x11,surfaceless$(use wayland && echo ",wayland")$(use gbm && echo ",drm")" - fi - - if use gallium; then - myconf+=" - $(use_enable d3d9 nine) - $(use_enable llvm) - $(use_enable openmax omx-bellagio) - $(use_enable vaapi va) - $(use_enable vdpau) - $(use_enable xa) - $(use_enable xvmc) - " - use vaapi && myconf+=" --with-va-libdir=/usr/$(get_libdir)/va/drivers" - - gallium_enable swrast - 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 - myconf+=" - $(use_enable opencl) - --with-clang-libdir="${EPREFIX}/usr/lib" - " - fi - - gallium_enable video_cards_virgl virgl - fi - - if use vulkan; then - vulkan_enable video_cards_i965 intel - vulkan_enable video_cards_radeonsi radeon - fi - - # x86 hardened pax_kernel needs glx-rts, bug 240956 - if [[ ${ABI} == x86 ]]; then - myconf+=" $(use_enable pax_kernel glx-read-only-text)" - fi - - # on abi_x86_32 hardened we need to have asm disable - if [[ ${ABI} == x86* ]] && use pic; then - myconf+=" --disable-asm" - fi - - if use gallium; then - myconf+=" $(use_enable osmesa gallium-osmesa)" - else - myconf+=" $(use_enable osmesa)" - fi - - # build fails with BSD indent, bug #428112 - use userland_GNU || export INDENT=cat - - ECONF_SOURCE="${S}" \ - econf \ - --enable-dri \ - --enable-glx \ - --enable-shared-glapi \ - $(use_enable !bindist texture-float) \ - $(use_enable d3d9 nine) \ - $(use_enable debug) \ - $(use_enable dri3) \ - $(use_enable egl) \ - $(use_enable gbm) \ - $(use_enable gles1) \ - $(use_enable gles2) \ - $(use_enable nptl glx-tls) \ - $(use_enable unwind libunwind) \ - --enable-valgrind=$(usex valgrind auto no) \ - --enable-llvm-shared-libs \ - --disable-opencl-icd \ - --with-dri-drivers=${DRI_DRIVERS} \ - --with-gallium-drivers=${GALLIUM_DRIVERS} \ - --with-vulkan-drivers=${VULKAN_DRIVERS} \ - PYTHON2="${PYTHON}" \ - ${myconf} -} - -multilib_src_install() { - emake install DESTDIR="${D}" - - 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() { - find "${ED}" -name '*.la' -delete - einstalldocs - - if use !bindist; then - dodoc docs/patents.txt - fi -} - -multilib_src_test() { - if use llvm; then - local llvm_tests='lp_test_arit lp_test_arit lp_test_blend lp_test_blend lp_test_conv lp_test_conv lp_test_format lp_test_format lp_test_printf lp_test_printf' - pushd src/gallium/drivers/llvmpipe >/dev/null || die - emake ${llvm_tests} - pax-mark m ${llvm_tests} - popd >/dev/null || die - fi - emake check -} - -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 - - # warn about patent encumbered texture-float - if use !bindist; then - elog "USE=\"bindist\" was not set. Potentially patent encumbered code was" - elog "enabled. Please see /usr/share/doc/${P}/patents.txt.bz2 for an" - elog "explanation." - fi -} - -pkg_prerm() { - if use openmax; then - rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister - fi -} - -# $1 - VIDEO_CARDS flag -# other args - names of DRI drivers to enable -# TODO: avoid code duplication for a more elegant implementation -driver_enable() { - case $# in - # for enabling unconditionally - 1) - DRI_DRIVERS+=",$1" - ;; - *) - if use $1; then - shift - for i in $@; do - DRI_DRIVERS+=",${i}" - done - fi - ;; - esac -} - -gallium_enable() { - case $# in - # for enabling unconditionally - 1) - GALLIUM_DRIVERS+=",$1" - ;; - *) - if use $1; then - shift - for i in $@; do - GALLIUM_DRIVERS+=",${i}" - done - fi - ;; - esac -} - -vulkan_enable() { - case $# in - # for enabling unconditionally - 1) - VULKAN_DRIVERS+=",$1" - ;; - *) - if use $1; then - shift - for i in $@; do - VULKAN_DRIVERS+=",${i}" - done - fi - ;; - esac -} diff --git a/media-libs/mesa/mesa-18.1.2.ebuild b/media-libs/mesa/mesa-18.1.2.ebuild deleted file mode 100644 index 174ef6902cfd..000000000000 --- a/media-libs/mesa/mesa-18.1.2.ebuild +++ /dev/null @@ -1,539 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git" - -if [[ ${PV} = 9999 ]]; then - GIT_ECLASS="git-r3" - EXPERIMENTAL="true" -fi - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools llvm multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS} - -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 - SRC_URI="" -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="!bindist? ( bindist )" - -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} - bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind - +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind - vdpau vulkan wayland xvmc xa" - -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.91" -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}] - 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}] - ) - ) - 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}] ) - wayland? ( - >=dev-libs/wayland-1.15.0:=[${MULTILIB_USEDEP}] - >=dev-libs/wayland-protocols-1.8 - ) - xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] ) - ${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_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/gettext - virtual/pkgconfig - valgrind? ( dev-util/valgrind ) - x11-base/xorg-proto - vulkan? ( - $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]") - ) -" -[[ ${PV} == 9999 ]] && DEPEND+=" - sys-devel/bison - sys-devel/flex - $(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.1.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 -} - -src_prepare() { - eapply_user - [[ ${PV} == 9999 ]] && eautoreconf -} - -multilib_src_configure() { - local myconf - - if use classic; then - # Configurable DRI drivers - driver_enable swrast - - # Intel code - driver_enable video_cards_i915 i915 - driver_enable video_cards_i965 i965 - if ! use video_cards_i915 && \ - ! use video_cards_i965; then - driver_enable video_cards_intel i915 i965 - fi - - # Nouveau code - driver_enable video_cards_nouveau nouveau - - # ATI code - driver_enable video_cards_r100 radeon - driver_enable video_cards_r200 r200 - if ! use video_cards_r100 && \ - ! use video_cards_r200; then - driver_enable video_cards_radeon radeon r200 - fi - fi - - if use egl; then - myconf+=" --with-platforms=x11,surfaceless$(use wayland && echo ",wayland")$(use gbm && echo ",drm")" - fi - - if use gallium; then - myconf+=" - $(use_enable d3d9 nine) - $(use_enable llvm) - $(use_enable openmax omx-bellagio) - $(use_enable vaapi va) - $(use_enable vdpau) - $(use_enable xa) - $(use_enable xvmc) - " - use vaapi && myconf+=" --with-va-libdir=/usr/$(get_libdir)/va/drivers" - - gallium_enable swrast - 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 - myconf+=" - $(use_enable opencl) - --with-clang-libdir="${EPREFIX}/usr/lib" - " - fi - - gallium_enable video_cards_virgl virgl - fi - - if use vulkan; then - vulkan_enable video_cards_i965 intel - vulkan_enable video_cards_radeonsi radeon - fi - - # x86 hardened pax_kernel needs glx-rts, bug 240956 - if [[ ${ABI} == x86 ]]; then - myconf+=" $(use_enable pax_kernel glx-read-only-text)" - fi - - # on abi_x86_32 hardened we need to have asm disable - if [[ ${ABI} == x86* ]] && use pic; then - myconf+=" --disable-asm" - fi - - if use gallium; then - myconf+=" $(use_enable osmesa gallium-osmesa)" - else - myconf+=" $(use_enable osmesa)" - fi - - # build fails with BSD indent, bug #428112 - use userland_GNU || export INDENT=cat - - ECONF_SOURCE="${S}" \ - econf \ - --enable-dri \ - --enable-glx \ - --enable-shared-glapi \ - $(use_enable !bindist texture-float) \ - $(use_enable d3d9 nine) \ - $(use_enable debug) \ - $(use_enable dri3) \ - $(use_enable egl) \ - $(use_enable gbm) \ - $(use_enable gles1) \ - $(use_enable gles2) \ - $(use_enable nptl glx-tls) \ - $(use_enable unwind libunwind) \ - --enable-valgrind=$(usex valgrind auto no) \ - --enable-llvm-shared-libs \ - --disable-opencl-icd \ - --with-dri-drivers=${DRI_DRIVERS} \ - --with-gallium-drivers=${GALLIUM_DRIVERS} \ - --with-vulkan-drivers=${VULKAN_DRIVERS} \ - PYTHON2="${PYTHON}" \ - ${myconf} -} - -multilib_src_install() { - emake install DESTDIR="${D}" - - if use wayland; then - # These files are now provided by >=dev-libs/wayland-1.15.0 - rm "${ED}/usr/$(get_libdir)/libwayland-egl.so" || die - rm "${ED}/usr/$(get_libdir)/libwayland-egl.so.1" || die - rm "${ED}/usr/$(get_libdir)/libwayland-egl.so.1.0.0" || die - rm "${ED}/usr/$(get_libdir)/pkgconfig/wayland-egl.pc" || die - fi - - 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() { - find "${ED}" -name '*.la' -delete - einstalldocs - - if use !bindist; then - dodoc docs/patents.txt - fi -} - -multilib_src_test() { - if use llvm; then - local llvm_tests='lp_test_arit lp_test_arit lp_test_blend lp_test_blend lp_test_conv lp_test_conv lp_test_format lp_test_format lp_test_printf lp_test_printf' - pushd src/gallium/drivers/llvmpipe >/dev/null || die - emake ${llvm_tests} - pax-mark m ${llvm_tests} - popd >/dev/null || die - fi - emake check -} - -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 - - # warn about patent encumbered texture-float - if use !bindist; then - elog "USE=\"bindist\" was not set. Potentially patent encumbered code was" - elog "enabled. Please see /usr/share/doc/${P}/patents.txt.bz2 for an" - elog "explanation." - fi -} - -pkg_prerm() { - if use openmax; then - rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister - fi -} - -# $1 - VIDEO_CARDS flag -# other args - names of DRI drivers to enable -# TODO: avoid code duplication for a more elegant implementation -driver_enable() { - case $# in - # for enabling unconditionally - 1) - DRI_DRIVERS+=",$1" - ;; - *) - if use $1; then - shift - for i in $@; do - DRI_DRIVERS+=",${i}" - done - fi - ;; - esac -} - -gallium_enable() { - case $# in - # for enabling unconditionally - 1) - GALLIUM_DRIVERS+=",$1" - ;; - *) - if use $1; then - shift - for i in $@; do - GALLIUM_DRIVERS+=",${i}" - done - fi - ;; - esac -} - -vulkan_enable() { - case $# in - # for enabling unconditionally - 1) - VULKAN_DRIVERS+=",$1" - ;; - *) - if use $1; then - shift - for i in $@; do - VULKAN_DRIVERS+=",${i}" - done - fi - ;; - esac -} diff --git a/media-libs/mesa/mesa-18.1.3.ebuild b/media-libs/mesa/mesa-18.1.3.ebuild deleted file mode 100644 index fab799310391..000000000000 --- a/media-libs/mesa/mesa-18.1.3.ebuild +++ /dev/null @@ -1,540 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git" - -if [[ ${PV} = 9999 ]]; then - GIT_ECLASS="git-r3" - EXPERIMENTAL="true" -fi - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools llvm multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS} - -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 - SRC_URI="" -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="!bindist? ( bindist )" - -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} - bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind - +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind - vdpau vulkan wayland xvmc xa" - -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.91" -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}] - 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}] - ) - ) - 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}] ) - wayland? ( - >=dev-libs/wayland-1.15.0:=[${MULTILIB_USEDEP}] - >=dev-libs/wayland-protocols-1.8 - ) - xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] ) - ${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="6" -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/gettext - virtual/pkgconfig - valgrind? ( dev-util/valgrind ) - x11-base/xorg-proto - vulkan? ( - $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]") - ) -" -[[ ${PV} == 9999 ]] && DEPEND+=" - sys-devel/bison - sys-devel/flex - $(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.1.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 -} - -src_prepare() { - eapply_user - [[ ${PV} == 9999 ]] && eautoreconf -} - -multilib_src_configure() { - local myconf - - if use classic; then - # Configurable DRI drivers - driver_enable swrast - - # Intel code - driver_enable video_cards_i915 i915 - driver_enable video_cards_i965 i965 - if ! use video_cards_i915 && \ - ! use video_cards_i965; then - driver_enable video_cards_intel i915 i965 - fi - - # Nouveau code - driver_enable video_cards_nouveau nouveau - - # ATI code - driver_enable video_cards_r100 radeon - driver_enable video_cards_r200 r200 - if ! use video_cards_r100 && \ - ! use video_cards_r200; then - driver_enable video_cards_radeon radeon r200 - fi - fi - - if use egl; then - myconf+=" --with-platforms=x11,surfaceless$(use wayland && echo ",wayland")$(use gbm && echo ",drm")" - fi - - if use gallium; then - myconf+=" - $(use_enable d3d9 nine) - $(use_enable llvm) - $(use_enable openmax omx-bellagio) - $(use_enable vaapi va) - $(use_enable vdpau) - $(use_enable xa) - $(use_enable xvmc) - " - use vaapi && myconf+=" --with-va-libdir=/usr/$(get_libdir)/va/drivers" - - gallium_enable swrast - 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 - myconf+=" - $(use_enable opencl) - --with-clang-libdir="${EPREFIX}/usr/lib" - " - fi - - gallium_enable video_cards_virgl virgl - fi - - if use vulkan; then - vulkan_enable video_cards_i965 intel - vulkan_enable video_cards_radeonsi radeon - fi - - # x86 hardened pax_kernel needs glx-rts, bug 240956 - if [[ ${ABI} == x86 ]]; then - myconf+=" $(use_enable pax_kernel glx-read-only-text)" - fi - - # on abi_x86_32 hardened we need to have asm disable - if [[ ${ABI} == x86* ]] && use pic; then - myconf+=" --disable-asm" - fi - - if use gallium; then - myconf+=" $(use_enable osmesa gallium-osmesa)" - else - myconf+=" $(use_enable osmesa)" - fi - - # build fails with BSD indent, bug #428112 - use userland_GNU || export INDENT=cat - - ECONF_SOURCE="${S}" \ - econf \ - --enable-dri \ - --enable-glx \ - --enable-shared-glapi \ - $(use_enable !bindist texture-float) \ - $(use_enable d3d9 nine) \ - $(use_enable debug) \ - $(use_enable dri3) \ - $(use_enable egl) \ - $(use_enable gbm) \ - $(use_enable gles1) \ - $(use_enable gles2) \ - $(use_enable nptl glx-tls) \ - $(use_enable unwind libunwind) \ - --enable-valgrind=$(usex valgrind auto no) \ - --enable-llvm-shared-libs \ - --disable-opencl-icd \ - --with-dri-drivers=${DRI_DRIVERS} \ - --with-gallium-drivers=${GALLIUM_DRIVERS} \ - --with-vulkan-drivers=${VULKAN_DRIVERS} \ - PYTHON2="${PYTHON}" \ - ${myconf} -} - -multilib_src_install() { - emake install DESTDIR="${D}" - - if use wayland; then - # These files are now provided by >=dev-libs/wayland-1.15.0 - rm "${ED}/usr/$(get_libdir)/libwayland-egl.so" || die - rm "${ED}/usr/$(get_libdir)/libwayland-egl.so.1" || die - rm "${ED}/usr/$(get_libdir)/libwayland-egl.so.1.0.0" || die - rm "${ED}/usr/$(get_libdir)/pkgconfig/wayland-egl.pc" || die - fi - - 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() { - find "${ED}" -name '*.la' -delete - einstalldocs - - if use !bindist; then - dodoc docs/patents.txt - fi -} - -multilib_src_test() { - if use llvm; then - local llvm_tests='lp_test_arit lp_test_arit lp_test_blend lp_test_blend lp_test_conv lp_test_conv lp_test_format lp_test_format lp_test_printf lp_test_printf' - pushd src/gallium/drivers/llvmpipe >/dev/null || die - emake ${llvm_tests} - pax-mark m ${llvm_tests} - popd >/dev/null || die - fi - emake check -} - -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 - - # warn about patent encumbered texture-float - if use !bindist; then - elog "USE=\"bindist\" was not set. Potentially patent encumbered code was" - elog "enabled. Please see /usr/share/doc/${P}/patents.txt.bz2 for an" - elog "explanation." - fi -} - -pkg_prerm() { - if use openmax; then - rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister - fi -} - -# $1 - VIDEO_CARDS flag -# other args - names of DRI drivers to enable -# TODO: avoid code duplication for a more elegant implementation -driver_enable() { - case $# in - # for enabling unconditionally - 1) - DRI_DRIVERS+=",$1" - ;; - *) - if use $1; then - shift - for i in $@; do - DRI_DRIVERS+=",${i}" - done - fi - ;; - esac -} - -gallium_enable() { - case $# in - # for enabling unconditionally - 1) - GALLIUM_DRIVERS+=",$1" - ;; - *) - if use $1; then - shift - for i in $@; do - GALLIUM_DRIVERS+=",${i}" - done - fi - ;; - esac -} - -vulkan_enable() { - case $# in - # for enabling unconditionally - 1) - VULKAN_DRIVERS+=",$1" - ;; - *) - if use $1; then - shift - for i in $@; do - VULKAN_DRIVERS+=",${i}" - done - fi - ;; - esac -} diff --git a/media-libs/mesa/mesa-18.1.5.ebuild b/media-libs/mesa/mesa-18.1.5.ebuild new file mode 100644 index 000000000000..fab799310391 --- /dev/null +++ b/media-libs/mesa/mesa-18.1.5.ebuild @@ -0,0 +1,540 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git" + +if [[ ${PV} = 9999 ]]; then + GIT_ECLASS="git-r3" + EXPERIMENTAL="true" +fi + +PYTHON_COMPAT=( python2_7 ) + +inherit autotools llvm multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS} + +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 + SRC_URI="" +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="!bindist? ( bindist )" + +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} + bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind + +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind + vdpau vulkan wayland xvmc xa" + +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.91" +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}] + 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}] + ) + ) + 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}] ) + wayland? ( + >=dev-libs/wayland-1.15.0:=[${MULTILIB_USEDEP}] + >=dev-libs/wayland-protocols-1.8 + ) + xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] ) + ${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="6" +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/gettext + virtual/pkgconfig + valgrind? ( dev-util/valgrind ) + x11-base/xorg-proto + vulkan? ( + $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]") + ) +" +[[ ${PV} == 9999 ]] && DEPEND+=" + sys-devel/bison + sys-devel/flex + $(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.1.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 +} + +src_prepare() { + eapply_user + [[ ${PV} == 9999 ]] && eautoreconf +} + +multilib_src_configure() { + local myconf + + if use classic; then + # Configurable DRI drivers + driver_enable swrast + + # Intel code + driver_enable video_cards_i915 i915 + driver_enable video_cards_i965 i965 + if ! use video_cards_i915 && \ + ! use video_cards_i965; then + driver_enable video_cards_intel i915 i965 + fi + + # Nouveau code + driver_enable video_cards_nouveau nouveau + + # ATI code + driver_enable video_cards_r100 radeon + driver_enable video_cards_r200 r200 + if ! use video_cards_r100 && \ + ! use video_cards_r200; then + driver_enable video_cards_radeon radeon r200 + fi + fi + + if use egl; then + myconf+=" --with-platforms=x11,surfaceless$(use wayland && echo ",wayland")$(use gbm && echo ",drm")" + fi + + if use gallium; then + myconf+=" + $(use_enable d3d9 nine) + $(use_enable llvm) + $(use_enable openmax omx-bellagio) + $(use_enable vaapi va) + $(use_enable vdpau) + $(use_enable xa) + $(use_enable xvmc) + " + use vaapi && myconf+=" --with-va-libdir=/usr/$(get_libdir)/va/drivers" + + gallium_enable swrast + 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 + myconf+=" + $(use_enable opencl) + --with-clang-libdir="${EPREFIX}/usr/lib" + " + fi + + gallium_enable video_cards_virgl virgl + fi + + if use vulkan; then + vulkan_enable video_cards_i965 intel + vulkan_enable video_cards_radeonsi radeon + fi + + # x86 hardened pax_kernel needs glx-rts, bug 240956 + if [[ ${ABI} == x86 ]]; then + myconf+=" $(use_enable pax_kernel glx-read-only-text)" + fi + + # on abi_x86_32 hardened we need to have asm disable + if [[ ${ABI} == x86* ]] && use pic; then + myconf+=" --disable-asm" + fi + + if use gallium; then + myconf+=" $(use_enable osmesa gallium-osmesa)" + else + myconf+=" $(use_enable osmesa)" + fi + + # build fails with BSD indent, bug #428112 + use userland_GNU || export INDENT=cat + + ECONF_SOURCE="${S}" \ + econf \ + --enable-dri \ + --enable-glx \ + --enable-shared-glapi \ + $(use_enable !bindist texture-float) \ + $(use_enable d3d9 nine) \ + $(use_enable debug) \ + $(use_enable dri3) \ + $(use_enable egl) \ + $(use_enable gbm) \ + $(use_enable gles1) \ + $(use_enable gles2) \ + $(use_enable nptl glx-tls) \ + $(use_enable unwind libunwind) \ + --enable-valgrind=$(usex valgrind auto no) \ + --enable-llvm-shared-libs \ + --disable-opencl-icd \ + --with-dri-drivers=${DRI_DRIVERS} \ + --with-gallium-drivers=${GALLIUM_DRIVERS} \ + --with-vulkan-drivers=${VULKAN_DRIVERS} \ + PYTHON2="${PYTHON}" \ + ${myconf} +} + +multilib_src_install() { + emake install DESTDIR="${D}" + + if use wayland; then + # These files are now provided by >=dev-libs/wayland-1.15.0 + rm "${ED}/usr/$(get_libdir)/libwayland-egl.so" || die + rm "${ED}/usr/$(get_libdir)/libwayland-egl.so.1" || die + rm "${ED}/usr/$(get_libdir)/libwayland-egl.so.1.0.0" || die + rm "${ED}/usr/$(get_libdir)/pkgconfig/wayland-egl.pc" || die + fi + + 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() { + find "${ED}" -name '*.la' -delete + einstalldocs + + if use !bindist; then + dodoc docs/patents.txt + fi +} + +multilib_src_test() { + if use llvm; then + local llvm_tests='lp_test_arit lp_test_arit lp_test_blend lp_test_blend lp_test_conv lp_test_conv lp_test_format lp_test_format lp_test_printf lp_test_printf' + pushd src/gallium/drivers/llvmpipe >/dev/null || die + emake ${llvm_tests} + pax-mark m ${llvm_tests} + popd >/dev/null || die + fi + emake check +} + +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 + + # warn about patent encumbered texture-float + if use !bindist; then + elog "USE=\"bindist\" was not set. Potentially patent encumbered code was" + elog "enabled. Please see /usr/share/doc/${P}/patents.txt.bz2 for an" + elog "explanation." + fi +} + +pkg_prerm() { + if use openmax; then + rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister + fi +} + +# $1 - VIDEO_CARDS flag +# other args - names of DRI drivers to enable +# TODO: avoid code duplication for a more elegant implementation +driver_enable() { + case $# in + # for enabling unconditionally + 1) + DRI_DRIVERS+=",$1" + ;; + *) + if use $1; then + shift + for i in $@; do + DRI_DRIVERS+=",${i}" + done + fi + ;; + esac +} + +gallium_enable() { + case $# in + # for enabling unconditionally + 1) + GALLIUM_DRIVERS+=",$1" + ;; + *) + if use $1; then + shift + for i in $@; do + GALLIUM_DRIVERS+=",${i}" + done + fi + ;; + esac +} + +vulkan_enable() { + case $# in + # for enabling unconditionally + 1) + VULKAN_DRIVERS+=",$1" + ;; + *) + if use $1; then + shift + for i in $@; do + VULKAN_DRIVERS+=",${i}" + done + fi + ;; + esac +} diff --git a/media-libs/mlt/Manifest b/media-libs/mlt/Manifest index 8110cb256573..1804672aa61f 100644 --- a/media-libs/mlt/Manifest +++ b/media-libs/mlt/Manifest @@ -5,8 +5,15 @@ AUX mlt-6.4.1-libebur128-unbundle.patch 4162 BLAKE2B d7d3094e514f52d4fe5de2791e5 AUX mlt-6.4.1-opencv-3.3.patch 1346 BLAKE2B 686a28e6d08795919dc6bc9429f0cf3494a540ecd4f5b45018c8dca2fb7014cb9dec34177fd117a2cf58d88a0579b3e7df6eaa64d6eb12fa150c654ba1f9dd9d SHA512 5bab43be1a0e85764a7a80f58a1f211aef737a6ccbe3d9080e12103235891a0418aa8505268a71632b737834c9a5eb379bdefcb24f63862a596860dd118ee622 AUX mlt-6.4.1-qtopengl-1.patch 993 BLAKE2B f8f84d0c2b3e08eb8f7a69b915af0e6784c4033e788df5ad6b83abe4a833839ca23fb8773761ce61bcf725dd125efad31c8075fe75ab64c46d76ce5b3097926c SHA512 4acc3ff23c286748986236211b20f6b6192828908e7177bd2056da87dcdc1f9abe93bf50f7d53e2ccac148d6ab757371619f02d4e2ac77fb6b810580804e9696 AUX mlt-6.4.1-qtopengl-2.patch 2573 BLAKE2B 3a313c170a079b8c036a75773b2e9f8b047b958a6df55cacf5d24a05ff2e33f1dad032ff5813aaf224d843988d511ad093b5eaa3314d306493a4d359307bd576 SHA512 dd1c0972e5b659c777a94a05a7d070e0e1ffdf1a364f24213ad7ab37bf90e9d7209711dd1e1dd106ed260721a32533fd4873d0df28e5ac683eb88ccdbbd0947f +AUX mlt-6.6.0-gif-encoding.patch 1173 BLAKE2B 0396640a30e827b9789540db7df643a82fa64d5748e206e6a7b1dbb6fa30c45dc0c170b067c83968a0497bb2e765b5971e33d3b8d945310d7eceb4c44cc6f2d8 SHA512 2b80a8853002c8f129b376826532ca1b3147f933bb83adf9e960224f165f4078cb3a8a273f153d95a8171407da6de5549e26bc95effaa48a423242f37f071655 +AUX mlt-6.6.0-kdenlivetitle-crash.patch 803 BLAKE2B 30d8552398ffa355196dd418110cbac512f6800004c14ece7deddd4210781859c3fc81380816e06b89b0abe6b23a50d40cb17e8e44cdfd63b3331214dc26b157 SHA512 cbbf45c018419f32bc08b378369acf2af91616c569f72fcb35f20e46231f00225d533d77032c9aac3f04ac4eaf003b75ebff73b8e687c7cb13267f6b5a45bf85 +AUX mlt-6.6.0-libav-1.patch 1433 BLAKE2B 3549e44e1957e4fce9558f4d2494e430f36f2a02bbad4fed5510103141df494886561c3c722a21c94b74514d3b2b559e71ee4471fa43c57f5e7f8569a70b675f SHA512 dec1bc755f41c76fe907332aa0f5de9a3c8694b2881e9b7ab7768800343e000e0f216f341167e128b1e1763f4933df32f7e8bc805e0f4436d11eaffe838c29bb +AUX mlt-6.6.0-libav-2.patch 1175 BLAKE2B 57753322de41f78d28178eb2bbcc5b5faca6a54561599977ed95c681186e4560454c86bc4229d326411ecbd5ccb51caff74451b957763844b6a09a80b58fddf4 SHA512 6ccf1aa9560c1e521e661c45ab5ae49ec88d4f58259cf6b5b8dadb1e17d7f3e0bfe7917f07d16405d68ab65539538f14312be5acf0688ada3975908db28cfa9e +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.4.1.tar.gz 1344030 BLAKE2B 835561eac31a44d292c5915567338eb43110b3474778327af282403b43e3e89eaec407e5920f81a774c03968b4c08a496b0ef6c3e6d0970c17353613e7f4d051 SHA512 b082274e2184a0496f496517ddbcae33bab44cd1f50c1708942b7a24e5861ba97cae9fa21ec41ea21d662cbf56e2e2e66caa707a100077ef6e13aa7140f7a9fb DIST mlt-6.6.0.tar.gz 1365768 BLAKE2B e2e6919d603560dac3d809740a3be2989a3b52a4e933fa67927c5c26796a5c9b35da1aedb54caa4c87133dc682d5f41455900594ebdfd6ec1516ff02d477d58f SHA512 06e553d2deb36deddd9e0f2269ee0529bf768e73d2160ee16a4cd36ed3fba5be145165f0b21278623afece046351264269509ff05f24fbbb2f163be1f4d48845 EBUILD mlt-6.4.1-r6.ebuild 5685 BLAKE2B 9785e64a795bfa740e4e70b4c4941b2be9ef3ceeb936c112137e137c19e814cbca10b168498e1da4e5e63010589c98f21c0cc06d23a60870fd645d0229679293 SHA512 f77ba0383dc88fb9f5d473fee589995a8b8a77d433b691e54e165c3785adcdc0d8dc2c6af34f7eb4e17d866769cf85e1e3f8066acacf27d3b70460ec382d19d3 -EBUILD mlt-6.6.0.ebuild 5570 BLAKE2B ad04d53ba03cfdbb2b1e2a073f3c5ebfdb96ba997d65b1038df10ecb0792978d5594abee77d7bd9766594091f7f9b4f4bfdde389bb2bba8c034e76acd62f9129 SHA512 54992941e5c45b3a8c43aad80e2f121790d54551cbcd8f644a995821feaa76c48fcb49ee5cdd436714f339ba62442bac33e41661ad770611dab8100de154cf88 +EBUILD mlt-6.6.0-r1.ebuild 5911 BLAKE2B 92396167dc5cf147c644eec7f03dca94029b6296a527ccf17f0cdf6d5152295900ab8b98d402bd9b3fc4d93c3618c40155168a539046d1a99638c9ba65eb8e7e SHA512 b5990e8e9969d8f4450b5b3e69dc0c22eb9b7238909f042cb71a5078306547fc7b83f94f9299b85485b8660cab9be29013959af7237fca46aef73629c3e95564 MISC metadata.xml 1571 BLAKE2B d048070896ee31a768268cef47e8b051d24a7a48a0728a82045f8a1cccc361378945cb6d84dadb31a7c664e5f57fe15dde85e08fc579fe8f839ce5c3e64e75cc SHA512 6dbfe8206f62d5c8801e2f3a71ab409a3f3072f600d6fc935b1dbb0cc4cb67f3a0ed221a3c6a76977b3fbea60c7fb7bbf2047e55ef5a7a5aacc8bf60252fcc01 diff --git a/media-libs/mlt/files/mlt-6.6.0-gif-encoding.patch b/media-libs/mlt/files/mlt-6.6.0-gif-encoding.patch new file mode 100644 index 000000000000..4faecdc78792 --- /dev/null +++ b/media-libs/mlt/files/mlt-6.6.0-gif-encoding.patch @@ -0,0 +1,33 @@ +From c7c2f271170892094a0cccdb517ca1b6061208d7 Mon Sep 17 00:00:00 2001 +From: Dan Dennedy +Date: Mon, 12 Mar 2018 15:20:29 -0700 +Subject: [PATCH] Fix #284 GIF encoding not working. + +This also fixes DPX. +--- + presets/consumer/avformat/GIF | 1 - + src/modules/avformat/consumer_avformat.c | 2 +- + 2 files changed, 1 insertion(+), 2 deletions(-) + +diff --git a/presets/consumer/avformat/GIF b/presets/consumer/avformat/GIF +index f6a0cd41a..da7361851 100644 +--- a/presets/consumer/avformat/GIF ++++ b/presets/consumer/avformat/GIF +@@ -7,4 +7,3 @@ bf=0 + + meta.preset.extension=gif + meta.preset.name=GIF Animation +-meta.preset.hidden=1 +diff --git a/src/modules/avformat/consumer_avformat.c b/src/modules/avformat/consumer_avformat.c +index caac488e2..c3724d131 100644 +--- a/src/modules/avformat/consumer_avformat.c ++++ b/src/modules/avformat/consumer_avformat.c +@@ -71,7 +71,7 @@ + #define AUDIO_ENCODE_BUFFER_SIZE (48000 * 2 * MAX_AUDIO_STREAMS) + #define AUDIO_BUFFER_SIZE (1024 * 42) + #define VIDEO_BUFFER_SIZE (8192 * 8192) +-#define IMAGE_ALIGN (1) ++#define IMAGE_ALIGN (4) + + // + // This structure should be extended and made globally available in mlt diff --git a/media-libs/mlt/files/mlt-6.6.0-kdenlivetitle-crash.patch b/media-libs/mlt/files/mlt-6.6.0-kdenlivetitle-crash.patch new file mode 100644 index 000000000000..b65a63d87667 --- /dev/null +++ b/media-libs/mlt/files/mlt-6.6.0-kdenlivetitle-crash.patch @@ -0,0 +1,22 @@ +From 95f7f7bc104ec35ed3c909e52d928313fd35a48c Mon Sep 17 00:00:00 2001 +From: Jean-Baptiste Mardelle +Date: Mon, 19 Mar 2018 09:20:49 +0100 +Subject: [PATCH] Fix crash with kdenlivetile caused by wrong malloc size + +--- + src/modules/qt/producer_kdenlivetitle.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/modules/qt/producer_kdenlivetitle.c b/src/modules/qt/producer_kdenlivetitle.c +index 67508aa33..4dc5d9c6b 100644 +--- a/src/modules/qt/producer_kdenlivetitle.c ++++ b/src/modules/qt/producer_kdenlivetitle.c +@@ -41,7 +41,7 @@ void read_xml(mlt_properties properties) + goto error; + rewind (f); + +- char *infile = (char*) mlt_pool_alloc(lSize); ++ char *infile = (char*) mlt_pool_alloc(lSize + 1); + if ( infile ) + { + size = fread(infile,1,lSize,f); diff --git a/media-libs/mlt/files/mlt-6.6.0-libav-1.patch b/media-libs/mlt/files/mlt-6.6.0-libav-1.patch new file mode 100644 index 000000000000..6dc5a73c7fe2 --- /dev/null +++ b/media-libs/mlt/files/mlt-6.6.0-libav-1.patch @@ -0,0 +1,39 @@ +From bd59735b4f97ae9dff864debdecc2318b0cb8f94 Mon Sep 17 00:00:00 2001 +From: Dan Dennedy +Date: Mon, 12 Feb 2018 12:21:19 -0800 +Subject: [PATCH] Fix compile error with libav. + +--- + src/modules/avformat/producer_avformat.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/modules/avformat/producer_avformat.c b/src/modules/avformat/producer_avformat.c +index 214c8b325..7de997cc2 100644 +--- a/src/modules/avformat/producer_avformat.c ++++ b/src/modules/avformat/producer_avformat.c +@@ -1,6 +1,6 @@ + /* + * producer_avformat.c -- avformat producer +- * Copyright (C) 2003-2017 Meltytech, LLC ++ * Copyright (C) 2003-2018 Meltytech, LLC + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public +@@ -1266,7 +1266,7 @@ static int pick_av_pixel_format( int *pix_fmt ) + return 0; + } + +-#if LIBSWSCALE_VERSION_INT >= AV_VERSION_INT( 3, 1, 101 ) ++#if defined(FFUDIV) && LIBSWSCALE_VERSION_INT >= AV_VERSION_INT( 3, 1, 101 ) + struct sliced_pix_fmt_conv_t + { + int width, height, slice_w; +@@ -1461,7 +1461,7 @@ static int convert_image( producer_avformat self, AVFrame *frame, uint8_t *buffe + sws_freeContext( context ); + } + else +-#if LIBSWSCALE_VERSION_INT >= AV_VERSION_INT( 3, 1, 101 ) ++#if defined(FFUDIV) && LIBSWSCALE_VERSION_INT >= AV_VERSION_INT( 3, 1, 101 ) + { + int i, c; + struct sliced_pix_fmt_conv_t ctx = diff --git a/media-libs/mlt/files/mlt-6.6.0-libav-2.patch b/media-libs/mlt/files/mlt-6.6.0-libav-2.patch new file mode 100644 index 000000000000..d29cabec704a --- /dev/null +++ b/media-libs/mlt/files/mlt-6.6.0-libav-2.patch @@ -0,0 +1,31 @@ +From 56e3affe1ff425d979ea9f2a5e086d769852c3fc Mon Sep 17 00:00:00 2001 +From: Dan Dennedy +Date: Fri, 16 Feb 2018 09:55:29 -0800 +Subject: [PATCH] Fix compile error with libav. + +--- + src/modules/avformat/producer_avformat.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/modules/avformat/producer_avformat.c b/src/modules/avformat/producer_avformat.c +index 7de997cc2..2fafd00e8 100644 +--- a/src/modules/avformat/producer_avformat.c ++++ b/src/modules/avformat/producer_avformat.c +@@ -1266,7 +1266,7 @@ static int pick_av_pixel_format( int *pix_fmt ) + return 0; + } + +-#if defined(FFUDIV) && LIBSWSCALE_VERSION_INT >= AV_VERSION_INT( 3, 1, 101 ) ++#if defined(FFUDIV) && (LIBSWSCALE_VERSION_INT >= ((3<<16)+(1<<8)+101)) + struct sliced_pix_fmt_conv_t + { + int width, height, slice_w; +@@ -1461,7 +1461,7 @@ static int convert_image( producer_avformat self, AVFrame *frame, uint8_t *buffe + sws_freeContext( context ); + } + else +-#if defined(FFUDIV) && LIBSWSCALE_VERSION_INT >= AV_VERSION_INT( 3, 1, 101 ) ++#if defined(FFUDIV) && (LIBSWSCALE_VERSION_INT >= ((3<<16)+(1<<8)+101)) + { + int i, c; + struct sliced_pix_fmt_conv_t ctx = diff --git a/media-libs/mlt/files/mlt-6.6.0-libav-3.patch b/media-libs/mlt/files/mlt-6.6.0-libav-3.patch new file mode 100644 index 000000000000..fdbd5ef271f2 --- /dev/null +++ b/media-libs/mlt/files/mlt-6.6.0-libav-3.patch @@ -0,0 +1,23 @@ +From 53181a4e4629e2cd22c6f5d16a459aa843f4bd65 Mon Sep 17 00:00:00 2001 +From: Dan Dennedy +Date: Fri, 23 Feb 2018 10:04:47 -0800 +Subject: [PATCH] Fix compile error with libav. + +--- + src/modules/avformat/consumer_avformat.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/modules/avformat/consumer_avformat.c b/src/modules/avformat/consumer_avformat.c +index 6deb76df5..ba5c900c7 100644 +--- a/src/modules/avformat/consumer_avformat.c ++++ b/src/modules/avformat/consumer_avformat.c +@@ -1647,7 +1647,9 @@ static void *consumer_thread( void *arg ) + enc_ctx->audio_avframe->format = c->sample_fmt; + enc_ctx->audio_avframe->nb_samples = enc_ctx->audio_input_frame_size; + enc_ctx->audio_avframe->channel_layout = c->channel_layout; ++#if LIBAVCODEC_VERSION_INT >= ((57<<16)+(96<<8)) && LIBAVCODEC_VERSION_MICRO >= 100 + enc_ctx->audio_avframe->channels = c->channels; ++#endif + } else { + mlt_log_error( MLT_CONSUMER_SERVICE(consumer), "failed to allocate audio AVFrame\n" ); + mlt_events_fire( properties, "consumer-fatal-error", NULL ); diff --git a/media-libs/mlt/files/mlt-6.6.0-png-segfault.patch b/media-libs/mlt/files/mlt-6.6.0-png-segfault.patch new file mode 100644 index 000000000000..c93458a8273b --- /dev/null +++ b/media-libs/mlt/files/mlt-6.6.0-png-segfault.patch @@ -0,0 +1,36 @@ +From e013fd7c2f49b40a1b482d712d531329d538da88 Mon Sep 17 00:00:00 2001 +From: Brian Matherly +Date: Wed, 31 Jan 2018 20:57:42 -0600 +Subject: [PATCH] Fix segmentation fault when using qimage png producer #296 + +--- + src/modules/qt/qimage_wrapper.cpp | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/src/modules/qt/qimage_wrapper.cpp b/src/modules/qt/qimage_wrapper.cpp +index 436f65d15..99b4ebf8e 100644 +--- a/src/modules/qt/qimage_wrapper.cpp ++++ b/src/modules/qt/qimage_wrapper.cpp +@@ -229,18 +229,19 @@ void refresh_image( producer_qimage self, mlt_frame frame, mlt_image_format form + QString interps = mlt_properties_get( properties, "rescale.interp" ); + bool interp = ( interps != "nearest" ) && ( interps != "none" ); + QImage *qimage = static_cast( self->qimage ); ++ int has_alpha = qimage->hasAlphaChannel(); ++ QImage::Format qimageFormat = has_alpha ? QImage::Format_ARGB32 : QImage::Format_RGB32; + + // Note - the original qimage is already safe and ready for destruction +- if ( qimage->depth() == 1 ) ++ if ( qimage->format() != qimageFormat ) + { +- QImage temp = qimage->convertToFormat( QImage::Format_RGB32 ); ++ QImage temp = qimage->convertToFormat( qimageFormat ); + delete qimage; + qimage = new QImage( temp ); + self->qimage = qimage; + } + QImage scaled = interp? qimage->scaled( QSize( width, height ) ) : + qimage->scaled( QSize(width, height), Qt::IgnoreAspectRatio, Qt::SmoothTransformation ); +- int has_alpha = scaled.hasAlphaChannel(); + + // Store width and height + self->current_width = width; diff --git a/media-libs/mlt/files/mlt-6.6.0-vorbis-ffmpeg-3.4.patch b/media-libs/mlt/files/mlt-6.6.0-vorbis-ffmpeg-3.4.patch new file mode 100644 index 000000000000..bdf6ea211d43 --- /dev/null +++ b/media-libs/mlt/files/mlt-6.6.0-vorbis-ffmpeg-3.4.patch @@ -0,0 +1,29 @@ +From 7e0d478d161eacea015aa3d116e250e7c5f9f942 Mon Sep 17 00:00:00 2001 +From: Dan Dennedy +Date: Wed, 7 Feb 2018 16:58:44 -0800 +Subject: [PATCH] Fix vorbis encoding with FFmpeg v3.4+ + +--- + src/modules/avformat/consumer_avformat.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/modules/avformat/consumer_avformat.c b/src/modules/avformat/consumer_avformat.c +index 434710049..6deb76df5 100644 +--- a/src/modules/avformat/consumer_avformat.c ++++ b/src/modules/avformat/consumer_avformat.c +@@ -1,6 +1,6 @@ + /* + * consumer_avformat.c -- an encoder based on avformat +- * Copyright (C) 2003-2017 Meltytech, LLC ++ * Copyright (C) 2003-2018 Meltytech, LLC + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public +@@ -1647,6 +1647,7 @@ static void *consumer_thread( void *arg ) + enc_ctx->audio_avframe->format = c->sample_fmt; + enc_ctx->audio_avframe->nb_samples = enc_ctx->audio_input_frame_size; + enc_ctx->audio_avframe->channel_layout = c->channel_layout; ++ enc_ctx->audio_avframe->channels = c->channels; + } else { + mlt_log_error( MLT_CONSUMER_SERVICE(consumer), "failed to allocate audio AVFrame\n" ); + mlt_events_fire( properties, "consumer-fatal-error", NULL ); diff --git a/media-libs/mlt/mlt-6.6.0-r1.ebuild b/media-libs/mlt/mlt-6.6.0-r1.ebuild new file mode 100644 index 000000000000..075ddb77dc01 --- /dev/null +++ b/media-libs/mlt/mlt-6.6.0-r1.ebuild @@ -0,0 +1,238 @@ +# 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 sdl2 vdpau xine xml" +# java perl php tcl vidstab +IUSE="${IUSE} kernel_linux" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) sdl2? ( sdl )" + +#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 + kernel_linux? ( media-libs/alsa-lib ) + ) + ruby? ( ${RUBY_DEPS} ) + sdl? ( + sdl2? ( + media-libs/libsdl2[X,opengl,video] + media-libs/sdl2-image + ) + !sdl2? ( + >=media-libs/libsdl-1.2.10[X,opengl,video] + >=media-libs/sdl-image-1.2.4 + ) + ) + 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}-vorbis-ffmpeg-3.4.patch + "${FILESDIR}"/${P}-libav-{1,2,3}.patch + "${FILESDIR}"/${P}-png-segfault.patch + "${FILESDIR}"/${P}-gif-encoding.patch + "${FILESDIR}"/${P}-kdenlivetitle-crash.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-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 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 sdl ; then + if use sdl2 ; then + myconf+=( --enable-sdl2 --disable-sdl ) + else + myconf+=( --enable-sdl --disable-sdl2 ) + fi + 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/mlt/mlt-6.6.0.ebuild b/media-libs/mlt/mlt-6.6.0.ebuild deleted file mode 100644 index 16e7f54c7d0e..000000000000 --- a/media-libs/mlt/mlt-6.6.0.ebuild +++ /dev/null @@ -1,221 +0,0 @@ -# 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 eutils flag-o-matic multilib 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 sdl2 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 - kernel_linux? ( media-libs/alsa-lib ) - ) - ruby? ( ${RUBY_DEPS} ) - sdl? ( - >=media-libs/libsdl-1.2.10[X,opengl,video] - >=media-libs/sdl-image-1.2.4 - ) - sdl2? ( - 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 ) - -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-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 sdl) - $(use_enable sdl2) - $(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 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/sdl-pango/Manifest b/media-libs/sdl-pango/Manifest index dd9f65137e2a..884edeae8ac4 100644 --- a/media-libs/sdl-pango/Manifest +++ b/media-libs/sdl-pango/Manifest @@ -1,5 +1,5 @@ DIST SDL_Pango-0.1.2-API-adds.patch 3624 BLAKE2B 17d619c65f126968b2613c9ceb3430037b5c62a08d07fddccfef9c1489751637d85000471d60f68b814799e469b8aab907b1ec3bcd42b34946532b555e38dd62 SHA512 cfda28cd9334989abf7d99a36a15d6d4aac0ee5e9315b21bd5999d106bcd671717328b53cd58c2fa406f61f1728860c2ef7e1cf15bf53b44da4b3cc902a7f7ad DIST SDL_Pango-0.1.2.tar.gz 405967 BLAKE2B 310dc47ba8030248a856b9f1c077f04f16ae3e0209afb0051a478d07c7d694bf3d16bd3e507c56d9fbec6bf24b55c6c20da5785b3de547463eee3c858d56f98a SHA512 081ec57e0f55ce541c35393d6db7ea48b662a5008760781076d70c0a645d47f7e994f695c459ed51f8cb71494911a04cd416733fb57934321b806a1ac9878440 -EBUILD sdl-pango-0.1.2-r1.ebuild 928 BLAKE2B 418bdb304e5e8ab78012f7214d590b7e753406a49fe50cd9e36140291dc7f48fa195918b6e3db71fb4deed0fc1d195323593bcd9b14c297c5a691f897758ef01 SHA512 070160bcfa93afcbc40c88a0b9be7b2b0111e613e9d5ca2366f725f97320f21ec4ffc602ec1ded76231c08a0e98fd20832c082fd0aa8ac30783a8d1c6d0264d1 +EBUILD sdl-pango-0.1.2-r1.ebuild 927 BLAKE2B 06439ccec5c459fcea3593484e79eb3b01d783937e47c2db4ba0eec9ace13f5b402e7c176ef8934084f2b04536519eb752b1f56fca364c9ef528bde52d113897 SHA512 b03637e63bf9bdcdb40cc76116c4546f70f129952cdccb8467707eaa5e3bd749bbd48892dcab67a43975aa0e29908d43991c5c98d4755ced5c23ccce1cb6bc22 EBUILD sdl-pango-0.1.2.ebuild 837 BLAKE2B 054de2567ef21e27512e24932ad27823f248195d2a56bfdab621048ecfab0b83d05e596752bffacd6278ccb9a6adb21eadda1622a4a0117d017f026e07fea2e0 SHA512 3a9e3b4ca2f85342be6d70499bacb9b5edb200c72f4980a9f5dffb075efb9aef25176999e1e3094d95dd2c3f56b3bd805c5aa699f36b1fdc8840e105c394b935 MISC metadata.xml 445 BLAKE2B c6a9c35c0363965ce75144a09086bde5cd98efbdb03667d1e135949c203b9070cd97a604e94bf2237c0f3feb21c486f21e5d160743a7a649a1283cd606defde8 SHA512 7d3c70cc8de075c07dfa492ae525c7f0a61bbb81dd14d2ccd106fd81cf4fe5d4289ca03831f8989fe27355ebd0144191471cd233793184c001c2b406420ea7f4 diff --git a/media-libs/sdl-pango/sdl-pango-0.1.2-r1.ebuild b/media-libs/sdl-pango/sdl-pango-0.1.2-r1.ebuild index 676c024261df..9cbf1d95e009 100644 --- a/media-libs/sdl-pango/sdl-pango-0.1.2-r1.ebuild +++ b/media-libs/sdl-pango/sdl-pango-0.1.2-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/sdlpango/SDL_Pango-${PV}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~hppa ia64 ~ppc sparc x86" +KEYWORDS="alpha amd64 ~hppa ia64 ppc sparc x86" IUSE="static-libs" RDEPEND="x11-libs/pango diff --git a/media-libs/soxr/Manifest b/media-libs/soxr/Manifest index 11801dfca080..57c9e628ede6 100644 --- a/media-libs/soxr/Manifest +++ b/media-libs/soxr/Manifest @@ -4,5 +4,5 @@ AUX soxr-0.1.3-fix-pkgconfig.patch 595 BLAKE2B f35e4c8ca382db0d05b9c50c3a02c568b 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 1091 BLAKE2B f0205b491c5d5cc1bfeee2a3b799f8c4da82160f1072918daacf93ddb7a1c3d08240b3e608d290f4e61492c892d01e9ded5d5ad557a10280444c218153fd5174 SHA512 f8b6823fa78c3aecc029fc198b6ace01a5f4523f2c61c0b5fddb99797216a4b287f1e72814d8916f8b8d04783e26b6137f6f5b34bc0dccbabaa10fc922fdebc8 +EBUILD soxr-0.1.3-r1.ebuild 1089 BLAKE2B da4b98433c0724fd2a67d61fb8f1757e9032dcc3bf523edefd74c62e8ba980e844e738d6a5086f416f5accb690ff82a9a2a6cd3c831888ecbf0011cfa26af5eb SHA512 7072beb644cd9aa846d3660ea13a6f24944389aa73c4aa08ff527b0cdee48230cc5b0298fdf691fd9f8be759ca16346435db211248724b10c49bebb2213671cb MISC metadata.xml 337 BLAKE2B 9b011942361de08f2263ad43a16d18bc8940e539b045a4907ced6c93dce455450bd754bce933ad33591b001dab99c253c781b26ffc26f0972425f75837186f7b SHA512 7f028b48874ab0d30aadbf0370e3ef5b555785aa4e7ab1bd1755ec2cb5c33d3e99e83ed166d011a94773b3c50b0e5a5403b42ed6d9d0c51ff7f7f2ddf48d064e diff --git a/media-libs/soxr/soxr-0.1.3-r1.ebuild b/media-libs/soxr/soxr-0.1.3-r1.ebuild index 132057f97220..b4d15b8d7ef6 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. diff --git a/media-libs/sratom/Manifest b/media-libs/sratom/Manifest index 8ca185e72cc8..778d18e57251 100644 --- a/media-libs/sratom/Manifest +++ b/media-libs/sratom/Manifest @@ -1,3 +1,3 @@ DIST sratom-0.6.0.tar.bz2 149340 BLAKE2B c661e0c4fba0cdf6cfb8a7dba90ff92135422557a0721bc394c7500853aeb9370554df8a02b7faea2fa222b96db36b20b265cc1fa50e6e06655946dbe992f815 SHA512 899bb01896e2b65b69482041c7e06edc9e45e9a3466392c82a58f16dfc71462a6c3e3e16a5aa50a6347c8366ea72898468910a59a084762f75eb8c7031ceacf8 -EBUILD sratom-0.6.0-r1.ebuild 1192 BLAKE2B ff0a0f75b7e7d1cf089dae49e70f56a8c71af143be46ed87940c3efac4f60f4a04396e0610dbfaeb34105091947c5c3e16f86ce90f2aedcd3e6030ffcb5241d3 SHA512 b6b0a2cfcbc61b729f2f6dd0474022ba5bc0d415a672b7d1008cfc938a8dfb443ba4f72c78c12877adce6eb4b75884dedac17805b30b53888348d44ae9ad6fd8 +EBUILD sratom-0.6.0-r1.ebuild 1197 BLAKE2B 51efe1b59989930554b017d133b1e2c111d3bd7e36524698e7fbb578bc8a978d250a2a44d0d9b28798f2b13b6ef271a36a159bcc57d948df47066493aa175f13 SHA512 e85a29717c8e06c7bf290637de32faa33da57b8fb6f25a27e39ea73b8a59a0f1cb2bc8555fdee9fe5db18f1471dfbd93dd88d5a7c331942bfeacf912d5dee7c7 MISC metadata.xml 255 BLAKE2B 7a492321189530430d5c71d5598f8a99b548e020d8ace46bb200f1f18abb3a59c4d0dff84c8dc1f78297137c25684d42386d793b84a02e2363fab4d6dcedd4fa SHA512 9e74b875aa129f5b8108121402291772fde4ac18a157dc60f7b3e19c318ee54cd1be54e283a68bc61562f2dc3f5b338b161028d673ff7baa267192ff3b7e8dc8 diff --git a/media-libs/sratom/sratom-0.6.0-r1.ebuild b/media-libs/sratom/sratom-0.6.0-r1.ebuild index 6268ebb0a64d..46925de0c106 100644 --- a/media-libs/sratom/sratom-0.6.0-r1.ebuild +++ b/media-libs/sratom/sratom-0.6.0-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="http://download.drobilla.net/${P}.tar.bz2" LICENSE="ISC" SLOT="0" -KEYWORDS="amd64 ~hppa ~ia64 ~ppc x86" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc x86" IUSE="doc static-libs test" RDEPEND=">=media-libs/lv2-1.14.0-r1 diff --git a/media-libs/webrtc-audio-processing/Manifest b/media-libs/webrtc-audio-processing/Manifest index 7a44a8a92484..5d1fc4617768 100644 --- a/media-libs/webrtc-audio-processing/Manifest +++ b/media-libs/webrtc-audio-processing/Manifest @@ -1,8 +1,6 @@ AUX webrtc-audio-processing-0.3-proper_detection_cxxabi_execinfo.patch 2251 BLAKE2B f534e6f58d86693d257fa653d92ca07db2c1d34b88fda3b112237cff99eed81252f4111d64070f96a4265dc2655896843dbbfa01785ed18c6ea10b0eec74aeb9 SHA512 592345960101a9538c6e1197bc8cb296ca0fb0f8c6b9b64f1f4fd906ae4a9c7e9e92de740bf6e1e38cc4efca7cab8265b59542ffcad5d04bb6f1abb399851f0f -DIST webrtc-audio-processing-0.1.tar.xz 392540 BLAKE2B 9b280cc88fce2bb62ac516af871add417743386378432dd1fd5e62ef5dbefd05a21982b26479d7efed00cd7f5f6b09887ec12f88a512ede9f4ece2d49ea069d8 SHA512 7626897a1f3d21e78896ed45074fbfbf0752918f7240ad9651390a39eabcb41b8aa2e31624a9cb62dc2e78debdafc0400159c0c2f3e7fc0838ff08004054bcd0 -DIST webrtc-audio-processing-0.2.tar.xz 687484 BLAKE2B 2c739109dffe4faac47b3e2c417002441f9f99bb054df62e990c88876e37c8c15e5b05cd90120805609f17441d385b979d625ed2caaf1b1c84ff3a65c44c9b79 SHA512 d93a988b1fcf7ca399258a22f84048f0fa13819faf01854b3548012a58e706fd6fbd8675ac8e8bf87bfedb6c81658812c523a42bb11a4dd40066ccdb63443a38 +DIST webrtc-audio-processing-0.3.1.tar.xz 695920 BLAKE2B 833c6d12b358918d95dee5b165308c8cc382f98264349fd38649bfe478557765b85d9112a35194676ee52a8ef297fb7cb7e3a570d9c2295785b6fb97d35be948 SHA512 1c7a2d16f7f6c03cf6d60405d0dcd224caae6e80c9c4d43f8373bad2446affcdf49a02efb0085387328289aa79c8981dcaedff876cde55be9602dbde9c3f440b DIST webrtc-audio-processing-0.3.tar.xz 688096 BLAKE2B 063e50ad6690c7b96e577d4a9c378328aafad6fd904ab18283ff2d7f10cc26f4b57f9b6293e880bffc105f7a6c91ec5c7ed9cf7c1aa422c40e64eb0b76dd0541 SHA512 fac99ae0c28290afedce8745bb159af1d375bf17e448a4e020b3b04f4ade24929d1d110923c4363c06a963675a201135621f0d20e57edff42bbcfbaedf91b4d0 -EBUILD webrtc-audio-processing-0.1-r1.ebuild 521 BLAKE2B fed13e7e3079de493069ec9a956fca9dea9df02a879169439f732a5a84ce0ab0aad80d55f5b1577ccc91055e2486aacde876123cf6effce231975f6ebceabf22 SHA512 5115ee43e16c4353b806079b198af0eb16303a25bc5738f4de084fa5e923b4c2b9fb4fa888c4048a8c89401a55e598eca26d3a9b2b8d853a6f414d8caa8bd57b -EBUILD webrtc-audio-processing-0.2.ebuild 647 BLAKE2B fed892b321389b8fc5965e0708044a45b738bfcf60b262297385b6fae258c6bbe6365de4a8f1f547a81a13bf11b3a9e6890756bde1359b56c4047ef22914e1ac SHA512 492026020fa9ff0e8c69df62837d3b9ba9d6b668e251fcba44a7b4ba02cc4e9494e18532398a1e30b1a123f62afba686c900524d20058974bba38d31d782782b +EBUILD webrtc-audio-processing-0.3.1.ebuild 778 BLAKE2B e1d979bea61e6511b386601ca4d2e2eab35d3f299187b7aae45971e22e4554ea23dd47220a7e2781ce604673ff5be14539b8153b89ca290880297306cda2af52 SHA512 c6ddab22620731a8dcab715ea0716f977528eddfcb7a37a6a1080b5b33b120853f24ca74febbcc88fea2b7f432454621a18947f26c8e776c06ab348d9807a7ec EBUILD webrtc-audio-processing-0.3.ebuild 773 BLAKE2B 2c3abcadaf4fddf4f02d226c16d6e0fc89f2556e03f9c37a6491bd696150cd6384a417aea7b9d5323fdf465681165a61d7f64ad7d303985f6a8a761b04fe539a SHA512 ef4f4b71b366f6dc9bf352c618bb1dc33f9b041205bfa0d7356c1da74b196f840837905f06125b988e62916e669c771eb5b18cfe87852ae8461c0d926988929f MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.1-r1.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.1-r1.ebuild deleted file mode 100644 index 1a98e36cfd54..000000000000 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.1-r1.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -AUTOTOOLS_PRUNE_LIBTOOL_FILES=all -inherit autotools-multilib - -DESCRIPTION="AudioProcessing library from the webrtc.org code base" -HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/" -SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux" -IUSE="static-libs" - -RDEPEND="" - -DOCS=( AUTHORS NEWS README ) diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.2.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.2.ebuild deleted file mode 100644 index eadc437eb47b..000000000000 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.2.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils multilib-minimal - -DESCRIPTION="AudioProcessing library from the webrtc.org code base" -HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/" -SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux" -IUSE="static-libs" - -DOCS=( AUTHORS NEWS README.md ) - -multilib_src_configure() { - ECONF_SOURCE="${S}" \ - econf -} - -multilib_src_install_all() { - find "${D}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die -} diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild new file mode 100644 index 000000000000..aa748cab6267 --- /dev/null +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-0.3.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal + +DESCRIPTION="AudioProcessing library from the webrtc.org code base" +HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/" +SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="static-libs" + +DOCS=( AUTHORS NEWS README.md ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.3-proper_detection_cxxabi_execinfo.patch +) + +src_prepare() { + eautoreconf + default +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install_all() { + find "${ED}" -type f -name "*.la" -delete || die +} diff --git a/media-libs/woff2/Manifest b/media-libs/woff2/Manifest index 2f20058117a5..b67ced0c167a 100644 --- a/media-libs/woff2/Manifest +++ b/media-libs/woff2/Manifest @@ -1,3 +1,3 @@ DIST woff2-1.0.2.tar.gz 38934 BLAKE2B b4a762cb2377b896147d9ebdae97f17e80bdb94fa8ec1b04e28e9df48c2f3456f83fc548b10a49bbc271bead349348f7582a85c5011f60a9feb4dda84920b6f3 SHA512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d -EBUILD woff2-1.0.2.ebuild 559 BLAKE2B 3bd82a9e645af75ad5923837e749e756093d600544be2ecaefe40094afbff954b0b2829f5cf43826d354a6420e5da0807ba846574c17a793264c9c61978dd8b8 SHA512 52f04f154167e8488081a05d592d696e7633ae894dbcaabbee207bf191577d0668f19032062e7cece60cffb152e1e963a2a2fade8f61160bd3a3ea6dc88ddba6 +EBUILD woff2-1.0.2-r1.ebuild 685 BLAKE2B 2b5acec8575f31b7bbfecadd7dea7c0e3ca3582aee14cf36ce4d6e4ee74f2e8e21dfca9b2ccb4b8e6f0c316e847da5eb1779651d7ec7643fc8b71564502310de SHA512 1e196e6cc079159e1baefc571c9f919bce2a3447bdaea6746372fe014eb5c9decc7f0320e0007eb9d21984703298c6c59e11691ce2698ea4877a97d72b890147 MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 diff --git a/media-libs/woff2/woff2-1.0.2-r1.ebuild b/media-libs/woff2/woff2-1.0.2-r1.ebuild new file mode 100644 index 000000000000..da2442b94f67 --- /dev/null +++ b/media-libs/woff2/woff2-1.0.2-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Encode/decode WOFF2 font format" +HOMEPAGE="https://github.com/google/woff2" +SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris" +IUSE="" + +RDEPEND="app-arch/brotli" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON # needed, causes QA warnings otherwise + -DCANONICAL_PREFIXES=ON #661942 + ) + cmake-utils_src_configure +} diff --git a/media-libs/woff2/woff2-1.0.2.ebuild b/media-libs/woff2/woff2-1.0.2.ebuild deleted file mode 100644 index 36a44eb0c5bf..000000000000 --- a/media-libs/woff2/woff2-1.0.2.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -DESCRIPTION="Encode/decode WOFF2 font format" -HOMEPAGE="https://github.com/google/woff2" -SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RDEPEND="app-arch/brotli" -DEPEND="${RDEPEND} - virtual/pkgconfig -" - -src_configure() { - local mycmakeargs=( - # needed, causes QA warnings otherwise - -DCMAKE_SKIP_RPATH=ON - ) - cmake-utils_src_configure -} -- cgit v1.2.3