Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/apitrace/
Date: Sat, 18 Aug 2018 11:04:52
Message-Id: 1534590272.459af0e5e058a5bd5aa7361ea84a12d21dd7668c.asturm@gentoo
1 commit: 459af0e5e058a5bd5aa7361ea84a12d21dd7668c
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 18 11:00:34 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 18 11:04:32 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=459af0e5
7
8 dev-util/apitrace: Drop 7.1 (r0)
9
10 Package-Manager: Portage-2.3.47, Repoman-2.3.10
11
12 dev-util/apitrace/apitrace-7.1.ebuild | 97 -----------------------------------
13 1 file changed, 97 deletions(-)
14
15 diff --git a/dev-util/apitrace/apitrace-7.1.ebuild b/dev-util/apitrace/apitrace-7.1.ebuild
16 deleted file mode 100644
17 index 7eeab313521..00000000000
18 --- a/dev-util/apitrace/apitrace-7.1.ebuild
19 +++ /dev/null
20 @@ -1,97 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI="5"
25 -PYTHON_COMPAT=( python2_7 )
26 -
27 -inherit cmake-multilib eutils python-single-r1
28 -
29 -DESCRIPTION="A tool for tracing, analyzing, and debugging graphics APIs"
30 -HOMEPAGE="https://github.com/apitrace/apitrace"
31 -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
32 -
33 -LICENSE="MIT"
34 -LICENSE+=" BSD CC-BY-3.0 CC-BY-4.0 public-domain" #bundled snappy
35 -SLOT="0"
36 -KEYWORDS="~amd64 ~arm ~x86"
37 -IUSE="+cli egl qt5 system-snappy"
38 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
39 -
40 -RDEPEND="${PYTHON_DEPS}
41 - >=sys-devel/gcc-4.7:*
42 - system-snappy? ( >=app-arch/snappy-1.1.1[${MULTILIB_USEDEP}] )
43 - >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
44 - >=media-libs/mesa-9.1.6[egl?,${MULTILIB_USEDEP}]
45 - media-libs/libpng:0=
46 - sys-process/procps
47 - x11-libs/libX11
48 - egl? (
49 - >=media-libs/mesa-8.0[gles1,gles2]
50 - media-libs/waffle[egl]
51 - )
52 - qt5? (
53 - dev-qt/qtcore:5
54 - dev-qt/qtgui:5
55 - dev-qt/qtnetwork:5
56 - dev-qt/qtwebkit:5
57 - dev-qt/qtwidgets:5
58 - )"
59 -DEPEND="${RDEPEND}"
60 -
61 -PATCHES=(
62 - "${FILESDIR}"/${PN}-7.1-glxtrace-only.patch
63 - "${FILESDIR}"/${PN}-7.1-disable-multiarch.patch
64 - "${FILESDIR}"/${PN}-7.1-docs-install.patch
65 - "${FILESDIR}"/${PN}-7.1-snappy-license.patch
66 -)
67 -
68 -src_prepare() {
69 - cmake-utils_src_prepare
70 -
71 - # The apitrace code grubs around in the internal zlib structures.
72 - # We have to extract this header and clean it up to keep that working.
73 - # Do not be surprised if a zlib upgrade breaks things ...
74 - rm -rf "${S}"/thirdparty/{getopt,less,libpng,zlib,dxerr,directxtex,devcon} || die
75 - if use system-snappy ; then
76 - rm -rf "${S}"/thirdparty/snappy || die
77 - fi
78 -}
79 -
80 -src_configure() {
81 - my_configure() {
82 - mycmakeargs=(
83 - -DARCH_SUBDIR=
84 - $(cmake-utils_use_enable egl EGL)
85 - $(cmake-utils_use_enable !system-snappy STATIC_SNAPPY)
86 - )
87 - if multilib_is_native_abi ; then
88 - mycmakeargs+=(
89 - $(cmake-utils_use_enable cli CLI)
90 - $(cmake-utils_use_enable qt5 GUI)
91 - )
92 - else
93 - mycmakeargs+=(
94 - -DBUILD_LIB_ONLY=ON
95 - -DENABLE_CLI=OFF
96 - -DENABLE_GUI=OFF
97 - )
98 - fi
99 - cmake-utils_src_configure
100 - }
101 -
102 - multilib_parallel_foreach_abi my_configure
103 -}
104 -
105 -src_install() {
106 - cmake-multilib_src_install
107 -
108 - dosym glxtrace.so /usr/$(get_libdir)/${PN}/wrappers/libGL.so
109 - dosym glxtrace.so /usr/$(get_libdir)/${PN}/wrappers/libGL.so.1
110 - dosym glxtrace.so /usr/$(get_libdir)/${PN}/wrappers/libGL.so.1.2
111 -
112 - rm docs/INSTALL.markdown
113 - dodoc docs/* README.markdown
114 -
115 - exeinto /usr/$(get_libdir)/${PN}/scripts
116 - doexe $(find scripts -type f -executable)
117 -}