summaryrefslogtreecommitdiff
path: root/dev-util/apitrace
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/apitrace')
-rw-r--r--dev-util/apitrace/Manifest2
-rw-r--r--dev-util/apitrace/apitrace-7.1-r1.ebuild (renamed from dev-util/apitrace/apitrace-7.1.ebuild)37
2 files changed, 19 insertions, 20 deletions
diff --git a/dev-util/apitrace/Manifest b/dev-util/apitrace/Manifest
index 84809624988e..9e800ac7721e 100644
--- a/dev-util/apitrace/Manifest
+++ b/dev-util/apitrace/Manifest
@@ -3,5 +3,5 @@ AUX apitrace-7.1-docs-install.patch 526 BLAKE2B 0b0412e17de8e5ad10fbca93afcb9403
AUX apitrace-7.1-glxtrace-only.patch 1022 BLAKE2B 1265fd4dc70702f6cba1d50437a55177ca19867e1a1c0b9ee0ab1f52b85864aa3a109fc7852aa60225de328cb67c6b987af37bf797aa03eac61b5b81af6980d2 SHA512 3cbb1b25dcfbb57785feba8ef83450e270f062fc771e5fd1ae99c8ac893cad6e33162a12fccc962da08778a77377db652690efe3c54d60b2a56a6d1971cefdf1
AUX apitrace-7.1-snappy-license.patch 240 BLAKE2B ef144dba8882466d0fce8da74ffaa008840ca1d9fc411f37e56ec7bfa3ab1637c001b87fb80186b1844abe7694419719a0c1ad011bba5002752d4c1fcc448e96 SHA512 0ea2d2fe38c0ecd12a41dcef66efda7e55d02c43a9a8ec52da621f711e50f040542efa65e855d52715fa0ab78d54b4c5620ee0cfc0795f4d9eb4a433d07da60c
DIST apitrace-7.1.tar.gz 2343156 BLAKE2B ab450535a585d476726b0bb3fbb8f85f930dafd883419ac9a575ca0b487890b26d39baee920c5f4c29b929bce13450643bc27d7f5d269aa60c044dca9975bcce SHA512 b4ebe4eb0b16770a156cffe7cccccff2166634bee7b147d124c78c6e5b37e2ef5f0cb78d30ab7df9a489f25234073023c8bbee67e2b6c59aacfcf4e5ff2ceb84
-EBUILD apitrace-7.1.ebuild 2514 BLAKE2B e715ce5917aff9a84e2a26b38176e53d16fe8c6e11f5d1347b6a216ec95f90cf04064cb14a09e7adc763f56c04125c384802972faf0db69e53d6ad419a40c3dd SHA512 c65aeb52b0ec152d4413d569172b2235434bdf2b17326e84cd85205880b028f0f390f2262a7a2d4aa1ca11dad48f208ab16daf0d0511a856eefd5fb583492595
+EBUILD apitrace-7.1-r1.ebuild 2439 BLAKE2B 37393fe352c333c50f870dea34cbcff7e53878bc84194d64c5bfe7eb0812e6dcad9477a6634444d37498b359d456a739a24b5fa6fe4a56152deb3360d56ca1f6 SHA512 c916ea1fd2a816d59979e9490a4d7cb8d0fadde7f47c5e32b53711d53cc59ebb078f57548bfad5b2dc206d89182b8c34fe12b18fcb4a22dd297a703c74312763
MISC metadata.xml 721 BLAKE2B ac714ac582205e96e3728c64d84f9d69b11625bd29cbea77a00009ff92634eb61caa809c0926e00f75f7bd07a6559738c6d0bac7c23cfe7495f9bde95502d8d7 SHA512 961e99dd94af7d8fefdecdd4ea91fed6ff934ca0c047721a079f43aa8e3b566523fe57a136063155dda0cc3f058133e14fe58401a5a39c35ab8149a7259b76a1
diff --git a/dev-util/apitrace/apitrace-7.1.ebuild b/dev-util/apitrace/apitrace-7.1-r1.ebuild
index 7eeab3135213..c39555ef4931 100644
--- a/dev-util/apitrace/apitrace-7.1.ebuild
+++ b/dev-util/apitrace/apitrace-7.1-r1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
-PYTHON_COMPAT=( python2_7 )
+EAPI=6
-inherit cmake-multilib eutils python-single-r1
+PYTHON_COMPAT=( python2_7 )
+inherit cmake-multilib python-single-r1
-DESCRIPTION="A tool for tracing, analyzing, and debugging graphics APIs"
+DESCRIPTION="Tool for tracing, analyzing, and debugging graphics APIs"
HOMEPAGE="https://github.com/apitrace/apitrace"
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
@@ -18,11 +18,9 @@ IUSE="+cli egl qt5 system-snappy"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
- >=sys-devel/gcc-4.7:*
- system-snappy? ( >=app-arch/snappy-1.1.1[${MULTILIB_USEDEP}] )
- >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
- >=media-libs/mesa-9.1.6[egl?,${MULTILIB_USEDEP}]
media-libs/libpng:0=
+ media-libs/mesa[egl?,${MULTILIB_USEDEP}]
+ sys-libs/zlib:=[${MULTILIB_USEDEP}]
sys-process/procps
x11-libs/libX11
egl? (
@@ -31,11 +29,13 @@ RDEPEND="${PYTHON_DEPS}
)
qt5? (
dev-qt/qtcore:5
- dev-qt/qtgui:5
+ dev-qt/qtgui:5[-gles2]
dev-qt/qtnetwork:5
dev-qt/qtwebkit:5
- dev-qt/qtwidgets:5
- )"
+ dev-qt/qtwidgets:5[-gles2]
+ )
+ system-snappy? ( >=app-arch/snappy-1.1.1[${MULTILIB_USEDEP}] )
+"
DEPEND="${RDEPEND}"
PATCHES=(
@@ -59,15 +59,14 @@ src_prepare() {
src_configure() {
my_configure() {
- mycmakeargs=(
- -DARCH_SUBDIR=
- $(cmake-utils_use_enable egl EGL)
- $(cmake-utils_use_enable !system-snappy STATIC_SNAPPY)
+ local mycmakeargs=(
+ -DENABLE_EGL=$(usex egl)
+ -DENABLE_STATIC_SNAPPY=$(usex !system-snappy)
)
if multilib_is_native_abi ; then
mycmakeargs+=(
- $(cmake-utils_use_enable cli CLI)
- $(cmake-utils_use_enable qt5 GUI)
+ -DENABLE_CLI=$(usex cli)
+ -DENABLE_GUI=$(usex qt5)
)
else
mycmakeargs+=(
@@ -89,7 +88,7 @@ src_install() {
dosym glxtrace.so /usr/$(get_libdir)/${PN}/wrappers/libGL.so.1
dosym glxtrace.so /usr/$(get_libdir)/${PN}/wrappers/libGL.so.1.2
- rm docs/INSTALL.markdown
+ rm docs/INSTALL.markdown || die
dodoc docs/* README.markdown
exeinto /usr/$(get_libdir)/${PN}/scripts