/[gentoo-x86]/x11-apps/intel-gpu-tools/intel-gpu-tools-1.11-r1.ebuild
Gentoo

Contents of /x11-apps/intel-gpu-tools/intel-gpu-tools-1.11-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jul 11 12:08:17 2015 UTC (5 years ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Add libunwind dependency. Fixes bug #554204. Patch by tka.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-apps/intel-gpu-tools/intel-gpu-tools-1.11.ebuild,v 1.1 2015/07/07 17:47:10 mrueg Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python{3_3,3_4} )
8
9 inherit python-single-r1 xorg-2
10
11 DESCRIPTION="Intel GPU userland tools"
12 KEYWORDS="~amd64 ~x86"
13 IUSE="python test-programs unwind video_cards_nouveau"
14 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
15 RESTRICT="test"
16
17 DEPEND="dev-libs/glib:2
18 >=x11-libs/cairo-1.12.0
19 >=x11-libs/libdrm-2.4.52[video_cards_intel,video_cards_nouveau?]
20 >=x11-libs/libpciaccess-0.10
21 python? ( ${PYTHON_DEPS} )
22 unwind? ( sys-libs/libunwind )"
23 RDEPEND="${DEPEND}"
24
25 pkg_setup() {
26 use python && python-single-r1_pkg_setup
27 }
28
29 src_configure() {
30 XORG_CONFIGURE_OPTIONS=(
31 $(use_enable python dumper)
32 $(use_enable video_cards_nouveau nouveau)
33 $(use_enable test-programs tests)
34 $(use_with unwind libunwind)
35 )
36 xorg-2_src_configure
37 }
38
39 src_install() {
40 xorg-2_src_install
41 if use test-programs; then
42 local testprogram
43 pushd "${AUTOTOOLS_BUILD_DIR}"/tests || die
44 for testprogram in $(<multi-tests.txt) $(<single-tests.txt); do
45 if [[ -f ${testprogram} ]]; then
46 dobin "${testprogram}"
47 fi
48 done
49 popd
50 fi
51 }
52
53 pkg_postinst() {
54 xorg-2_pkg_postinst
55 if use test-programs; then
56 elog "Test programs for DRM driver development were installed. These are not"
57 elog "designed to run outside their source tree, so may or may not work as"
58 elog "intended."
59 fi
60 }

  ViewVC Help
Powered by ViewVC 1.1.20