summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Asplund <peter.azp@gmail.com>2020-05-23 14:07:58 +0200
committerPeter Asplund <peter.azp@gmail.com>2020-05-23 14:08:48 +0200
commit71d7d2b60c17d3ecf32c014460636399f3275ef1 (patch)
tree4fcff6a469acc74697ec38c37f1c053952eec9b5
parentdev-util/renderdoc: (diff)
downloadAzP-71d7d2b60c17d3ecf32c014460636399f3275ef1.tar.gz
AzP-71d7d2b60c17d3ecf32c014460636399f3275ef1.tar.bz2
AzP-71d7d2b60c17d3ecf32c014460636399f3275ef1.zip
dev-util/renderdoc: Update supported python version and swig
Add python 3.8 to supported versions. Adds dependency to new swig version. Also remove old python versions. Remove old RenderDoc versions Signed-off-by: Peter Asplund <peter.azp@gmail.com> Package-Manager: Portage-2.3.99, Repoman-2.3.22
-rw-r--r--dev-util/renderdoc/ChangeLog8
-rw-r--r--dev-util/renderdoc/Manifest11
-rw-r--r--dev-util/renderdoc/renderdoc-1.5-r1.ebuild (renamed from dev-util/renderdoc/renderdoc-1.5.ebuild)4
-rw-r--r--dev-util/renderdoc/renderdoc-1.8.ebuild (renamed from dev-util/renderdoc/renderdoc-1.2.ebuild)21
-rw-r--r--dev-util/renderdoc/renderdoc-9999.ebuild37
-rw-r--r--media-libs/devil/Manifest2
-rw-r--r--media-libs/devil/devil-1.8.0-r1.ebuild (renamed from media-libs/devil/devil-1.7.8-r3.ebuild)43
7 files changed, 82 insertions, 44 deletions
diff --git a/dev-util/renderdoc/ChangeLog b/dev-util/renderdoc/ChangeLog
index 6d730f5..6cccc49 100644
--- a/dev-util/renderdoc/ChangeLog
+++ b/dev-util/renderdoc/ChangeLog
@@ -1,3 +1,11 @@
+*renderdoc-1.5-r1 (23 May 2020)
+*renderdoc-1.8 (23 May 2020)
+
+ 23 May 2020; AzP <peterasplund@gentoo.se> +renderdoc-1.5-r1.ebuild,
+ +renderdoc-1.8.ebuild, -renderdoc-1.2.ebuild, -renderdoc-1.5.ebuild,
+ renderdoc-9999.ebuild:
+ dev-util/renderdoc: Update supported python version and swig
+
*renderdoc-1.5 (15 Dec 2019)
15 Dec 2019; AzP <peterasplund@gentoo.se> +renderdoc-1.5.ebuild:
diff --git a/dev-util/renderdoc/Manifest b/dev-util/renderdoc/Manifest
index 8f43251..ca43b37 100644
--- a/dev-util/renderdoc/Manifest
+++ b/dev-util/renderdoc/Manifest
@@ -1,8 +1,9 @@
-DIST renderdoc-1.2.tar.gz 41147527 SHA256 5050be7eea5f5721f530ad3d58ac80b3d47e1b81347e6551e4281bd06cf97a3a SHA512 98df7bd6b7fe9d488620027eab50b5e1be53644644969049ed5349d5337a946d2315363b148bc9fad6133c2690f7961070f732d9fedef33b9df5fd7f18ce439c WHIRLPOOL 05409e32afb82bfa90494e2d7c755975040733202de5d76e8a8b4bf603530f6b0cef220c57daf423a2daf72c2270db92c6148246f3b7b67f32f3cec88ce61b46
DIST renderdoc-1.5.tar.gz 42153749 SHA256 add9d6af2f2fe3884cc813f5ee613acec4f2ffc10ccee67cd8d1e3de83537e29 SHA512 771d406a7a946a8ff34f1466feaf33ec0271f48d4ba06b37c59e011ffaaede3b8f608c8de4145b3a40259d643f33041f721f5aadaffefbe5ae5116399485049d WHIRLPOOL 31f94efa9853ab58e7c0f420214ff1a4d8e4928dcb21d28a6d3269d7a192e024b95877991aad01e7b800294df9a7992658993d88f5cb12100ad57e9e98b87937
+DIST renderdoc-1.8.tar.gz 42732744 SHA256 a5e046720b48c12f3b448936ecf3a4e29a28231348bf024db29e29499d306ef5 SHA512 5206642ae229664591a253180b7e0f1539a18c89ddef7778dbf93a9a6a86b88c8108da50311eda1b0d77f773a6546f87ab607406911dbea93d94763c3cd351f9 WHIRLPOOL bfd6b9fc9e57fced61ba565c9ad4183b18f466e97965672861297a747940b7c5efeaedfa70dbccb8d42b190a89d28c7cc29ce6c49757780dc506a99f8504b68f
DIST renderdoc_swig_modified-6.zip 6015826 SHA256 c486b9f4fa537b00085890f592ffa5aa4be75153a701f8602105b0f2af1d46d9 SHA512 380760fcd4ec6fe3f2571ac0ce84c8cbd60a413ee5b7679beed4a87dc78ca6a3eef5932d8198476e81bbb04d2b10bfacfb7b94c0508cfaeb358f4033c7b58376 WHIRLPOOL c55a5d367ed2a66a55d472392c52ca3f44dae8c6e604e281272a68871c22fda9f4c4880989eac067e0bfcda7d27917e0f292223fdf7bf2477f30c71f332a724a
-EBUILD renderdoc-1.2.ebuild 1223 SHA256 c386a618e3f0c0e0d18ebe98e3a6b5ccd35e887a14cdc094e0f39b99da279ba0 SHA512 183ab9a3570f37fe1f1b67462879a86956596cfdc9bd6d7be5bbe67b5f3bdf70b1e398e0cb87fa896c954115f6ea4ea21a349ed47a7f80f30bb90aa75eee8fab WHIRLPOOL dce6dcdea06d4b1ea84ed29cd5a04441fc5f2c5e2c0dbd32c1524ec44ab0061a8c21fe60645d4352a529b2239de2e96357a815ff394b68e9ffa8e8d7856bd410
-EBUILD renderdoc-1.5.ebuild 1299 SHA256 7b6517e9413e1e14e5f7a94f87b399843c2ee2dae947e1cfad948b167f193e83 SHA512 83a6d1ebd754595e1fa4d3d29521bda470766c41acbe10461954f2c64194deae1ad78e2bde59a56cd8e125f585939d93202334dd1b383bf22d4c079316230101 WHIRLPOOL 800783dfcba407d0eca8918d80d60fba9af0b5994a88b1e1b50a84bd4a62d540060225fff02455745250d5058a4721721bf3ec56030c681a388c7712edf5a3ee
-EBUILD renderdoc-9999.ebuild 888 SHA256 5a5c10e0ff74065dd2dd2016c888d15a890d2c12482bb5b7c68c971ce78946d9 SHA512 54959e6b37aa5c8091c1693dadbd3b03fb37b9222a8dfd1751b8dd8f3e93a71cf1d7036320cc08fda4c1e9efaee60d095a5289ddbc8242fca2b4fafc8077341a WHIRLPOOL e209314a3fbff6fe2809cb4ba734821e6d49a69dbe9ffee2a5c60d4feeb946e9f3f4b27aa15ccc3e347631771acea18cc51f4186cda9cec554dbd22917ddc944
-MISC ChangeLog 1145 SHA256 acd1af82fdabe75f9f532e8dc94d6962c97f5c37666461f27eea7f75281a660c SHA512 c26d2021fa5fd35ba82cc57fb7e38c22c03a347558752d51a2db1689fe15d9bad99a19448f8b1a2643400409bb9049ed37e7a06299586207217d3af7bfbd2376 WHIRLPOOL f95151ca4994bccaac7ff523e4f332774bd1aaf84ed893bc87e747d4b32f13bb918a24bcba363a1d850fcb94ed509c87c2f24925737a85367e53eae4b25796c0
+DIST renderdoc_swig_modified-7.zip 6015823 SHA256 9d7e5013ada6c42ec95ab167a34db52c1cc8c09b89c8e9373631b1f10596c648 SHA512 78e66e7da0a6632a0f1e6ca0b38b7331fac8921b0d82d42ec21b281f19ff1c9b1ea182c80c52585dceef2e7444777340eedcbda80ac05563da8b892b446f9596 WHIRLPOOL f76ed018f761ff13053c6e6045f9dde374761cd278b502a0b403b7024b17e39c32cb481fe366f90c0a7fc9114b7dc721278bdb5488f0fa4b2dede443dc5771b9
+EBUILD renderdoc-1.5-r1.ebuild 1299 SHA256 e12d82b362aff25dd9c77c1cb7bc66f3852b49d8c0792000188eb33462641dcc SHA512 8afd56b9be2662a8c74aaa7ac11cf3ebd3ee7616da7835ec337dae2f3ede7056e53ce584a52791bac5321208cbbc8bd4c4103546e5fec599e959f94afa302faf WHIRLPOOL 95ad04a30b9346b31940b0ea9a68946c215bb20c8a46639f4c7a9f7654fe0528bf9fa701ffc484f87a778f67943d5d2953726cd2e81b31a457650f5da6affc1c
+EBUILD renderdoc-1.8.ebuild 1300 SHA256 a9a581526df157a14e5ffcfdc3df6aa40fc26d94ac70b4c4e4eb82f60090e100 SHA512 87460d4c992b187390e79bc23e57713670d0ede90e9512ec63bb5edc35dd413cf30120049b7f478a0828e01c642df5ea1dd58ad7c3d1b1fa4c440b2b9d8f6ca0 WHIRLPOOL 6f51488b0d979242dcbd529aac4a1b625fffaefbff99089a4ccf2c04fd9015c1959896ff315e0562cc2334f4507d96bc7afb5f7528a7b554de71fd048349d0d1
+EBUILD renderdoc-9999.ebuild 1235 SHA256 8d7bf44628447746f53a9a5ba5db8014ad71ef21e147cd0132a113473ab9afd8 SHA512 376ad3782a7a8cced8502ca4956908311bdbd053663324aea4fe3de9ae49193c5772174984fbd80024395170ecc36244dad815ea44ec1dbccc052aa0b6088cdc WHIRLPOOL 67a19f2a1d9421547db7e02d0a326584925cc7ac7753350b418bc273890f756c90c49b7008ada6505bd4c3756d1f249823174693ce0a93e9198a364a333f551b
+MISC ChangeLog 1437 SHA256 a50d3c0005a799100f20a363188025d926c89246ab584d6ec2362e5e93b91fd0 SHA512 0f3bce5985abf21722b1a83809cbcd92b5ad0b5c72e4cb7a0a52d32f02f116867fb8b256761bc2d7df8e59a4ea9021f46c7c22ecd90ce0190b6e9e681e8165a7 WHIRLPOOL d3b4d7ba5f2acf809e63878920816e5c0981f0d8d6d34d1c80511f31249cbda1109523bece7548abfe9c4b7c336854f76d77eb58a52d85f1417617418380610a
MISC metadata.xml 617 SHA256 e9fbacbe415bc07df43e7f8e712ab879f7cdd471e7fb8eca804494103418b8fc SHA512 4cad8316dce107b2cd7e7eb426a106388563955c5ba333b1fcb024c4265c0d7b2fca78dcb2abdfd737fb8fe06066af22a3fec7d0db66870ba2f6739e7b9bea77 WHIRLPOOL 094c37a0562e2f09d9998d06d4917b474f599a57804a09300dba83e3fe8d489e4781d2d5924208fccb1bdea866fd42cac7abae9f72083284f24b8bb75e1d5a83
diff --git a/dev-util/renderdoc/renderdoc-1.5.ebuild b/dev-util/renderdoc/renderdoc-1.5-r1.ebuild
index 59849bc..6aee2ed 100644
--- a/dev-util/renderdoc/renderdoc-1.5.ebuild
+++ b/dev-util/renderdoc/renderdoc-1.5-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI="7"
PYTHON_COMPAT=( python3_6 python3_7 )
inherit qmake-utils cmake-utils eutils python-single-r1
diff --git a/dev-util/renderdoc/renderdoc-1.2.ebuild b/dev-util/renderdoc/renderdoc-1.8.ebuild
index 320779c..d54c1f4 100644
--- a/dev-util/renderdoc/renderdoc-1.2.ebuild
+++ b/dev-util/renderdoc/renderdoc-1.8.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
-PYTHON_COMPAT=( python3_6 )
+EAPI="7"
+PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
inherit qmake-utils cmake-utils eutils python-single-r1
-SWIG_VERSION="6"
+SWIG_VERSION="7"
SWIG_ZIP_FILENAME="${PN}_swig_modified-${SWIG_VERSION}.zip"
DESCRIPTION="A tool for tracing, analyzing, and debugging graphics APIs"
HOMEPAGE="https://github.com/baldurk/renderdoc"
@@ -25,14 +25,14 @@ RDEPEND="${PYTHON_DEPS}
x11-libs/libxcb
x11-libs/xcb-util-keysyms
python? (
- >=dev-lang/python-3.6:*
+ ${PYTHON_DEPS}
)
qt5? (
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtwidgets:5
- dev-qt/qtsvg:5
- dev-qt/qtx11extras:5
+ >=dev-qt/qtcore-5.6:5
+ >=dev-qt/qtgui-5.6:5
+ >=dev-qt/qtwidgets-5.6:5
+ >=dev-qt/qtsvg-5.6:5
+ >=dev-qt/qtx11extras-5.6:5
)"
DEPEND="${RDEPEND}
>=sys-devel/gcc-6.0:*
@@ -42,6 +42,7 @@ DEPEND="${RDEPEND}
src_configure() {
export QT_SELECT=qt5
+ export QMAKE_QT5_COMMAND=qmake-qt5
local mycmakeargs=(
-DRENDERDOC_SWIG_PACKAGE="${DISTDIR}/${SWIG_ZIP_FILENAME}"
)
diff --git a/dev-util/renderdoc/renderdoc-9999.ebuild b/dev-util/renderdoc/renderdoc-9999.ebuild
index 728231c..feb1976 100644
--- a/dev-util/renderdoc/renderdoc-9999.ebuild
+++ b/dev-util/renderdoc/renderdoc-9999.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
-
-PYTHON_COMPAT=( python3_6 )
+EAPI="7"
+PYTHON_COMPAT=( python3_6 python3_7 )
+inherit qmake-utils cmake-utils eutils python-single-r1
+SWIG_VERSION="6"
+SWIG_ZIP_FILENAME="${PN}_swig_modified-${SWIG_VERSION}.zip"
inherit qmake-utils cmake-multilib eutils python-single-r1 git-r3
DESCRIPTION="A tool for tracing, analyzing, and debugging graphics APIs"
@@ -13,7 +15,6 @@ EGIT_REPO_URI="https://github.com/baldurk/renderdoc.git"
EGIT_BRANCH="v1.x"
CMAKE_BUILD_TYPE="Release"
CMAKE_BUILD_GENERATOR="Ninja"
-export QT_SELECT="qt5"
LICENSE="MIT"
SLOT="0"
@@ -25,17 +26,27 @@ RDEPEND="${PYTHON_DEPS}
x11-libs/libX11
x11-libs/libxcb
x11-libs/xcb-util-keysyms
- >=sys-devel/gcc-5.0:*
python? (
- >=dev-lang/python-3.6:*
+ ${PYTHON_DEPS}
)
qt5? (
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtwidgets:5
- dev-qt/qtsvg:5
- dev-qt/qtx11extras:5
+ >=dev-qt/qtcore-5.6:5
+ >=dev-qt/qtgui-5.6:5
+ >=dev-qt/qtwidgets-5.6:5
+ >=dev-qt/qtsvg-5.6:5
+ >=dev-qt/qtx11extras-5.6:5
)"
DEPEND="${RDEPEND}
+ >=sys-devel/gcc-6.0:*
dev-util/cmake
- sys-devel/bison"
+ sys-devel/bison
+ app-arch/unzip"
+
+src_configure() {
+ export QT_SELECT=qt5
+ export QMAKE_QT5_COMMAND=qmake-qt5
+ local mycmakeargs=(
+ -DRENDERDOC_SWIG_PACKAGE="${DISTDIR}/${SWIG_ZIP_FILENAME}"
+ )
+ cmake-utils_src_configure
+}
diff --git a/media-libs/devil/Manifest b/media-libs/devil/Manifest
index a7a3c41..9863971 100644
--- a/media-libs/devil/Manifest
+++ b/media-libs/devil/Manifest
@@ -6,8 +6,10 @@ AUX devil-1.7.8-nvtt-glut.patch 2477 SHA256 7660558de9615d617027f501f93e74726476
AUX devil-1.7.8-restrict.patch 587 SHA256 f30f4f95a208963af7fcf5de68c2a94db55911b34b9feef2c4324673388784c3 SHA512 9370a94406e98979266d027857d7dd04069eefb6e2ccfb52d254b9eb658d932e5e7e9bd3a38aad57099b870c54aaa0a2d8b337f9bad42d06f6521c10d0a6f8db WHIRLPOOL d7633320ba62b81f80aa91a42228c70afe647f466f63ecc68e55afcfd3875ff05f00669a08db7bbcfa2e3c26e29d12fc02c0947dc46116ee3ca4460c8f4e3b9f
AUX devil-1.7.8-uchar.patch 739 SHA256 8c24e84fb82a1c939d7cf05c55c9ebf903eef59dc5730fc78568e9a117d216b4 SHA512 cf611410bb61877a416ecb573c42c78f94eae78f9a2c6105cf82d095ca68fb25d995cbfefb0f5bac942eb03f13278305a2e43106f976aff4608cad0307a1e657 WHIRLPOOL d32a269583d5d2e6804a2e10d60c2f0e9b934472dcf667da27dfd46a147b8ac5bcfb2a4818e6c096a859af343423772c1b6ef1a4b355d8e7851c7134a526c404
DIST DevIL-1.7.8.tar.gz 2051993 SHA256 682ffa3fc894686156337b8ce473c954bf3f4fb0f3ecac159c73db632d28a8fd SHA512 a67e1488d6cb366431d9fcb460b8fe5b8a1dd79426ac77f8abd0db4a5aad7512697f72ef0c49ddb0e806469cc37ba1319e10ccd2ebd73942332df2c3c507458e WHIRLPOOL 749bf0ce73786709414d6f2c3bf29b20c56397cb6f9f92b4158902a98a4f4d0ef66d78096ce8daea3d65b1718c5255421055cd223e9269f6c773ca310c2df146
+DIST DevIL-1.8.0.tar.gz 3084833 SHA256 0075973ee7dd89f0507873e2580ac78336452d29d34a07134b208f44e2feb709 SHA512 103fa51f4094af0fe988bf9520e1b9178900f980b72226e64ede60b6b0938a646c670a37372214edb557e492947cd5af5012a3ac906734a5ea83e072f81db583 WHIRLPOOL 24b56ac990ddcc258b12949e4398163ea582af2cb701fb77788750eacecad8a6f72c89d6250a43303bfafdfb16521083293c9d1c1a30c30732af79abae23bebc
DIST v1.8.0.tar.gz 2949100 SHA256 52129f247b26fcb5554643c9e6bbee75c4b9717735fdbf3c6ebff08cee38ad37 SHA512 4aed5e50a730ece8b1eb6b2f6204374c6fb6f5334cf7c880d84c0f79645ea7c6b5118f57a7868a487510fc59c452f51472b272215d4c852f265f58b5857e17c7 WHIRLPOOL ba326cba2841cb4b11679fcb745701861130eb41628fee64323142f5f199dd3cc5f3de9dabc3dc01834f6419256102cde8d80fab78df2c7c544c895f336dd511
EBUILD devil-1.7.8-r3.ebuild 1929 SHA256 850618b8c417c83c77a0a3306193e5d400a4fd1c13cf3a71755146023bdb2afd SHA512 3c3eaf75af9fbf07b59692a59f6e76b5b29e52aa7acb903c3493735ffe5252d388d11d9755a4f6bc83f45201f019a252d810cc9f6eb5eed57671ea5d274730f0 WHIRLPOOL f11ae73dab8afbeadebdef9a16ec35826d9ef5939725942eb3225eedc61526fff74874a2fc3bc3c7f2dd34a8ce2529829b0c36802225bb103c28a63b4e9f7a5f
+EBUILD devil-1.8.0-r1.ebuild 2127 SHA256 1fa39b6746fd152e5e9c112787dea6917d2f1fc06ee3fa17b7d50c9b4646eab3 SHA512 e98887fbb86ee933bba86c1b3538e34a3ebb0b6361b4e49b554a85a69feeb1dd652233565c13043c5763781a6a63330c12f0d3b15ff91951b23b7a46fab9778f WHIRLPOOL c8329f08fe01fa499a4a3d3e1e85628c7e1c64d63b00de9611436ae79b1591d1756bd343252264cd84efae50405b6ac418036ddc17f055d34ebbed76dcffc28f
EBUILD devil-1.8.0.ebuild 2097 SHA256 c37021f8ba3926a1cd5ef64adc68b8c7182e0c1bb5a7805694589ca2221107eb SHA512 3501a0704f8e12f46d4542e175c653c86e5c7f23ee1949e53509996dfde92a3bede399eb3c329348c9f7b42f7f93dab284413d68c6ff2404525987a8ec63638d WHIRLPOOL 6e0382de1e1ed64208750baf9bac61025dd8d2cbc62dd231d3688d417e0f12a7b674f1a13a167d1b6873a5339b52804dce06ef254efd82b78bc7388b35e7a8a1
MISC ChangeLog 505 SHA256 c23e6c06f1e9e40af3a8eb6a42ce7c47439a6ab3cafa05b08ceb79e6f5da0435 SHA512 7d841b71be87387762a98f1fbd938c13b2207db59b25e0e72699f073ab12e92f5cd09960dba31d30d07fbc72ea8ea5ed2990d1d2cc52f2c3beba0408655cbd1d WHIRLPOOL 4173675a4b280d445c738f3481cb9db3478bceecc24cdf73277924f92ff0107cb1445af85af843b9ef8d9e27ba884e235ef29d9280aa9dc9a010eb9d7a63b56b
MISC metadata.xml 499 SHA256 d4cf93176bedb75d01c37dcd8d29a49fbfebfa7fd49f2dfcdf6cadb7365a7c39 SHA512 68440791a1c641a6983d297e924bee78038905b1ee383592b220f0ef51980d8f9eb237a6d70b0d848781d08e72fe02f4b4f36691d37a72b4003ea59fe3764cfc WHIRLPOOL f83bbbadaf75bb031417c47910870f8529d60ef1bb06f2b7aa431d7878ca54486befcbc9020cc5ab2cba6d2512b883d3798e1425df445cdb794335e4d2a5096e
diff --git a/media-libs/devil/devil-1.7.8-r3.ebuild b/media-libs/devil/devil-1.8.0-r1.ebuild
index 53c2bca..fad8f81 100644
--- a/media-libs/devil/devil-1.7.8-r3.ebuild
+++ b/media-libs/devil/devil-1.8.0-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit autotools eutils
+
+inherit autotools
MY_P=DevIL-${PV}
@@ -12,30 +13,42 @@ SRC_URI="mirror://sourceforge/openil/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
-IUSE="allegro gif glut jpeg jpeg2k mng nvtt openexr opengl png sdl cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 static-libs tiff xpm X"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~mips ppc ppc64 x86"
+IUSE="allegro cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 gif glut jpeg mng nvtt openexr opengl png sdl static-libs tiff X xpm"
-RDEPEND="allegro? ( media-libs/allegro:0 )
+RDEPEND="
+ allegro? ( media-libs/allegro:0 )
gif? ( media-libs/giflib:= )
glut? ( media-libs/freeglut )
jpeg? ( virtual/jpeg:0 )
- jpeg2k? ( media-libs/jasper:= )
mng? ( media-libs/libmng:= )
nvtt? ( media-gfx/nvidia-texture-tools )
openexr? ( media-libs/openexr:= )
- opengl? ( virtual/opengl virtual/glu )
+ opengl? ( virtual/opengl
+ virtual/glu )
png? ( media-libs/libpng:0= )
sdl? ( media-libs/libsdl )
tiff? ( media-libs/tiff:0 )
- xpm? ( x11-libs/libXpm )
X? ( x11-libs/libXext
- x11-libs/libX11
- x11-libs/libXrender )"
+ x11-libs/libX11
+ x11-libs/libXrender )
+ xpm? ( x11-libs/libXpm )"
DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ virtual/pkgconfig
+ X? ( x11-base/xorg-proto )"
+
+PATCHES=(
+ "${FILESDIR}/${P}"-CVE-2009-3994.patch
+ "${FILESDIR}/${P}"-libpng14.patch
+ "${FILESDIR}/${P}"-nvtt-glut.patch
+ "${FILESDIR}/${P}"-ILUT.patch
+ "${FILESDIR}/${P}"-restrict.patch
+ "${FILESDIR}/${P}"-fix-test.patch
+ "${FILESDIR}/${P}"-jasper-remove-uchar.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/${P}-{CVE-2009-3994,libpng14,nvtt-glut,ILUT,restrict,fix-test,uchar}.patch
+ default
eautoreconf
}
@@ -51,7 +64,7 @@ src_configure() {
$(use_enable openexr exr) \
$(use_enable gif) \
$(use_enable jpeg) \
- $(use_enable jpeg2k jp2) \
+ --enable-jp2 \
$(use_enable mng) \
$(use_enable png) \
$(use_enable tiff) \
@@ -71,5 +84,7 @@ src_configure() {
src_install() {
default
- use static-libs || prune_libtool_files
+
+ # package provides .pc files
+ find "${D}" -name '*.la' -delete || die
}