summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Asplund <peter.azp@gmail.com>2021-02-28 21:11:16 +0100
committerPeter Asplund <peter.azp@gmail.com>2021-02-28 21:11:16 +0100
commit7a0a3ad2147569347871a5fbc81ed8639dfcef35 (patch)
treebfe491b6393fcbcb8be079e9ec44f35df7a0dcdb
parentdev-util/renderdoc: (diff)
downloadAzP-7a0a3ad2147569347871a5fbc81ed8639dfcef35.tar.gz
AzP-7a0a3ad2147569347871a5fbc81ed8639dfcef35.tar.bz2
AzP-7a0a3ad2147569347871a5fbc81ed8639dfcef35.zip
dev-util/renderdoc:
Add use flags to control CMake build flags. Signed-off-by: Peter Asplund <peter.azp@gmail.com> Package-Manager: Portage-3.0.15, Repoman-3.0.2
-rw-r--r--dev-util/renderdoc/ChangeLog4
-rw-r--r--dev-util/renderdoc/Manifest6
-rw-r--r--dev-util/renderdoc/metadata.xml7
-rw-r--r--dev-util/renderdoc/renderdoc-1.12.ebuild17
4 files changed, 28 insertions, 6 deletions
diff --git a/dev-util/renderdoc/ChangeLog b/dev-util/renderdoc/ChangeLog
index b561b5f..ddd5569 100644
--- a/dev-util/renderdoc/ChangeLog
+++ b/dev-util/renderdoc/ChangeLog
@@ -1,3 +1,7 @@
+ 28 Feb 2021; AzP <peterasplund@gentoo.se> metadata.xml, renderdoc-1.12.ebuild:
+ dev-util/renderdoc: Add use flags to control CMake build flags.
+ Signed-off-by: Peter Asplund <peter.azp@gmail.com>
+
*renderdoc-1.12 (21 Feb 2021)
21 Feb 2021; AzP <peterasplund@gentoo.se> +renderdoc-1.12.ebuild,
diff --git a/dev-util/renderdoc/Manifest b/dev-util/renderdoc/Manifest
index 9aea29d..fd2ba99 100644
--- a/dev-util/renderdoc/Manifest
+++ b/dev-util/renderdoc/Manifest
@@ -2,7 +2,7 @@ DIST renderdoc-1.10.tar.gz 43023048 SHA256 6200099987c7cfc52360d24845742883dcfe6
DIST renderdoc-1.12.tar.gz 43554566 SHA256 4dece1b4cb859a76533b28fcd50e17321acfaa81c3435500a006c4a5ba15fddb SHA512 29ed5edbba8d0fdbac2f1ecaa148edd030bf1ab26da522c983ff21962bfaf6fb3252e02a4e3555834b757f2eb05e894729f01c8acc734f929c1b2bf972c6172e WHIRLPOOL 35f7a649b0d50132772271ad9bca6438ea308850e5a5fe13d22c7ff4e40303e2c50594ffaa47708e60edab91c3eee4e0166aa67008b3662fce7a67e4b49fc2c2
DIST renderdoc_swig_modified-7.zip 6015823 SHA256 9d7e5013ada6c42ec95ab167a34db52c1cc8c09b89c8e9373631b1f10596c648 SHA512 78e66e7da0a6632a0f1e6ca0b38b7331fac8921b0d82d42ec21b281f19ff1c9b1ea182c80c52585dceef2e7444777340eedcbda80ac05563da8b892b446f9596 WHIRLPOOL f76ed018f761ff13053c6e6045f9dde374761cd278b502a0b403b7024b17e39c32cb481fe366f90c0a7fc9114b7dc721278bdb5488f0fa4b2dede443dc5771b9
EBUILD renderdoc-1.10.ebuild 1258 SHA256 726243def2f704cb336d5c7f986d952e61bc567bfbce67c910ac2a14b5b51b70 SHA512 31b8c4e096a86455ce0e56cea20cc001d9fc42f36bf8488556966e713095549cfc1a04e6c6b469ad31221fe8af545d21f024d56d77967d90cccdb8c14f15e227 WHIRLPOOL a77fdec38443f0e0e0da897e5d7e6c1732b5cfc6649771b3c6ad9072efe980bf20ddade3a649d4574bf25c7d336e6d81a4f493aa33359ca438c9c95ae1961abb
-EBUILD renderdoc-1.12.ebuild 1490 SHA256 24012139494a4107e6aa217356d9d0908878b170495036db467a136da2385ab5 SHA512 ffa50da6b4fee1918fc895e0f9d7e1dfd1a24c30f52f224f0867873607989c45189b92b4e149ea16cba0e56dd95ce15c95af5290078d82cfb7f76e78cedeb76d WHIRLPOOL 05c96271401cdd8e69da0c88433e300130ea9d9ecbc0a24dcbc93413fadafdc730c022b38fda50f469094815ce0572e60260cdc4e3683c2cf6895d9728867ac1
+EBUILD renderdoc-1.12.ebuild 1824 SHA256 4bb0e121d48f0ab16cfa36b12e551e31b7084c99ac36f10accbeab886161456a SHA512 b937bf8c87df11fda8fe84e70261ebd10bf91028e53570364f941098dded41887e7177f3bab890e7fe4db1a96d74e25e2403667b2fce2be33a122fd96937705d WHIRLPOOL 7f18c2bf6003b579e96da5ac42188137a2d55fa51589e465c3c8f03c57cc262b73b4de21ee70df2625e590e9d17d99ce87d8ddf2f3aa74c64196a045a6abab20
EBUILD renderdoc-9999.ebuild 1143 SHA256 812b513a6295a0f231a47ce45a00f14e14c80b3b4d7c1c3b4fd88a5de11247ea SHA512 b429eb9061db1cd1ec6410068329bbdaeb4cdfc5e4ccef854e81443ca31859b6c9d5c860a4c3cfc93b23ea74e2928c5cb21e5fd953bcf440999875f4306f1f3d WHIRLPOOL c7693b0a9913e532ea50cccb02270d9802700eb2f6d87c0a4b7d308fe99ca2f0e751565833bfcc2eaa47ff2666c4b410851af145199f0bc8266749fd686cb90e
-MISC ChangeLog 2385 SHA256 dc201609c31af2df24ea0c9d11e5e96bc68776de5a1b392eac7f30d21c8d9c15 SHA512 a0932c80e4f0b16790cb2be104d43aec57a2cbaba49b551a8674d6e8dc16a170168a48e2480bc23f9d1384eebd752a0d3cd16a0fa0630ad0fdadf15cec9d7180 WHIRLPOOL 7b09c8ef72e98e0cadd8862affb2124bf5c04902a513cbc360feff503b87c5f6cf3b1ceb7045857be09dd22a6c4545c0a68aac9d6cb3ad5317ac353c8724ab6b
-MISC metadata.xml 617 SHA256 e9fbacbe415bc07df43e7f8e712ab879f7cdd471e7fb8eca804494103418b8fc SHA512 4cad8316dce107b2cd7e7eb426a106388563955c5ba333b1fcb024c4265c0d7b2fca78dcb2abdfd737fb8fe06066af22a3fec7d0db66870ba2f6739e7b9bea77 WHIRLPOOL 094c37a0562e2f09d9998d06d4917b474f599a57804a09300dba83e3fe8d489e4781d2d5924208fccb1bdea866fd42cac7abae9f72083284f24b8bb75e1d5a83
+MISC ChangeLog 2596 SHA256 00bc9d584917277b66ab0d718fbb15f30f412f32f2589cdb36d7ae132bf7a421 SHA512 77b1785e9d1e73789fe591a2dc155a01c744b3b1f9197f7f5694aa9650bbbb83185ac139ea1b596961414327e0edd4b4e0e31d58a65ced301c485ea42a1bb609 WHIRLPOOL 9e838e428bc5bd384952194bbd34425e4c12c8baf4333c5f3a1dfb16c61ae9d27c30a4da4ae19c5325210f767c591a1fbd89c299ad76ff22fa59336f740515d2
+MISC metadata.xml 993 SHA256 696ae40a52811773eb07e14dfecfb5810a075c8e0c8da0faac7fe5c9d6f09d59 SHA512 c593076407b5e25e4d68c915d67640ba1cba0ac54a5697ce13373d9aecd9f6657681c51d9bbed14c0ed5ad7f894723f41a74e3eb9f067e66d1d4cbaf1e4197e9 WHIRLPOOL be00602985c02c25dfa59401face36432ee5049edf27e4fbc68f4f2e0fe567be9608e97a3e7d2baa47d58cbf1a392672ddf4ccccfe95900504d3c931a0c02502
diff --git a/dev-util/renderdoc/metadata.xml b/dev-util/renderdoc/metadata.xml
index 4e2984c..3ee148e 100644
--- a/dev-util/renderdoc/metadata.xml
+++ b/dev-util/renderdoc/metadata.xml
@@ -13,6 +13,13 @@
<use>
<flag name="qt5">Build Qt5 based GUI</flag>
<flag name="python">Build with python support</flag>
+ <flag name="egl">Build with python support</flag>
+ <flag name="opengl">Build with python support</flag>
+ <flag name="gles2">Build with python support</flag>
+ <flag name="vulkan">Build with python support</flag>
+ <flag name="wayland">Build with python support</flag>
+ <flag name="xcb">Build with python support</flag>
+ <flag name="doc">Build with python support</flag>
</use>
<upstream>
<remote-id type="github">baldurk/renderdoc</remote-id>
diff --git a/dev-util/renderdoc/renderdoc-1.12.ebuild b/dev-util/renderdoc/renderdoc-1.12.ebuild
index e8437ee..daf8e3e 100644
--- a/dev-util/renderdoc/renderdoc-1.12.ebuild
+++ b/dev-util/renderdoc/renderdoc-1.12.ebuild
@@ -17,13 +17,15 @@ CMAKE_BUILD_GENERATOR="Ninja"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+qt5 +python"
+IUSE="+qt5 +python +egl +opengl +gles2 +vulkan +doc wayland +xcb"
RDEPEND="${PYTHON_DEPS}
dev-libs/libpcre
x11-libs/libX11
- x11-libs/libxcb
- x11-libs/xcb-util-keysyms
+ xcb? (
+ x11-libs/libxcb
+ x11-libs/xcb-util-keysyms
+ )
python? (
${PYTHON_DEPS}
)
@@ -37,6 +39,7 @@ RDEPEND="${PYTHON_DEPS}
DEPEND="${RDEPEND}
>=sys-devel/gcc-6.0:*
dev-util/cmake
+ dev-util/ninja
sys-devel/bison
app-arch/unzip"
@@ -44,6 +47,14 @@ src_configure() {
export QT_SELECT=qt5
export QMAKE_QT5_COMMAND=qmake-qt5
local mycmakeargs=(
+ -DENABLE_EGL="$(usex egl)"
+ -DENABLE_GL="$(usex opengl)"
+ -DENABLE_GLES="$(usex gles2)"
+ -DENABLE_RENDERDOCCMD="$(usex doc)"
+ -DENABLE_VULKAN="$(usex vulkan)"
+ -DENABLE_WAYLAND="$(usex wayland)"
+ -DENABLE_XCB="$(usex xcb)"
+ -DBUILD_VERSION_STABLE=ON
-DRENDERDOC_SWIG_PACKAGE="${DISTDIR}/${SWIG_ZIP_FILENAME}"
)
cmake_src_configure