aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libgdev/ChangeLog8
-rw-r--r--dev-libs/libgdev/libgdev-9999.ebuild28
-rw-r--r--dev-libs/libgdev/metadata.xml8
3 files changed, 20 insertions, 24 deletions
diff --git a/dev-libs/libgdev/ChangeLog b/dev-libs/libgdev/ChangeLog
index 031ee7c4c..bba9675f2 100644
--- a/dev-libs/libgdev/ChangeLog
+++ b/dev-libs/libgdev/ChangeLog
@@ -1,7 +1,11 @@
-# ChangeLog for dev-util/libgdev
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# ChangeLog for dev-libs/libgdev
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 06 Jan 2014; Justin Lecher <jlec@gentoo.org> libgdev-9999.ebuild,
+ metadata.xml:
+ Punt base.eclass; add missing die; drop nneeded patches
+
*libgdev-9999 (15 Nov 2012)
15 Nov 2012; Alexey Shvetsov <alexxy@gentoo.org>
diff --git a/dev-libs/libgdev/libgdev-9999.ebuild b/dev-libs/libgdev/libgdev-9999.ebuild
index 7c047e6ae..0bc786172 100644
--- a/dev-libs/libgdev/libgdev-9999.ebuild
+++ b/dev-libs/libgdev/libgdev-9999.ebuild
@@ -1,12 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
-EGIT_PROJECT="gdev"
-
-inherit base git-2
+inherit git-r3 toolchain-funcs
DESCRIPTION="Gdev is open-source GPGPU runtime"
HOMEPAGE="https://github.com/shinpei0208/gdev"
@@ -27,27 +25,21 @@ DEPEND="
virtual/pkgconfig
${RDEPEND}"
-PATCHES=( "${FILESDIR}/0001-Fix-detection-of-nouveau-in-case-its-builtin.patch"
- "${FILESDIR}/0002-Fix-install-target-for-gdev-lib-userspace.patch"
- "${FILESDIR}/0003-Fix-install-target-for-gdev-lib-userspace-part2.patch"
- "${FILESDIR}/0004-Respect-extra-CFLAGS-and-LDFLAGS.patch"
- )
-
src_configure() {
- cd lib
- mkdir build
- cd build
- ../configure --target=user
+ cd lib || die
+ mkdir build || die
+ cd build || die
+ ../configure --target=user || die
}
src_compile() {
- cd lib/build
+ cd lib/build || die
emake \
- EXTRA_CFLAGS="$(pkg-config --cflags-only-I libdrm)" \
- EXTRA_LIBS="$(pkg-config --libs libdrm_nouveau)"
+ EXTRA_CFLAGS="$($(tc-getPKG_CONFIG) --cflags-only-I libdrm)" \
+ EXTRA_LIBS="$($(tc-getPKG_CONFIG) --libs libdrm_nouveau)"
}
src_install() {
- cd lib/build
+ cd lib/build || die
emake GDEVDIR="${EPREFIX}/usr" DESTDIR="${D}" install
}
diff --git a/dev-libs/libgdev/metadata.xml b/dev-libs/libgdev/metadata.xml
index 247f45889..f233055c0 100644
--- a/dev-libs/libgdev/metadata.xml
+++ b/dev-libs/libgdev/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer>
- <email>alexxy@gentoo.org</email>
- <name>Alexey Shvetsov</name>
- </maintainer>
+ <maintainer>
+ <email>alexxy@gentoo.org</email>
+ <name>Alexey Shvetsov</name>
+ </maintainer>
</pkgmetadata>