summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-08-18 12:53:56 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-08-18 13:04:32 +0200
commit9791e971fed60aa414953c99b7ce85855cf8af5c (patch)
tree5cbb6559cd5608a6a7283ac31bb2c6df2a643f1c /dev-util/apitrace
parentdev-util/apitrace: Cleanup, sort, fix DEPENDs (diff)
downloadgentoo-9791e971fed60aa414953c99b7ce85855cf8af5c.tar.gz
gentoo-9791e971fed60aa414953c99b7ce85855cf8af5c.tar.bz2
gentoo-9791e971fed60aa414953c99b7ce85855cf8af5c.zip
dev-util/apitrace: EAPI-6 bump, drop eutils
Add missing || die local mycmakeargs Package-Manager: Portage-2.3.47, Repoman-2.3.10
Diffstat (limited to 'dev-util/apitrace')
-rw-r--r--dev-util/apitrace/apitrace-7.1-r1.ebuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/dev-util/apitrace/apitrace-7.1-r1.ebuild b/dev-util/apitrace/apitrace-7.1-r1.ebuild
index 3d5b2b97d42..5392ad595d4 100644
--- a/dev-util/apitrace/apitrace-7.1-r1.ebuild
+++ b/dev-util/apitrace/apitrace-7.1-r1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI=6
PYTHON_COMPAT=( python2_7 )
-inherit cmake-multilib eutils python-single-r1
+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"
@@ -59,15 +59,15 @@ src_prepare() {
src_configure() {
my_configure() {
- mycmakeargs=(
+ local mycmakeargs=(
-DARCH_SUBDIR=
- $(cmake-utils_use_enable egl EGL)
- $(cmake-utils_use_enable !system-snappy STATIC_SNAPPY)
+ -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 +89,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