diff options
author | Jonathan Callen <abcd@gentoo.org> | 2010-05-24 01:26:57 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2010-05-24 01:26:57 +0000 |
commit | 3483cd26e59fbcdb3114e7a277cb91fb4e42bacc (patch) | |
tree | 68b4f2754a8ff927130e9701948d10c986e67bbf /media-sound/alsa-headers | |
parent | Remove old version. (diff) | |
download | gentoo-2-3483cd26e59fbcdb3114e7a277cb91fb4e42bacc.tar.gz gentoo-2-3483cd26e59fbcdb3114e7a277cb91fb4e42bacc.tar.bz2 gentoo-2-3483cd26e59fbcdb3114e7a277cb91fb4e42bacc.zip |
Bump to EAPI=3, add prefix keywords, use base.eclass to apply patches (bug 318185)
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'media-sound/alsa-headers')
-rw-r--r-- | media-sound/alsa-headers/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/alsa-headers/alsa-headers-1.0.23.ebuild | 23 |
2 files changed, 17 insertions, 12 deletions
diff --git a/media-sound/alsa-headers/ChangeLog b/media-sound/alsa-headers/ChangeLog index c2886a53a9ae..77b076878a07 100644 --- a/media-sound/alsa-headers/ChangeLog +++ b/media-sound/alsa-headers/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/alsa-headers # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/ChangeLog,v 1.196 2010/04/16 22:12:06 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/ChangeLog,v 1.197 2010/05/24 01:26:57 abcd Exp $ + + 24 May 2010; Jonathan Callen <abcd@gentoo.org> alsa-headers-1.0.23.ebuild: + Bump to EAPI=3, add prefix keywords, use base.eclass to apply patches (bug + 318185) *alsa-headers-1.0.23 (16 Apr 2010) diff --git a/media-sound/alsa-headers/alsa-headers-1.0.23.ebuild b/media-sound/alsa-headers/alsa-headers-1.0.23.ebuild index 328f841af1ef..e7ee3a2e4ece 100644 --- a/media-sound/alsa-headers/alsa-headers-1.0.23.ebuild +++ b/media-sound/alsa-headers/alsa-headers-1.0.23.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/alsa-headers-1.0.23.ebuild,v 1.1 2010/04/16 22:12:06 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/alsa-headers-1.0.23.ebuild,v 1.2 2010/05/24 01:26:57 abcd Exp $ -inherit eutils +EAPI="3" + +inherit base MY_PN=${PN/headers/driver} MY_P="${MY_PN}-${PV/_rc/rc}" @@ -14,7 +16,7 @@ SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="" DEPEND="" @@ -22,19 +24,18 @@ RDEPEND="" RESTRICT="binchecks strip" +PATCHES=( + "${FILESDIR}/${PN}-1.0.6a-user.patch" +) + # Remove the sound symlink workaround... pkg_setup() { - if [[ -L "${ROOT}/usr/include/sound" ]]; then - rm "${ROOT}/usr/include/sound" + if [[ -L ${EROOT}usr/include/sound ]]; then + rm "${EROOT}usr/include/sound" fi } -src_unpack() { - unpack ${A} - - cd "${S}" - epatch "${FILESDIR}/${PN}-1.0.6a-user.patch" -} +src_configure() { :; } src_compile() { :; } |