commit:     9791e971fed60aa414953c99b7ce85855cf8af5c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 18 10:53:56 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 18 11:04:32 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9791e971

dev-util/apitrace: EAPI-6 bump, drop eutils

Add missing || die
local mycmakeargs

Package-Manager: Portage-2.3.47, Repoman-2.3.10

 dev-util/apitrace/apitrace-7.1-r1.ebuild | 18 +++++++++---------
 1 file 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

Reply via email to