summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/cogl/Manifest2
-rw-r--r--media-libs/cogl/files/cogl-1.22.0-initial-output.patch46
-rw-r--r--media-libs/cogl/files/cogl-1.22.0-wait-flip.patch42
-rw-r--r--media-libs/harfbuzz/Manifest2
-rw-r--r--media-libs/harfbuzz/harfbuzz-1.4.6-r2.ebuild2
-rw-r--r--media-libs/libfreehand/Manifest2
-rw-r--r--media-libs/libfreehand/libfreehand-0.1.2.ebuild2
-rw-r--r--media-libs/libgphoto2/Manifest2
-rw-r--r--media-libs/libgphoto2/libgphoto2-2.5.10.ebuild211
-rw-r--r--media-libs/libmediaart/Manifest1
-rw-r--r--media-libs/libmediaart/files/libmediaart-0.7.0-qt5.patch47
-rw-r--r--media-libs/libqaccessibilityclient/Manifest2
-rw-r--r--media-libs/libqaccessibilityclient/libqaccessibilityclient-0.2.0.ebuild6
-rw-r--r--media-libs/mesa/Manifest4
-rw-r--r--media-libs/mesa/mesa-17.2.4.ebuild582
-rw-r--r--media-libs/mesa/mesa-17.3.0_rc2.ebuild582
-rw-r--r--media-libs/vamp-plugin-sdk/Manifest2
-rw-r--r--media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild2
18 files changed, 1180 insertions, 359 deletions
diff --git a/media-libs/cogl/Manifest b/media-libs/cogl/Manifest
index 4268289359ce..fcf0b05157f8 100644
--- a/media-libs/cogl/Manifest
+++ b/media-libs/cogl/Manifest
@@ -1,6 +1,4 @@
AUX cogl-1.22.0-fglrx.patch 468 SHA256 88c3723c4bd295ba1847c7d4696ddf31e33d19a13918d78644561af5effb4457 SHA512 8587cd9cd7dfe4399333bbe46cda77e6d336fc382493594be809437401f63a61067695e0f7e6d74378cd1b7e3b7310a82530f6e2f693cbe65b32c127003ddab3 WHIRLPOOL e389ab67def02a3703e5eb4a49c6c822361f277ec1182e14843c0d521e7fea0ce6322ba76ec29bd04876434d457226b7290bcc5915b0fd2111a238b951466cf8
-AUX cogl-1.22.0-initial-output.patch 1416 SHA256 308a32de8b0360d9e50c3e9065064ebe400813ca50b6182048ad7f16016bcf76 SHA512 ba8ada5084d7bf8f49f1d9630c0f9c58161b96ac8f33d570385051c791a81315724aa369d8d85fc28ca91153723313aa9c70207c0ccf57c05d9eed28031dba27 WHIRLPOOL b70f6ab4adddcbf40347f8fb8ca100ecbc17b4e3a126e2730b74932f86e7dc6076c7ccebff455a233ff5506f4a01df234d6ef347afdd1d8c87a82277eb240f1b
-AUX cogl-1.22.0-wait-flip.patch 1319 SHA256 f380fd702baa4aa3296a7080a4e26d8e9b5a5a2cd7711649e23ac334187980b9 SHA512 269fb862a90b69bceb2604cc30bd02b6c6ec7dc38884fd88cc166039100fda885c5e0e2bd714157b42d725371be10d5b097293f77f48295d1037840d088dc2a1 WHIRLPOOL deed5e6e0e947d61189405e6cc2b1d71e8754c1f39ece2391787bed94bd412c7ddc74b4dd690ac745d6100be3c5e7402735b6ece11364806481ebe3999ca9d4b
DIST cogl-1.22.2.tar.xz 1682360 SHA256 39a718cdb64ea45225a7e94f88dddec1869ab37a21b339ad058a9d898782c00d SHA512 2ec99f5ff22683d12925b9a1f748387b47c4506aaf3c5afec851b3b6fe6b7cdfd211fb7e4359bd7a1d1b7cb3cb7fbd257efbcb7d2941d0f133a60bad1c9645e3 WHIRLPOOL 548deef9a92fba1ee183f84eb581add8f366ecb0829467025a48c0eb26e85f86ee85dbffded1174fc426f2e85ed5ede3aea75131dfe6a0df547d1440c2b0e53e
EBUILD cogl-1.22.2.ebuild 4034 SHA256 d3ca411dfbfdf8dd29abb36a5fc4143e4a080e1a72b1703180ea6b1cf02a2c17 SHA512 7cacd1ada49ecff55757c9d6950d82c7f6794de3ea565228770575bb45d9de15a3c2812d89be024be1d2f7fbc509464b7a3b1c49dc2d5056db3603724f04308b WHIRLPOOL e6cd3eef068f471da2a2aabf52a78606e2ed03ec637e749498524be6e65a4891173e8c4e041edf81808af3aa3ff1b1d1a185da18a2e1e7e660d0d89cd5a45113
MISC ChangeLog 4685 SHA256 cd2cc0b0abf87126e144abf206c24c9358bbfbbf35fc327c5244ddd86bace945 SHA512 3705b7d49fb0b7ce4c1423525785394914d49aae541e568cd3cfa7cab982fbe50f4ef56c7b054ee666893d5c8438aa4f592ef35b80a3a23191fc589cce9027e2 WHIRLPOOL 0494d02633879237cd074864e7054592a4b4bd1bc94023465598e0070902928376addab88baf67d8ecd5cbbf3f598007fcf9b2bdaea04a9bc2473c147583e3d9
diff --git a/media-libs/cogl/files/cogl-1.22.0-initial-output.patch b/media-libs/cogl/files/cogl-1.22.0-initial-output.patch
deleted file mode 100644
index d7f9d0ff99f4..000000000000
--- a/media-libs/cogl/files/cogl-1.22.0-initial-output.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 188752158701e3a406e7fd5850b3eaf9c4798cd7 Mon Sep 17 00:00:00 2001
-From: Ray Strode <rstrode@redhat.com>
-Date: Fri, 13 Nov 2015 13:35:05 -0500
-Subject: winsys-egl-kms: bypass initial output setup if kms fd passed in
-
-if mutter is handling the output setup, then we shouldn't do it,
-too.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=758073
----
- cogl/winsys/cogl-winsys-egl-kms.c | 12 ++++++++----
- 1 file changed, 8 insertions(+), 4 deletions(-)
-
-diff --git a/cogl/winsys/cogl-winsys-egl-kms.c b/cogl/winsys/cogl-winsys-egl-kms.c
-index b460907..6d7049d 100644
---- a/cogl/winsys/cogl-winsys-egl-kms.c
-+++ b/cogl/winsys/cogl-winsys-egl-kms.c
-@@ -663,6 +663,14 @@ _cogl_winsys_egl_display_setup (CoglDisplay *display,
- return FALSE;
- }
-
-+ /* Force a full modeset / drmModeSetCrtc on
-+ * the first swap buffers call.
-+ */
-+ kms_display->pending_set_crtc = TRUE;
-+
-+ if (kms_renderer->opened_fd < 0)
-+ return TRUE;
-+
- output0 = find_output (0,
- kms_renderer->fd,
- resources,
-@@ -736,10 +744,6 @@ _cogl_winsys_egl_display_setup (CoglDisplay *display,
- kms_display->width = output0->mode.hdisplay;
- kms_display->height = output0->mode.vdisplay;
-
-- /* We defer setting the crtc modes until the first swap_buffers request of a
-- * CoglOnscreen framebuffer. */
-- kms_display->pending_set_crtc = TRUE;
--
- return TRUE;
- }
-
---
-cgit v0.11.2
-
diff --git a/media-libs/cogl/files/cogl-1.22.0-wait-flip.patch b/media-libs/cogl/files/cogl-1.22.0-wait-flip.patch
deleted file mode 100644
index b7c4d99a2812..000000000000
--- a/media-libs/cogl/files/cogl-1.22.0-wait-flip.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From a583492ea2aa3ea8e78c269bd5db3f52f82aa79c Mon Sep 17 00:00:00 2001
-From: Ray Strode <rstrode@redhat.com>
-Date: Wed, 21 Oct 2015 15:47:01 -0400
-Subject: kms-winsys: don't wait for a flip when page flipping fails
-
-If we get EACCES from drmPageFlip we're not going to get
-a flip event and shouldn't wait for one.
-
-This commit changes the EACCES path to silently ignore the
-failed flip request and just clean up the fb.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=756926
----
- cogl/winsys/cogl-winsys-egl-kms.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/cogl/winsys/cogl-winsys-egl-kms.c b/cogl/winsys/cogl-winsys-egl-kms.c
-index 20c325c..b460907 100644
---- a/cogl/winsys/cogl-winsys-egl-kms.c
-+++ b/cogl/winsys/cogl-winsys-egl-kms.c
-@@ -590,7 +590,7 @@ flip_all_crtcs (CoglDisplay *display, CoglFlipKMS *flip, int fb_id)
- for (l = kms_display->crtcs; l; l = l->next)
- {
- CoglKmsCrtc *crtc = l->data;
-- int ret;
-+ int ret = 0;
-
- if (crtc->count == 0 || crtc->ignore)
- continue;
-@@ -610,7 +610,8 @@ flip_all_crtcs (CoglDisplay *display, CoglFlipKMS *flip, int fb_id)
- }
- }
-
-- flip->pending++;
-+ if (ret == 0)
-+ flip->pending++;
- }
-
- if (kms_renderer->page_flips_not_supported && needs_flip)
---
-cgit v0.11.2
-
diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest
index 694a4e46fccd..fe72d610e5df 100644
--- a/media-libs/harfbuzz/Manifest
+++ b/media-libs/harfbuzz/Manifest
@@ -5,7 +5,7 @@ DIST harfbuzz-1.5.1.tar.bz2 1615704 SHA256 56838dfdad2729b8866763c82d623354d138a
DIST harfbuzz-1.6.0.tar.bz2 1625615 SHA256 5037ac0efc85a02a334965e66c1053d9dc9ed6833eae9739bd85bc33c83167c9 SHA512 392c7055d7fe9bc3fea07e62fa9d00407c98d502de7b42937f434c6127f660521706d3b2c0afbc61ad636676abb50bafe73afb15b9090f0fe1f75443f1f34706 WHIRLPOOL 55b0c66500cfe099a5b1658fe89e5e44665158f86c82851c0787a417d6bf4d914c31fc2324b4816d7ed948e220a9cd0eea6dc0dcdb87c217dfe4f28c52105ac3
DIST harfbuzz-1.6.2.tar.bz2 1639114 SHA256 ceb8cbd652829b5fa680a71d89cb79cac7afa104e9484fbd23a24e71c0d6e80e SHA512 90fd16267b19dfcb9fba0553555405df46b7543f48476bea3d9f59bdc809c8257f05bd0436ab32a3582a3f8dbef7448ba10485699d1435b56d8c247e2fcfeff3 WHIRLPOOL 8081a1d82d82b95f47162834ceb05134a1ddeb6aefb1d81c9483bba1440e4e146e92d9fd205ab63c54c6b36d0097b0ad19a966ea184e6ef6bfe35426d6899db8
EBUILD harfbuzz-1.4.5.ebuild 3090 SHA256 3e25f7c841947c870a770c0dc07a46bdf0873d36acb39fc7be193d3bf0b9d712 SHA512 bcc8829b5f60bafc34337d1cbf2c88bdcceae0e55ab28de5a0972bb83046e4895cc35705346b562310f281a2b357bb57d6fb35e3ec8eccd627e4a3de96e44f24 WHIRLPOOL 98cb6c1d7386ad87714dfe46b5a1cec1a67571214fa479778c97abd202aa046ceb696b6f698a54c7db1970a5e62a7c4b14d19ec03a0365a9b6c40de8de338ab4
-EBUILD harfbuzz-1.4.6-r2.ebuild 3169 SHA256 5ef79605f011b62d6967a9dcd208a894f5e9443db57dba7bb47c7caa719c21ef SHA512 8126753c04002df17e796bbff1e1665d78ab1b8e2ab0d212ea61fa5a6b315a2e86d9862db442ff44ee55df1341e4eeadb2177558a91bd239a45b386d82cab707 WHIRLPOOL ea157543a5a1cf3245f44c00fc04af9f68fe3993b3f955a516d08e514b8613300eac978857d1c687580df29ba4da0f20c2f1ea5d581066ad5f32e36c6cbd6ce5
+EBUILD harfbuzz-1.4.6-r2.ebuild 3168 SHA256 1b8b0d7bbc63797e599005274e415b95774f480c039c8ff841f96a04077fe286 SHA512 713d5114cb344c9b31d61f75f14e1a6a10fe0e578d61ca03af1ad4ffd0af7a2192943ff930ff621b4fcf041ca3a7787af1b4aa5094a21a2bb1cedd4fc19ed433 WHIRLPOOL 8343cc3647f2ac3289191f3235841f50e58acfc55e2b2e3e8c0dffe8cce1ac468e0063c89d094f4e7d9b1a524371a1d1a901182d6c3ebcec4581d6b7ff2261b9
EBUILD harfbuzz-1.4.8.ebuild 3163 SHA256 da7d940ce1367631e8b2052e66b41ab2408f108c2f7ad98598c11e3d0ea87246 SHA512 9bdf551bb6f9667eed236e9f5cca9be01a68f78110bad24ce707c797db24d9a1aed5d1e3ebf549511897985d867190a66758af3501f68cff27a797c7e83159f8 WHIRLPOOL 9ec055420d40f9b13c55d90e8541c908b9dab5e1abad03f3ad690201c55766f956f76a9b006e3a7e1b96636a1f73aaf4224d2c582fd4d6b74b9070650a432dbd
EBUILD harfbuzz-1.5.1.ebuild 3163 SHA256 da7d940ce1367631e8b2052e66b41ab2408f108c2f7ad98598c11e3d0ea87246 SHA512 9bdf551bb6f9667eed236e9f5cca9be01a68f78110bad24ce707c797db24d9a1aed5d1e3ebf549511897985d867190a66758af3501f68cff27a797c7e83159f8 WHIRLPOOL 9ec055420d40f9b13c55d90e8541c908b9dab5e1abad03f3ad690201c55766f956f76a9b006e3a7e1b96636a1f73aaf4224d2c582fd4d6b74b9070650a432dbd
EBUILD harfbuzz-1.6.0.ebuild 3163 SHA256 da7d940ce1367631e8b2052e66b41ab2408f108c2f7ad98598c11e3d0ea87246 SHA512 9bdf551bb6f9667eed236e9f5cca9be01a68f78110bad24ce707c797db24d9a1aed5d1e3ebf549511897985d867190a66758af3501f68cff27a797c7e83159f8 WHIRLPOOL 9ec055420d40f9b13c55d90e8541c908b9dab5e1abad03f3ad690201c55766f956f76a9b006e3a7e1b96636a1f73aaf4224d2c582fd4d6b74b9070650a432dbd
diff --git a/media-libs/harfbuzz/harfbuzz-1.4.6-r2.ebuild b/media-libs/harfbuzz/harfbuzz-1.4.6-r2.ebuild
index 2ed3bdb8684c..6753cb9fa393 100644
--- a/media-libs/harfbuzz/harfbuzz-1.4.6-r2.ebuild
+++ b/media-libs/harfbuzz/harfbuzz-1.4.6-r2.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz"
LICENSE="Old-MIT ISC icu"
SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416
[[ ${PV} == 9999 ]] || \
-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"
+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"
IUSE="+cairo debug fontconfig +glib +graphite icu +introspection static-libs test +truetype"
REQUIRED_USE="introspection? ( glib )"
diff --git a/media-libs/libfreehand/Manifest b/media-libs/libfreehand/Manifest
index 226173c7368b..646ae99e31d9 100644
--- a/media-libs/libfreehand/Manifest
+++ b/media-libs/libfreehand/Manifest
@@ -1,7 +1,7 @@
DIST libfreehand-0.1.1.tar.xz 492916 SHA256 ec6676d0c63f7feac7801a1fe18dd7abe9044b39c3882fc99b9afef39bdf1d30 SHA512 552b6b8c00aabe0d557fdacf4bfe8b0b4c2d34ec6f15820f3a54da76b4f24ca5842ba38ea756d05b947a0e8cf48d351429abef64b25508ea032a92965e9c91e2 WHIRLPOOL 2b82b4a3790df93fb52ec872ed38c1c991ce63b35fd25c87c60c2816f3275b6fa8f7d607fc6f9bd41c6bcbc0fca44efc11e5486b4d0bd47077543ce5e69d9fd8
DIST libfreehand-0.1.2.tar.xz 516132 SHA256 0e422d1564a6dbf22a9af598535425271e583514c0f7ba7d9091676420de34ac SHA512 4112a76ac99999801d97d1b282596d631d8496a5bf65778ab26aa06da86637b1e2b630648a67ea01bf3316ecec9f2715546baff27af090b900267c87a011b963 WHIRLPOOL 54ae55cc80304f15244d0eac671264afdf2d30c589ddc917eb9db4ce7409b95f7bbbfe17b9d97b3b0954f0ab1e1a3342f09df435d93c3945dedd4767e81d1038
EBUILD libfreehand-0.1.1.ebuild 1028 SHA256 738ffb0416571cea421424f668edb12dd372fcfdf854df05b40f968b36831093 SHA512 69b48456b5cb05fa10b67a3aafd5a284fbb8bc7899649893685e8b895a091d5470add499f5a99a0691632d2c1bb05b5ab305c7ee3dbf94d8e46d745b8029ee86 WHIRLPOOL cfeb9f2b364c906a0317a0806382e901898e07c4613ba0d10886ca047a4f90e29d34c450fa59c573153c2e066fede660fe379944983914ac19750c2e84aef4a3
-EBUILD libfreehand-0.1.2.ebuild 1092 SHA256 2fa3c7305b45feba0cc588afa5db782d54479e595240e1b43b96db1d968092dc SHA512 d21d085e44c862de43052f1431bd8e730e9d1044f392bd3dec48b69b917867c74b80d681dc0e3d8a51c4d6c04bfa2be501e735de8b04993a3122f7e749e452d0 WHIRLPOOL d89a72a26809a4c3475c8f7229984ee3b3c6206c58c56ebfed1986d3d2102fe543391c58a10554a2463a4f5a65b369ac44d7b486ec1de62f9feda1e47a9fc109
+EBUILD libfreehand-0.1.2.ebuild 1104 SHA256 08336cc09e9cbe2a6a6d53d6094a08638b47e17d210a066079ef1bc996b87fc6 SHA512 814cbe0c81a6e968cd6a64e9451b2632b2ef9f4b394e40c25139a27de845a2475cb808c128e6723081351db1c04c6c78e75c42ec8da5a72f9197d5246c5993c1 WHIRLPOOL 7c6064d5ee96e49205facec68446ccfa581731427c602a975a140ac7fc08f0a1978802d78dae112542e32c0a799ebb4db12a7f67b803b5f1fd140033d39319fe
EBUILD libfreehand-9999.ebuild 1092 SHA256 2fa3c7305b45feba0cc588afa5db782d54479e595240e1b43b96db1d968092dc SHA512 d21d085e44c862de43052f1431bd8e730e9d1044f392bd3dec48b69b917867c74b80d681dc0e3d8a51c4d6c04bfa2be501e735de8b04993a3122f7e749e452d0 WHIRLPOOL d89a72a26809a4c3475c8f7229984ee3b3c6206c58c56ebfed1986d3d2102fe543391c58a10554a2463a4f5a65b369ac44d7b486ec1de62f9feda1e47a9fc109
MISC ChangeLog 4089 SHA256 f2a64e7b0145e4905fdab650a2e9821341d33484a8953674d2384e7e75be2250 SHA512 e1aa850c9b53fc34bbcaf8454290dd3898311bd0f70293406215d6e69c81722aeaf2dbcdbaaaa07931e9d042772a8d6acf60691434608b1c5e3165793d7e75b4 WHIRLPOOL d903724cda3072e7cdd245279d67144eb2c8196ae6663baca78a1c80df510fabad58877ed8b014ef33a7cecbf19a254a3f8d52210cfa081f278f775e21731dbd
MISC ChangeLog-2015 1713 SHA256 26f1dbc4a94b3b288cfbe88d06c1557a6035ed50cd26aee849eae0ba1a48b6dc SHA512 2c22b313821cd44763ef555b203ca1fae7dc969b27bcb892e9da92291341706fe6f55aba1c377825d6ce7ba0faa35a126f56324b9507c5bd0bf4af0b9f13db3d WHIRLPOOL 8fd8b2bb579b778980302ff619e41da430621830baf98db7591a237a4d5fa2d280a5f4908d453920fd126e2c11d256407b595ad08bd4639eb4fa47d0fc7a80f4
diff --git a/media-libs/libfreehand/libfreehand-0.1.2.ebuild b/media-libs/libfreehand/libfreehand-0.1.2.ebuild
index c2a85de892e6..6e4a8998dfdf 100644
--- a/media-libs/libfreehand/libfreehand-0.1.2.ebuild
+++ b/media-libs/libfreehand/libfreehand-0.1.2.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand"
LICENSE="MPL-2.0"
SLOT="0"
[[ ${PV} == 9999 ]] || \
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="doc static-libs test"
RDEPEND="
diff --git a/media-libs/libgphoto2/Manifest b/media-libs/libgphoto2/Manifest
index 0636156a397c..f984300b9c9e 100644
--- a/media-libs/libgphoto2/Manifest
+++ b/media-libs/libgphoto2/Manifest
@@ -1,8 +1,6 @@
AUX libgphoto2-2.5.10-jpeg.patch 3229 SHA256 5bb661c0f4956932c8c0205e5f106a0aac4b47ad0462ca54bd352bedcf8cd95c SHA512 d99f56b013123649dfcec9a7b9f5119f9c15e300448c9231624ef340e8a61dba0e014db7129e55e3dd0fde1730284d85065c210b219a69dd6f5240fc139c628d WHIRLPOOL b87315573060ad53aec8e605d67246ca414bb2793cf5b02e0a898729da1104d8d51becc772a315c14dedb328ffe64868e33b1ada4cd6d785d5eb63df1d274eaa
-DIST libgphoto2-2.5.10.tar.bz2 6992591 SHA256 8d8668d432ba595c7466442aec2cf553bdf8782ec171291dbc65717c633a4ef2 SHA512 13f593e09e8428bf72fc783b4ddfd5fc418fcf42ebe17d05b44255458dbac956293fb189c48b609fba5586f39771d148a3541fa484ac51fd68c921f2f05ca18a WHIRLPOOL 9a1a87450cda0321ebc20d3a95d50ae1ab5a6f2a6083346cba15b9d5d4276e6ce1a84a6198f70d3cfa42cfacd3fe004a41dd7dd866047094ae6e9e54520883ef
DIST libgphoto2-2.5.12.tar.bz2 6974928 SHA256 b9bb28990fde45ac385e4851a07dbad2e1250404b535b0a3a3b898bb431e4e2e SHA512 aa47e9be64579e0691f58b775ca4d80f3ed65763e6d832cba9fd28603ba2dce4c9b5b3291f38dad399b69393d325896f67f2bde622062ca38b9b138f48f12336 WHIRLPOOL b690d5b55a7dc11cdd04e694e4ec4a44c0b3801c3e778610c32b414fd7e6e89f1ef49ac1c9b5f36a57d35afbb94c08e4e4f8cb9663c4106658eaaeaea1ddf5bd
DIST libgphoto2-2.5.14.tar.bz2 6992238 SHA256 d3ce70686fb87d6791b9adcbb6e5693bfbe1cfef9661c23c75eb8a699ec4e274 SHA512 6dd75700e2b2afdf87f7eab4c62fbbe2c42f9154d644edfae25e3d5fbe5ed0894be832cc1367933fc6c113a1cc379d1956fecf108d6ee240935b9d7e2f614688 WHIRLPOOL 45a8cb9380f96da0fb680be95db3c028c07d7cc5f66126609f7a6539a5b5fd7e4edb45d00c43cb9c491e026311cd6161666280eb93ea784538c90297fbc1cc9c
-EBUILD libgphoto2-2.5.10.ebuild 6167 SHA256 0fceedb721f8f29921c47194b453a840bb306afd28ae78302843ab62d82ec515 SHA512 f6ed3e2ba308856faa715dae96d079987cb4c9418764b95adae05acc95335825b5745cc8368c4bf71f0bfb8a0af39c1ba79b69464209b34ab110e83152e15c1c WHIRLPOOL bc5861f13965ea09280c0d4de76418a02134b151d901d7430610657134c4e2f8f0d353e4a073eda179dddd17b42b986c34a483c061fc3e763cab08905740a7c5
EBUILD libgphoto2-2.5.12.ebuild 6180 SHA256 ae6be57b1a0f742de8fcb796c22c8c021e56e659d07f87efd13b6e6b48edbd18 SHA512 f93d213bfbc4e4a61fe7aea4a63e5c3d3d5e59a0c5c262463bf6b4f36687f47ec3082ab7554a2e56f286ff7b4393a52dafeb29feecf8d6e6a9c12430e4c2f583 WHIRLPOOL 75a5a5fe19a7972287398ea7cce92e4c0c1a538cb5000f8f44151c1c7d2274506d8b2d23e43435f58502a8da5dc0377041c9f75e6bd49b89af5f0658b7b325e7
EBUILD libgphoto2-2.5.14.ebuild 6281 SHA256 f00c0832562b7c3db2dc62776577899b2ec5b9c235ec5c94342803bccd0366c6 SHA512 54fb1b574c40842da8fc9102b89b35b8efda94c5a25738f0ea1b45036e33d47a44a8e7fc7a061cbd4e9b3cbfa4137f35643580cf4248a016c466ef4029f1a8a2 WHIRLPOOL 6e0e265cd699d6a9a2fac3079e7ea6a9b046a650f78103caed56428e48ed9c00ba62c92a71976a8c73e2861c8cb38840423e37229e9e62b8e7aee09967cd8e49
MISC ChangeLog 6886 SHA256 45a3751db9b40a23e36945565ece8e9cd60be8f0b581681cb9fda43f1304a376 SHA512 027cef9bab94be877fbb38d11a2ce700232d8e7bf22ec0c958cbd91b339db6f1745bcc2987b92604562b9dc19cba4d694e1e5c7e250902ce78433d44f79c6c64 WHIRLPOOL 10649a261dd4b65393f5b032adc9a6140335550876c717cf12ee5b482030a93388e71edce4c0cefb1332a62b1cc854860651342e9976bf91c1ec179883c49d6d
diff --git a/media-libs/libgphoto2/libgphoto2-2.5.10.ebuild b/media-libs/libgphoto2/libgphoto2-2.5.10.ebuild
deleted file mode 100644
index 1fd7ff3a1a43..000000000000
--- a/media-libs/libgphoto2/libgphoto2-2.5.10.ebuild
+++ /dev/null
@@ -1,211 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# TODO
-# 1. Track upstream bug --disable-docs does not work.
-# https://sourceforge.net/tracker/index.php?func=detail&aid=1643870&group_id=8874&atid=108874
-
-EAPI=6
-inherit eutils multilib multilib-minimal udev user
-
-DESCRIPTION="Library that implements support for numerous digital cameras"
-HOMEPAGE="http://www.gphoto.org/"
-SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-
-# FIXME: should we also bump for libgphoto2_port.so soname version?
-SLOT="0/6" # libgphoto2.so soname version
-
-KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="doc examples exif gd jpeg nls serial"
-
-# By default, drivers for all supported cameras will be compiled.
-# If you want to only compile for specific camera(s), set CAMERAS
-# environment to a space-separated list (no commas) of drivers that
-# you want to build.
-IUSE_CAMERAS="
- adc65 agfa_cl20 aox ax203
- barbie
- canon casio_qv clicksmart310
- digigr8 digita dimagev dimera3500 directory
- enigma13
- fuji
- gsmart300
- hp215
- iclick
- jamcam jd11 jl2005a jl2005c
- kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150
- largan lg_gsm
- mars mustek
- panasonic_coolshot panasonic_l859 panasonic_dc1000 panasonic_dc1580 pccam300 pccam600 pentax polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2
- ricoh ricoh_g3
- samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z
- toshiba_pdrm11 topfield tp6801
-"
-
-for camera in ${IUSE_CAMERAS}; do
- IUSE="${IUSE} cameras_${camera}"
-done
-
-# libgphoto2 actually links to libltdl
-RDEPEND="
- >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}]
- dev-libs/libltdl:0[${MULTILIB_USEDEP}]
- >=virtual/libusb-1-r1:1[${MULTILIB_USEDEP}]
- cameras_ax203? ( >=media-libs/gd-2.0.35-r4:=[${MULTILIB_USEDEP}] )
- cameras_st2205? ( >=media-libs/gd-2.0.35-r4:=[${MULTILIB_USEDEP}] )
- exif? ( >=media-libs/libexif-0.6.21-r1:=[${MULTILIB_USEDEP}] )
- gd? ( >=media-libs/gd-2.0.35-r4[jpeg=,${MULTILIB_USEDEP}] )
- jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
- serial? ( >=dev-libs/lockdev-1.0.3.1.2-r2[${MULTILIB_USEDEP}] )
- !<sys-fs/udev-201
-"
-DEPEND="${RDEPEND}
- dev-util/gtk-doc-am
- sys-devel/flex
- >=sys-devel/gettext-0.14.1
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
- doc? ( app-doc/doxygen )
-"
-
-MULTILIB_CHOST_TOOLS=(
- /usr/bin/gphoto2-port-config
- /usr/bin/gphoto2-config
-)
-
-PATCHES=(
- # Fix building with latest jpeg-turbo, bug #586336, fixed in the
- # next version
- "${FILESDIR}"/${P}-jpeg.patch
-)
-
-pkg_pretend() {
- if ! echo "${USE}" | grep "cameras_" > /dev/null 2>&1; then
- einfo "No camera drivers will be built since you did not specify any."
- fi
-}
-
-pkg_setup() {
- enewgroup plugdev
-}
-
-src_prepare() {
- default
-
- # Handle examples ourselves
- sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
- || die "examples sed failed"
-
- sed -e 's/sleep 2//' -i configure || die
-}
-
-multilib_src_configure() {
- local cameras
- local cam
- local cam_warn=no
- for cam in ${IUSE_CAMERAS} ; do
- if use "cameras_${cam}"; then
- cameras="${cameras},${cam}"
- else
- cam_warn=yes
- fi
- done
-
- if [ "${cam_warn}" = "yes" ]; then
- [ -z "${cameras}" ] || cameras="${cameras:1}"
- einfo "Enabled camera drivers: ${cameras:-none}"
- einfo "Upstream will not support you if you do not compile all camera drivers first"
- else
- cameras="all"
- einfo "Enabled camera drivers: all"
- fi
-
- local myconf
- use doc || myconf=( ac_cv_path_DOXYGEN=false )
-
- # Upstream doesn't default to --enable-option-checking due having another
- # configure in libgphoto2_port/ that also needs to be checked on every bump
- #
- # Serial port uses either lockdev or ttylock, but we don't have ttylock
- ECONF_SOURCE=${S} \
- econf \
- --disable-docs \
- --disable-gp2ddb \
- $(use_enable nls) \
- $(use_with exif libexif auto) \
- $(use_with gd) \
- $(use_with jpeg) \
- $(use_enable serial) \
- $(use_enable serial lockdev) \
- --with-libusb=no \
- --with-libusb-1.0=auto \
- --disable-ttylock \
- --with-camlibs=${cameras} \
- --with-hotplug-doc-dir="${EPREFIX}"/usr/share/doc/${PF}/hotplug \
- --with-rpmbuild=$(type -P true) \
- udevscriptdir="$(get_udevdir)" \
- "${myconf[@]}"
-}
-
-multilib_src_compile() {
- default
-
- if multilib_is_native_abi && use doc; then
- doxygen doc/Doxyfile || die "Documentation generation failed"
- fi
-}
-
-multilib_src_install_all() {
- prune_libtool_files --modules
-
- einstalldocs
- dodoc TESTERS MAINTAINERS HACKING
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins examples/README examples/*.c examples/*.h
- fi
-
- # FIXME: fixup autoconf bug #????
- if ! use doc && [ -d "${ED}/usr/share/doc/${PF}/apidocs.html" ]; then
- rm -fr "${ED}/usr/share/doc/${PF}/apidocs.html"
- fi
- # end fixup
-
- local udev_rules cam_list
- udev_rules="$(get_udevdir)/rules.d/70-libgphoto2.rules"
- cam_list="/usr/$(get_libdir)/libgphoto2/print-camera-list"
-
- if [ -x "${ED}"${cam_list} ]; then
- # Let print-camera-list find libgphoto2.so
- export LD_LIBRARY_PATH="${ED}/usr/$(get_libdir)"
- # Let libgphoto2 find its camera-modules
- export CAMLIBS="${ED}/usr/$(get_libdir)/libgphoto2/${PV}"
-
- einfo "Generating UDEV-rules ..."
- mkdir -p "${ED}"/${udev_rules%/*}
- echo -e "# do not edit this file, it will be overwritten on update\n#" \
- > "${ED}"/${udev_rules}
- "${ED}"${cam_list} udev-rules version 201 group plugdev >> "${ED}"/${udev_rules} \
- || die "failed to create udev-rules"
- else
- eerror "Unable to find print-camera-list"
- eerror "and therefore unable to generate hotplug usermap."
- eerror "You will have to manually generate it by running:"
- eerror " ${cam_list} udev-rules version 201 group plugdev > ${udev_rules}"
- fi
-
-}
-
-pkg_postinst() {
- if ! has_version "sys-auth/consolekit[acl]" && ! has_version "sys-apps/systemd[acl]" ; then
- elog "Don't forget to add yourself to the plugdev group "
- elog "if you want to be able to access your camera."
- fi
-
- local old_udev_rules="${EROOT}"etc/udev/rules.d/99-libgphoto2.rules
- if [[ -f ${old_udev_rules} ]]; then
- rm -f "${old_udev_rules}"
- fi
-}
diff --git a/media-libs/libmediaart/Manifest b/media-libs/libmediaart/Manifest
index ce9bf68c52be..b7dc03b49b7c 100644
--- a/media-libs/libmediaart/Manifest
+++ b/media-libs/libmediaart/Manifest
@@ -1,4 +1,3 @@
-AUX libmediaart-0.7.0-qt5.patch 1776 SHA256 97f5b5e052e41689147406e6a22de122b1003f90baec7db78ddf204c0a6d6dd9 SHA512 6c9b0b34ad7ac640e8c43657c45793a4fadb1bac0b0a67d2ad01c3cf5db3ef0d07707ae71b57489b83879295f8c15e03a2ff4b5e1dc559b7d5b8882fef28b784 WHIRLPOOL 63257ae08744e9501a8ed00dc7bde86a4d628b1877272142542a394726b121bf422b438c63fb41381b4c0ec21cb0c504d08729a1a45b748e7636c97bd1f11d8a
DIST libmediaart-1.9.1.tar.xz 5826128 SHA256 5b14aa4e0cc84eaec57b6cb28f39092d503fdaecf36d5d165fac37583b7fe949 SHA512 1ba43d3501d4775984967960c24bf217bcedd075e1716a2f54266817ae2a93eed119035f385025e34ba83b58ec10e544bbde9c2ad328a3de00c5c80b35524222 WHIRLPOOL e2420acaeb6ca31bc55c02cc52b3baf10ac8ea797eb92f9843031753b10326505c107d97597a93a422fb78543cf4dcf3fbd586deeb65051058c139287a1d3aad
DIST libmediaart-1.9.4.tar.xz 5827928 SHA256 a57be017257e4815389afe4f58fdacb6a50e74fd185452b23a652ee56b04813d SHA512 e2526c22cb656c821da626c43c09d72afded1dfc369e77baea3de17dd6d3bd3b829cf3160e386459f55b9580cbeeb1d621c85876cb62739bc8d4f42429bdce1c WHIRLPOOL 132c6ac8ad78382990bc032f16886c99e1861a329f1983d37882e3cb4ba40b5253dad6e25045115fff8b37c527b9882d301a611dd86d548d6eddedfe55254120
EBUILD libmediaart-1.9.1.ebuild 1771 SHA256 0837631a57605e7700e2cdeb5b046266e23cc60f6d66003894485696bbd07a1e SHA512 7a14f1598189a12c180c432235e2a81265434902039048a567a24816aa2f888a9ca472757e939fc4ff56b63f92a2eae38753db4fe566766ceff1f2c41d8c2342 WHIRLPOOL 824e3ee2a02218fc4e8648f20b3449c17ffba88d691a7195722a619dac3d1ef149e7797e932b57ed2ac486479c2b9b7fea6d8925eedf16be3cc545088c311462
diff --git a/media-libs/libmediaart/files/libmediaart-0.7.0-qt5.patch b/media-libs/libmediaart/files/libmediaart-0.7.0-qt5.patch
deleted file mode 100644
index ecf9de908cfd..000000000000
--- a/media-libs/libmediaart/files/libmediaart-0.7.0-qt5.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-Solves automagic selection of Qt version.
-
-https://bugs.gentoo.org/show_bug.cgi?id=523122
-https://bugzilla.gnome.org/show_bug.cgi?id=737174
-
-diff --git a/configure.ac b/configure.ac
-index e9ead09..3ee710a 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -206,6 +206,10 @@ AC_ARG_ENABLE(qt,
- AS_HELP_STRING([--enable-qt],
- [enable Qt support, (MP3 album art) [[default=auto]]]),,
- [enable_qt=auto])
-+AC_ARG_WITH(qt-version,
-+ AS_HELP_STRING([--with-qt-version=major],
-+ [Force specific Qt version [[default=auto]]]),,
-+ [with_qt_version=auto])
-
- selected_for_media_art="no (disabled)"
-
-@@ -218,14 +222,18 @@ if test "x$enable_qt" == "xyes" && test "x$enable_gdkpixbuf" == "xyes"; then
- fi
-
- if test "x$enable_qt" != "xno" && test "x$enable_gdkpixbuf" != "xyes"; then
-- PKG_CHECK_MODULES(QT5,
-- [Qt5Gui >= $QT5_REQUIRED],
-- [have_qt5=yes],
-- [have_qt5=no])
-- PKG_CHECK_MODULES(QT4,
-- [QtGui >= $QT4_REQUIRED],
-- [have_qt4=yes],
-- [have_qt4=no])
-+ if test "x$with_qt_version" == "xauto" || test "x$with_qt_version" == "x5"; then
-+ PKG_CHECK_MODULES(QT5,
-+ [Qt5Gui >= $QT5_REQUIRED],
-+ [have_qt5=yes],
-+ [have_qt5=no])
-+ fi
-+ if test "x$with_qt_version" == "xauto" || test "x$with_qt_version" == "x4"; then
-+ PKG_CHECK_MODULES(QT4,
-+ [QtGui >= $QT4_REQUIRED],
-+ [have_qt4=yes],
-+ [have_qt4=no])
-+ fi
-
- if test "x$have_qt5" = "xyes"; then
- BACKEND_CFLAGS="$QT5_CFLAGS -fPIC"
diff --git a/media-libs/libqaccessibilityclient/Manifest b/media-libs/libqaccessibilityclient/Manifest
index 50c641f90e1a..e2720d823d18 100644
--- a/media-libs/libqaccessibilityclient/Manifest
+++ b/media-libs/libqaccessibilityclient/Manifest
@@ -1,3 +1,3 @@
DIST libqaccessibilityclient-0.2.0.tar.xz 103280 SHA256 d5e8f4dc91bc1b56029e12328a9e02d5c310939b01998f030202203c5edb2e61 SHA512 1ebe8a6b6dcc2f47b57329fd96a026f9e0fa05d7c78cc1a816bb9e5928efa6e719f42267dfc8b18e73546957dc7a336c75e62190ff09a83cc84ac0c4c32b3e34 WHIRLPOOL 3e83f93ba0e85ddade24e50a6ef6863303a2f5391a8126ca3854a81a6c0cbd1b4564e38d117ba0dcac9371c1059c5700910ea416cb88f30065ad948f03f8579a
-EBUILD libqaccessibilityclient-0.2.0.ebuild 604 SHA256 0cea09d42e5e829032f38a954da21017f6ed4db94e838822ee12cee9a59620c7 SHA512 bbf54c7cee76bf4877ebecf35241f2c371e859b5b6e2fa76815d9ebbe43bb093cc926feddc015bd984e0b984eb4d3d3859d3508d5b729044ae75ca9d2a318bef WHIRLPOOL b65a78902a5991720d2ea1f463266cb3023ca47fa73ef2b929709f1ec4d7b6156b24750a7d37f60570f62759823fb2d8a16d931b10410e66f04c535836fd29d9
+EBUILD libqaccessibilityclient-0.2.0.ebuild 678 SHA256 89cbdc49cd19aa83631ac95d07c576a6c6266aabea497b6fa879a063722becf6 SHA512 5f00efc1f3c69ea768dc3f32eb862bc1d3e4379a5ff0e8b65f45ad092f5d986d5cd1c90a41d322c7044b61e1ab14c1adcc62b5149212bc572653257f86687fd1 WHIRLPOOL 703340907248a61a2e32550ff9a4eb8a9f9fda74d12bbeebe20e2ab7e9dbf7f3de5479177c5ae62b8f26c1687a2a5cab4266169c488589bcab4d9d6fa5c85611
MISC metadata.xml 249 SHA256 584f1dcf51866dc24a9abf7a89bfba0fad11dde81ae1c1b715da41770d233c99 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 WHIRLPOOL 200c07a8bf7c55b11b7936d5cd30e991a511684913334e72f59def66c0ced5fed0b4a8754e2d98bffbab631cb90d4e17fcccc59d5dcc5a8e988f69e47c85518c
diff --git a/media-libs/libqaccessibilityclient/libqaccessibilityclient-0.2.0.ebuild b/media-libs/libqaccessibilityclient/libqaccessibilityclient-0.2.0.ebuild
index 9d28ed21facc..ac31a9699d48 100644
--- a/media-libs/libqaccessibilityclient/libqaccessibilityclient-0.2.0.ebuild
+++ b/media-libs/libqaccessibilityclient/libqaccessibilityclient-0.2.0.ebuild
@@ -21,10 +21,14 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+src_prepare() {
+ kde5_src_prepare
+ cmake_comment_add_subdirectory tests
+}
+
src_configure() {
local mycmakeargs=(
-DQT5_BUILD=ON
)
-
kde5_src_configure
}
diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index d3e777d34591..8a8eef47aff8 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -10,6 +10,8 @@ DIST mesa-17.2.0.tar.xz 10335284 SHA256 3123448f770eae58bc73e15480e78909defb892f
DIST mesa-17.2.1.tar.xz 10414776 SHA256 77385d17827cff24a3bae134342234f2efe7f7f990e778109682571dbbc9ba1e SHA512 19a7d6c2e2d439b1c73199bffd4154b42017bccc138be954a893c3b70e885f07988de84dc8aa2aff36e06295e91f0181d5b95372152f6f0f80b7afe4b3846b6a WHIRLPOOL b9048aa4d512307c3f558a925afb39949ea84b7e52ca52e2ba39cf6fba38c284ef527b25fdbfa7ec22ca6c9e17a8628ce41fc8916bfaafc7f5142c3476750b6d
DIST mesa-17.2.2.tar.xz 10359156 SHA256 cf522244d6a5a1ecde3fc00e7c96935253fe22f808f064cab98be6f3faa65782 SHA512 641342c68989b8d801c37e668b012d3b7c4ad43d8ca01b74f8cbb3a1ec25b7390f69fe7ebc84b29dab1c6a4ac01c882ec9fd4a6b331505629461bdbbe6aa3f7e WHIRLPOOL 74271721fb38a0c62f6f35d84ba9196e000f2fe2a32e75120288e77649a87e225464572d347fc149190b573d22c32dfee3e174d6a2578b3c649c4b72375a94ec
DIST mesa-17.2.3.tar.xz 10344180 SHA256 a0b0ec8f7b24dd044d7ab30a8c7e6d3767521e245f88d4ed5dd93315dc56f837 SHA512 749a0a46b772974633e405804ace7f509afb79f47811dbbdd390333721d744f2ac64f985ff1fd6c5aa3019b700be70bc1f75f60745ed9f4c5b08a9a8f77dfc76 WHIRLPOOL 333bdb9dd15726a4a19fa7a87d2044aba6ebaea2eb83dd436f916020221a8bc46d667e8710a701c52930217292ecdfd468b654a7846357aa8881356987f394c0
+DIST mesa-17.2.4.tar.xz 10381984 SHA256 5ba408fecd6e1132e5490eec1a2f04466214e4c65c8b89b331be844768c2e550 SHA512 665b63aab6af3f8f263f182d85d9ad71db7a23bcbaf67d62fe53c258cb0f600266ac82e72d681ec20cf7c66b47d4076aad5c3f553519f19110ee577da2707085 WHIRLPOOL 29750c50a496cb27e0b4466bf0d1496434330a96259616dd7c368adc3d9478aa6ba1facf11ec4ff231a244f890781c12637327b1675c423786693c40f787945d
+DIST mesa-17.3.0-rc2.tar.xz 10658696 SHA256 13b2c085a54836465a3b6814ad4bc2dae0a502f43405e75ced67789d5afc18cd SHA512 749cca3e0875dbff7b6fab4d646974ecbcc7659ec82ad025bc386372d6e0e050d84d5e05fb68c5099e685557d85daf55c6a5db7bd89a7323778ae7e87e01215e WHIRLPOOL 4007e6641de55145b9bf8bf7aa567c284d3a4b29ea6b83fb5ba3324abf757cf72cf1f1bc0cd3011e58b3d0c6cc6fa7f7c03b1affb7f0ba7c4a5e7ade398bf2f3
EBUILD mesa-13.0.5.ebuild 13605 SHA256 94df75dbe63d76d35074eda2826bce65641f4919b94e4c59164474b95e045ede SHA512 95793611d72d699e14747c52b73d98510518d05055ff893c171f79413a00c9ae9a055dd9e240b134771c01070d48691e2e7e9942e19b77474af56ae93bd89d9a WHIRLPOOL 8739463b0dfde12c8b9f069b2373f7c53ee3160b5fb9b28453ebf0eda037365f16b0d91dd22bd4647afdecf979e002721ec6bf6165ce66afc9f1a06f276717df
EBUILD mesa-13.0.6.ebuild 13553 SHA256 dd0b9f71b641c3405038f640fc8a2a1f04d60447682598e744f52b2c1d51c1eb SHA512 715a50c81cd752dd46b24b41da5e964cfffe13d6870ef9a9f6f18c22adfedd516ffb42845735fb52fe40d4e6ffc7507ee96c569ff3dae89503f3dece72b2647c WHIRLPOOL e2d2086ea547c2bcf34ea4ad19925e6b30bac63809cd311edc6b2a6df3b310d3aa20c706367418b5e142425461b0877d3e2602839beda2f44c8fa7db92c927ec
EBUILD mesa-17.0.6.ebuild 13560 SHA256 796db0fd56888084e6d8daec8179c65df2eed1dcfe6b0bab80e0c13f81658d22 SHA512 7caefbaed248f2dffd5cc9bb8fe769d3e412c71659f462b9fabed173766b7dac449707d7e80caaed1f3e81ef01c169c6b366376bbf33b8bd4dfc8771f5e6d334 WHIRLPOOL 4f2ba8010bf86e048849a9e7e61c1984bbde4ec23afd9da7d60807b03c58e63dc723b50c0f7118e995a0ad778eb30e00cf3c0b9a596f0d41fff5e2ef24f3efc8
@@ -20,6 +22,8 @@ EBUILD mesa-17.2.0.ebuild 13466 SHA256 4a0ec5433959232820e767d338943dd9c4da54614
EBUILD mesa-17.2.1.ebuild 14923 SHA256 2b96118b576ba0c40c9453aa832e1a2394b6fcbb3a581d4aa0c640dd536addf1 SHA512 ea96f945aa670ac38147688876fe6c302b6deb41223af6134ac8b958802d1733c5d509419786c8ccd4647fb62ef6fa1e94e9bac7cf1b67c89c606c9090435d9e WHIRLPOOL 59a8b64c5fa8a441a2afea56f08e6b5a09d9186b76f86007f8b16fe3ced33b664130d7d81789104d60a92b6a56e6a36c7a40d4020918e4c59a8f5ff52ef3a065
EBUILD mesa-17.2.2.ebuild 14923 SHA256 2b96118b576ba0c40c9453aa832e1a2394b6fcbb3a581d4aa0c640dd536addf1 SHA512 ea96f945aa670ac38147688876fe6c302b6deb41223af6134ac8b958802d1733c5d509419786c8ccd4647fb62ef6fa1e94e9bac7cf1b67c89c606c9090435d9e WHIRLPOOL 59a8b64c5fa8a441a2afea56f08e6b5a09d9186b76f86007f8b16fe3ced33b664130d7d81789104d60a92b6a56e6a36c7a40d4020918e4c59a8f5ff52ef3a065
EBUILD mesa-17.2.3.ebuild 15003 SHA256 776ed79613f55242943c6aa2554e7845401524d7b8f3132372f476355e966af8 SHA512 32f832d8898932935cb1985a5bab4dc4c70f0baf29657be7b409f53578f205591ab8bfec3a6d77c827ebc20114de3c8292ad1defca26ceff615764d5dfdacffe WHIRLPOOL ba82e86a2fd48c3c2a9a71b348b8af390f2e0f2f70803ce9dca9ec4b4ef3a758b7a4a31d971d594e32648cc7f6e2a9fe7cc550f7031db3766c32cf8daa6b3670
+EBUILD mesa-17.2.4.ebuild 15003 SHA256 776ed79613f55242943c6aa2554e7845401524d7b8f3132372f476355e966af8 SHA512 32f832d8898932935cb1985a5bab4dc4c70f0baf29657be7b409f53578f205591ab8bfec3a6d77c827ebc20114de3c8292ad1defca26ceff615764d5dfdacffe WHIRLPOOL ba82e86a2fd48c3c2a9a71b348b8af390f2e0f2f70803ce9dca9ec4b4ef3a758b7a4a31d971d594e32648cc7f6e2a9fe7cc550f7031db3766c32cf8daa6b3670
+EBUILD mesa-17.3.0_rc2.ebuild 15077 SHA256 fa6245e6fa6178a3d5c87190ef82495884363c1de0af4262c39c58b43a5a6b48 SHA512 28de16abdec86b4726819ad16e6f077fc11c6df6495dfeefbee73d5b762db6b1f02cdfb26e126b20cdde3f65bdcd9f555f1a44827ecf5b4d05fbd21d95de0770 WHIRLPOOL aff71e4508901bc8ea7a2a27572edbda0e3209c39746728d7aaa64f411e2114b7d536526c5c2343adc3be79e7d408b9c75474b69cb02a2ba8af7464a6583b033
EBUILD mesa-9999.ebuild 15077 SHA256 fa6245e6fa6178a3d5c87190ef82495884363c1de0af4262c39c58b43a5a6b48 SHA512 28de16abdec86b4726819ad16e6f077fc11c6df6495dfeefbee73d5b762db6b1f02cdfb26e126b20cdde3f65bdcd9f555f1a44827ecf5b4d05fbd21d95de0770 WHIRLPOOL aff71e4508901bc8ea7a2a27572edbda0e3209c39746728d7aaa64f411e2114b7d536526c5c2343adc3be79e7d408b9c75474b69cb02a2ba8af7464a6583b033
MISC ChangeLog 21209 SHA256 d14f068aa33c388215fda4fe7471524fc8a0cbe19ca2bf4bd7797f3a605bdd96 SHA512 b84d9940b71165e4245b2cd4a6b531ff5837a2656ebf95a71e5b27a9fefcd13e9558687aad79ece814c4af0f0847b69eef7bad4745574f8b8acff040ec9fd9ec WHIRLPOOL e3b472204d51b863b38008d1297ec6e2614b4cfe70c8d2ed0d8609f1856298068a6ac18c226c3403e61173d0494009e809692e882794749403e4bdb4247e7589
MISC ChangeLog-2015 103777 SHA256 4b0a5d5630eac8d95c57f5bd440e8f743db364db91e3027efb52541230383724 SHA512 acea97a4adc6157a818db9afdcda514cf050cd85c5619531063c2acf74642f86c286b413976404c50d9af3cce6c4da2edea087c7a43ffec2516436a3f47d3e56 WHIRLPOOL 2c7a7b3baae65fcc0234689e1e9cc70cb89b80c96fc28eee359489c485bbe8f401605352b4f6dde3b5b58a3ae39cff8b6c81c6be5e5ee1f1d68aba8b91cbe226
diff --git a/media-libs/mesa/mesa-17.2.4.ebuild b/media-libs/mesa/mesa-17.2.4.ebuild
new file mode 100644
index 000000000000..12be4d77969f
--- /dev/null
+++ b/media-libs/mesa/mesa-17.2.4.ebuild
@@ -0,0 +1,582 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="https://anongit.freedesktop.org/git/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/"
+
+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 )
+ 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_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.82"
+# keep correct libdrm and dri2proto dep
+# keep blocks in rdepend for binpkg
+RDEPEND="
+ !<x11-base/xorg-server-1.7
+ !<=x11-proto/xf86driproto-2.0.3
+ abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )
+ classic? ( app-eselect/eselect-mesa )
+ gallium? ( 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.9.3:=[${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}] )
+ 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_MAX_SLOT="5"
+LLVM_DEPSTR="
+ || (
+ 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-proto/dri2proto-2.8-r1:=[${MULTILIB_USEDEP}]
+ dri3? (
+ >=x11-proto/dri3proto-1.0:=[${MULTILIB_USEDEP}]
+ >=x11-proto/presentproto-1.0:=[${MULTILIB_USEDEP}]
+ )
+ >=x11-proto/glproto-1.4.17-r1:=[${MULTILIB_USEDEP}]
+ >=x11-proto/xextproto-7.2.1-r1:=[${MULTILIB_USEDEP}]
+ >=x11-proto/xf86driproto-2.1.1-r1:=[${MULTILIB_USEDEP}]
+ >=x11-proto/xf86vidmodeproto-2.3.1-r1:=[${MULTILIB_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() {
+ [[ ${PV} == 9999 ]] && eautoreconf
+ eapply_user
+}
+
+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)
+ $(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 \
+ --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 classic || use gallium; then
+ ebegin "Moving DRI/Gallium drivers for dynamic switching"
+ local gallium_drivers=( i915_dri.so i965_dri.so r300_dri.so r600_dri.so swrast_dri.so )
+ keepdir /usr/$(get_libdir)/dri
+ dodir /usr/$(get_libdir)/mesa
+ for x in ${gallium_drivers[@]}; do
+ if [ -f "$(get_libdir)/gallium/${x}" ]; then
+ mv -f "${ED}/usr/$(get_libdir)/dri/${x}" "${ED}/usr/$(get_libdir)/dri/${x/_dri.so/g_dri.so}" \
+ || die "Failed to move ${x}"
+ fi
+ done
+ if use classic; then
+ emake -C "${BUILD_DIR}/src/mesa/drivers/dri" DESTDIR="${D}" install
+ fi
+ for x in "${ED}"/usr/$(get_libdir)/dri/*.so; do
+ if [ -f ${x} -o -L ${x} ]; then
+ mv -f "${x}" "${x/dri/mesa}" \
+ || die "Failed to move ${x}"
+ fi
+ done
+ pushd "${ED}"/usr/$(get_libdir)/dri || die "pushd failed"
+ ln -s ../mesa/*.so . || die "Creating symlink failed"
+ # remove symlinks to drivers known to eselect
+ for x in ${gallium_drivers[@]}; do
+ if [ -f ${x} -o -L ${x} ]; then
+ rm "${x}" || die "Failed to remove ${x}"
+ fi
+ done
+ popd
+ eend $?
+ 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
+
+ # Install config file for eselect mesa
+ insinto /usr/share/mesa
+ newins "${FILESDIR}/eselect-mesa.conf.9.2" eselect-mesa.conf
+}
+
+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}
+
+ # Select classic/gallium drivers
+ if use classic || use gallium; then
+ eselect mesa set --auto
+ fi
+
+ # 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 patents.txt for an explanation."
+ fi
+
+ if ! has_version media-libs/libtxc_dxtn; then
+ elog "Note that in order to have full S3TC support, it is necessary to install"
+ elog "media-libs/libtxc_dxtn as well. This may be necessary to get nice"
+ elog "textures in some apps, and some others even require this to run."
+ 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-17.3.0_rc2.ebuild b/media-libs/mesa/mesa-17.3.0_rc2.ebuild
new file mode 100644
index 000000000000..b108f76ef3ed
--- /dev/null
+++ b/media-libs/mesa/mesa-17.3.0_rc2.ebuild
@@ -0,0 +1,582 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="https://anongit.freedesktop.org/git/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 )
+ 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.85"
+# keep correct libdrm and dri2proto dep
+# keep blocks in rdepend for binpkg
+RDEPEND="
+ !<x11-base/xorg-server-1.7
+ !<=x11-proto/xf86driproto-2.0.3
+ abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )
+ classic? ( app-eselect/eselect-mesa )
+ gallium? ( 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.9.3:=[${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}] )
+ 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: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-proto/dri2proto-2.8-r1:=[${MULTILIB_USEDEP}]
+ dri3? (
+ >=x11-proto/dri3proto-1.0:=[${MULTILIB_USEDEP}]
+ >=x11-proto/presentproto-1.0:=[${MULTILIB_USEDEP}]
+ )
+ >=x11-proto/glproto-1.4.17-r1:=[${MULTILIB_USEDEP}]
+ >=x11-proto/xextproto-7.2.1-r1:=[${MULTILIB_USEDEP}]
+ >=x11-proto/xf86driproto-2.1.1-r1:=[${MULTILIB_USEDEP}]
+ >=x11-proto/xf86vidmodeproto-2.3.1-r1:=[${MULTILIB_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() {
+ [[ ${PV} == 9999 ]] && eautoreconf
+ eapply_user
+}
+
+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 \
+ --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 classic || use gallium; then
+ ebegin "Moving DRI/Gallium drivers for dynamic switching"
+ local gallium_drivers=( i915_dri.so i965_dri.so r300_dri.so r600_dri.so swrast_dri.so )
+ keepdir /usr/$(get_libdir)/dri
+ dodir /usr/$(get_libdir)/mesa
+ for x in ${gallium_drivers[@]}; do
+ if [ -f "$(get_libdir)/gallium/${x}" ]; then
+ mv -f "${ED}/usr/$(get_libdir)/dri/${x}" "${ED}/usr/$(get_libdir)/dri/${x/_dri.so/g_dri.so}" \
+ || die "Failed to move ${x}"
+ fi
+ done
+ if use classic; then
+ emake -C "${BUILD_DIR}/src/mesa/drivers/dri" DESTDIR="${D}" install
+ fi
+ for x in "${ED}"/usr/$(get_libdir)/dri/*.so; do
+ if [ -f ${x} -o -L ${x} ]; then
+ mv -f "${x}" "${x/dri/mesa}" \
+ || die "Failed to move ${x}"
+ fi
+ done
+ pushd "${ED}"/usr/$(get_libdir)/dri || die "pushd failed"
+ ln -s ../mesa/*.so . || die "Creating symlink failed"
+ # remove symlinks to drivers known to eselect
+ for x in ${gallium_drivers[@]}; do
+ if [ -f ${x} -o -L ${x} ]; then
+ rm "${x}" || die "Failed to remove ${x}"
+ fi
+ done
+ popd
+ eend $?
+ 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
+
+ # Install config file for eselect mesa
+ insinto /usr/share/mesa
+ newins "${FILESDIR}/eselect-mesa.conf.9.2" eselect-mesa.conf
+}
+
+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}
+
+ # Select classic/gallium drivers
+ if use classic || use gallium; then
+ eselect mesa set --auto
+ fi
+
+ # 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 patents.txt for an explanation."
+ fi
+
+ if ! has_version media-libs/libtxc_dxtn; then
+ elog "Note that in order to have full S3TC support, it is necessary to install"
+ elog "media-libs/libtxc_dxtn as well. This may be necessary to get nice"
+ elog "textures in some apps, and some others even require this to run."
+ 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/vamp-plugin-sdk/Manifest b/media-libs/vamp-plugin-sdk/Manifest
index f6250f61d2c5..75671ee2ae26 100644
--- a/media-libs/vamp-plugin-sdk/Manifest
+++ b/media-libs/vamp-plugin-sdk/Manifest
@@ -1,7 +1,7 @@
DIST vamp-plugin-sdk-2.6.tar.gz 174908 SHA256 aa533266e35f866292c30eeac126d2d4abdf2028f1340c0e02354057013728e9 SHA512 0de0eee37629b86c664d42837eb4dbac8bb311af71082b3d0a880c6b475a8de1ab7ac42daf7c1a234dc29690e5788b70011fa01a956941cf414347011e9c27d3 WHIRLPOOL 566afe1c020515325f3641f3dc053fcbe7d6a444c74987484e30677e5df288e7abbc0b6630b9c93425b6463bc0705325be783a39c203760277662aeaf05bb03b
DIST vamp-plugin-sdk-2.7.1.tar.gz 306956 SHA256 c6fef3ff79d2bf9575ce4ce4f200cbf219cbe0a21cfbad5750e86ff8ae53cb0b SHA512 91dd7cae72334718dcbdac06b1ffa3f3ba76e977b82b928ab634d9982aa15ca4e30978a7778215753c61e56831077d7634d24e65e468ab6a8a87a5957fb09bf3 WHIRLPOOL 3f64fb07712e178642a24b6a2985fbc7e278003639d2f06f2ad9a6f34028c25e55345f867b29930d5728200c9248fd8c033ee0e93b83e1294086e6910aac12f2
EBUILD vamp-plugin-sdk-2.6-r1.ebuild 1481 SHA256 700347ae90eb59da5b2ce3af4d3296428d837a3bd2c55b6d282a7283a4446fa4 SHA512 ba875b0ab3e2ecd51aea2bc88873fe8e92ab2bbfbcab56f8a5c49bbad0184675d38200eb2a87c96f4f037ab922e494b75b446927ea7f5214f5a2c07b8324c9ed WHIRLPOOL 764f9859a9f6c61f2a186da5edac7f5fbcd94d4cc36c3ee1eac0234fe36308f4fda4e63028ee03c3218b5c052d422c8b0d4601acda6c1963150626139f673a8a
-EBUILD vamp-plugin-sdk-2.7.1.ebuild 1490 SHA256 acfdcbeea203d5895305a68afb35f5064e2be43705ff51034b64900eca85ce04 SHA512 44342a312f4a177152b5df6c122ddb70fc2495c8eb44f38a9322672bb46931b152423b45708fcada34ef155752f9c6c505080677b37f43f4f4e2a124489c093d WHIRLPOOL cad0854106cb0534fe2b2e311f806fd4854ca3abc3d55cf0ae1a3d229585339e9fdf6ca356a8cc91e87508ddc715a0a1870b76059196c8737b8e1fd6807408d0
+EBUILD vamp-plugin-sdk-2.7.1.ebuild 1489 SHA256 7c7580cf5052dc42aaf6408bc21e5dc1fc83628c809e760571683095558032a8 SHA512 7e0b58786e65b9d3110fd3ae043ff85bb8cda8f47a836147eea6be82ef7e014d94a9a60e19951904aff7c627f60e49c74be0d438a8674e7dee4575411430ebea WHIRLPOOL 0d55305a2caddca57a2ef89c5ac28ed23712367b23939c7c5d1e3801072a34b9e9495d2f0e9b5cddd09b4ef804928630ff262e543df358da93f7ea99bbbcd458
MISC ChangeLog 4508 SHA256 363555e4215f8ae6c7238b303fe82cfcb4f4ee50633f641403f2c5ef9639182d SHA512 94653d463e9f1cef6ac298b270da0d1cf14142cc61b63f05d02b772a350df743d878417397eefe48e00563e50199f4aff39b9f440ddd85780ed1c25080d6249f WHIRLPOOL 7951a0629418d99ee26596c4e16af809e2e807941f7f92a296093f6bf1bfe491ce30bf20064114178d3e81a2d2c3521d3a4ce197aa766979315547487ccbf355
MISC ChangeLog-2015 7462 SHA256 ac2ef870874d367d5591d0536852e64b3b4baf4ab5cc3a7984432e74b28e9d62 SHA512 f91f77923ebf8cd7ee4704826381776daab73dfcf58ad854eadedd1386d649b7bc59c5b99b77593810aa91c9099b5744497bb72dd4cec5264c76a8ab67bf4400 WHIRLPOOL 506b3bd79f2834587471fbbfeea99bac05906157ca543fdc1e490bf1f51a634f37920ca1274bfcc0ece860c2208c61fc76f30135e398ca2070c9d732e9309823
MISC metadata.xml 255 SHA256 fc6dd027d0011f9f42d437ea0687857760a11bf2137f8822ec8692186d0bcbe3 SHA512 9e74b875aa129f5b8108121402291772fde4ac18a157dc60f7b3e19c318ee54cd1be54e283a68bc61562f2dc3f5b338b161028d673ff7baa267192ff3b7e8dc8 WHIRLPOOL de03966b13986c67a61f862755281e80740260a9031e5e34cbee88a3053e66f705df0f36499b154744ff447c94e19a28b8649535e08819216569e78eb4ce9a38
diff --git a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild
index ac8a5c5fd9ad..1f8d9e8b0d99 100644
--- a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild
+++ b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.7.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://code.soundsoftware.ac.uk/attachments/download/2206/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~x86"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 x86"
IUSE="doc static-libs"
RDEPEND="media-libs/libsndfile"