add x11-drm
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@719 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
2
x11-apps/drm-progs/Manifest
Normal file
2
x11-apps/drm-progs/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST drm-progs-99999999-use-system-libdrm.patch.bz2 1932 RMD160 521c875b29902cc58e0e36e539c16df7f938f6dc SHA1 b9327b1d3e657dbdb9e22378f5be92f5afc64498 SHA256 e1bb96ae5df54b39c9494af265a3a5d58f36c44b8036033344b41de8e3966dda
|
||||
EBUILD drm-progs-99999999.ebuild 991 RMD160 9352e60b491f22c8a80fa58f510f13720115b5d9 SHA1 b8d0c70b0277b8df50a5da22dc60df644840fd9a SHA256 755456929fc86f7ac8ee52ec4991d0fbb22a22cdc67dbc645893f5b60bbddfe0
|
||||
48
x11-apps/drm-progs/drm-progs-99999999.ebuild
Normal file
48
x11-apps/drm-progs/drm-progs-99999999.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
|
||||
|
||||
inherit eutils autotools git
|
||||
|
||||
DESCRIPTION="X11 DRM utilities and test programs"
|
||||
HOMEPAGE="http://dri.freedesktop.org/wiki/"
|
||||
SRC_URI="http://dev.gentoo.org/~battousai/distfiles/${P}-use-system-libdrm.patch.bz2"
|
||||
|
||||
LICENSE="X11"
|
||||
SLOT="0"
|
||||
|
||||
# Keywords inherited from x11-drm ebuild, where these used to be.
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86 ~x86-fbsd"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="x11-libs/libdrm"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
#S="${WORKDIR}/${P}"
|
||||
|
||||
src_unpack() {
|
||||
git_src_unpack
|
||||
|
||||
cd "${WORKDIR}"
|
||||
unpack ${P}-use-system-libdrm.patch.bz2
|
||||
|
||||
cd "${S}"
|
||||
epatch "${WORKDIR}"/${P}-use-system-libdrm.patch
|
||||
|
||||
eautoreconf -v --install
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf || die "econf failed"
|
||||
|
||||
cd "${S}"/tests
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/tests
|
||||
dobin dristat drmstat modeprint/modeprint modetest/modetest || die
|
||||
}
|
||||
Reference in New Issue
Block a user