diff options
author | 2011-05-30 16:28:40 +0200 | |
---|---|---|
committer | 2011-05-30 16:28:40 +0200 | |
commit | 2bece0a67df10db3619179861a711162ea5f7e29 (patch) | |
tree | 6645bc13e87bf029fcddb86de7ad1dbbfd355298 /dev-util | |
parent | kdenlive-0.8.ebuild (diff) | |
download | aluco-2bece0a67df10db3619179861a711162ea5f7e29.tar.gz aluco-2bece0a67df10db3619179861a711162ea5f7e29.tar.bz2 aluco-2bece0a67df10db3619179861a711162ea5f7e29.zip |
+apitrace-1.0-r1.ebuild
Add cmake-utils eclass.
Remove slot.
Fix dependencies.
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/apitrace/Manifest | 1 | ||||
-rw-r--r-- | dev-util/apitrace/apitrace-1.0-r1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-util/apitrace/Manifest b/dev-util/apitrace/Manifest index 401b9cc..bf58a5f 100644 --- a/dev-util/apitrace/Manifest +++ b/dev-util/apitrace/Manifest @@ -1,2 +1,3 @@ DIST apitrace-apitrace-1.0-0-g5f03103.tar.gz 770989 RMD160 202d9e215779204fd5d7b69b231293cc16864e57 SHA1 289b7b66e9daf7d25aebd9b7ed1d28a0e6f8a79a SHA256 5747e9b9cc39854d32e6100212c55f228ab41577b18f61e70f21b7a410c8e0fc +EBUILD apitrace-1.0-r1.ebuild 1468 RMD160 b7c1759bf63dd1d7e5525de07d3ac081e062f190 SHA1 38a14913752151220a5f22f882a89fa17d963d7a SHA256 56587c9897119c5a064c575a4fcd9c9f07e7372cb1f1f6ae5b1c0b9788bf04f6 EBUILD apitrace-1.0.ebuild 1126 RMD160 f091cf7f779c68ab82cbf001fdf5645de74fd145 SHA1 a0411c2a3d5b22150cfaae37fafa6d442318d8c1 SHA256 cbde25585b5ef0c30db2612ab6a0b0ce0da2b2662ae041f97532fb8f46d2ea26 diff --git a/dev-util/apitrace/apitrace-1.0-r1.ebuild b/dev-util/apitrace/apitrace-1.0-r1.ebuild new file mode 100644 index 0000000..d3035ca --- /dev/null +++ b/dev-util/apitrace/apitrace-1.0-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 +PYTHON_DEPEND="python? 2:2.7" +inherit eutils cmake-utils multilib python + +DESCRIPTION="A powerful utility to debug OpenGL and Direct3D graphics applications and drivers, and easily capture the graphics API calls, analyze them and playback traces" +HOMEPAGE="https://github.com/apitrace/apitrace" +SRC_URI="https://github.com/apitrace/apitrace/tarball/${PV}/apitrace-${P}-0-g5f03103.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="python qt4" + +DEPEND="qt4? ( =x11-libs/qt-gui-4.7* + >=dev-libs/qjson-0.7.1 )" + +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-${PN}-5f03103" + +pkg_setup() { + python_set_active_version 2 +} + +src_configure() { + #use multilib && cmake -H. -Bbuild32 -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32 -DCMAKE_LINK_FLAGS=-m32 -DCMAKE_INSTALL_LIBDIR=lib32 + + #local mycmakeargs="${mycmakeargs} + # $(cmake-utils_use qt4 APITRACE_BUILD_GUI)" + + cmake-utils_src_configure +} + +#src_compile() { +# use multilib && make -C build32 glxtrace +# +# make -C build +#} + +src_install() { + dodoc README TODO || die + + exeinto /usr/bin || die + doexe ${CMAKE_BUILD_DIR}/glretrace || die + doexe ${CMAKE_BUILD_DIR}/tracedump || die + if use qt4 ; then + doexe ${CMAKE_BUILD_DIR}/qapitrace || die + fi + + dolib.so ${CMAKE_BUILD_DIR}/glxtrace.so || die + dolib.a ${CMAKE_BUILD_DIR}/libtrace.a || die + #use multilib && dolib.so build32/glxtrace.so +} |