diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-11 22:25:58 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-11 22:25:58 +0000 |
commit | 1d02ff3e249b8d2c8e504d2c7e2429987d088ef8 (patch) | |
tree | b49b9306fec4f9abcfeab13ea7e17c44fe487716 /media-libs/libifp | |
parent | New version for GNOME 2.26. Drop libgnome/libgnomeui dependencies, support fo... (diff) | |
download | historical-1d02ff3e249b8d2c8e504d2c7e2429987d088ef8.tar.gz historical-1d02ff3e249b8d2c8e504d2c7e2429987d088ef8.tar.bz2 historical-1d02ff3e249b8d2c8e504d2c7e2429987d088ef8.zip |
Respect CFLAGS and CXXFLAGS wrt #240814, thanks to Diego E. Pettenò.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'media-libs/libifp')
-rw-r--r-- | media-libs/libifp/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/libifp/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libifp/libifp-1.0.0.2.ebuild | 29 |
3 files changed, 24 insertions, 16 deletions
diff --git a/media-libs/libifp/ChangeLog b/media-libs/libifp/ChangeLog index b283ebeaf59a..a506af5ab870 100644 --- a/media-libs/libifp/ChangeLog +++ b/media-libs/libifp/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/libifp -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libifp/ChangeLog,v 1.10 2007/02/22 01:55:21 peper Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libifp/ChangeLog,v 1.11 2009/05/11 22:25:58 ssuominen Exp $ + + 11 May 2009; Samuli Suominen <ssuominen@gentoo.org> libifp-1.0.0.2.ebuild: + Respect CFLAGS and CXXFLAGS wrt #240814, thanks to Diego E. Pettenò. 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: Transition to Manifest2. diff --git a/media-libs/libifp/Manifest b/media-libs/libifp/Manifest index 9a1a4c5395a2..44666a1ea897 100644 --- a/media-libs/libifp/Manifest +++ b/media-libs/libifp/Manifest @@ -1,4 +1,4 @@ DIST libifp-1.0.0.2.tar.gz 358550 RMD160 09c1d09eeaa8c6b092dd7e22e1229f84c7a2790c SHA1 3bd2808f8b5fce9234764b84bc6f65d666381086 SHA256 3b8fa50b9425b660285484eb42bad3f736f0aecc6a790c5160da276558ebfcee -EBUILD libifp-1.0.0.2.ebuild 1366 RMD160 904d84fd4d4d196c50d0c60f5829b255ed9a1b39 SHA1 6281eeb9ec3ad2fc874ee074ef4ca466c64b5a9f SHA256 654f623294001d379373063d22b5cb0ef4193b17851a4fa5206c9f5b9ec56097 -MISC ChangeLog 1460 RMD160 39a7efdfb871a2e707826781b78bbb347de9cd10 SHA1 935c7a240058eab9f8be36c17cfcf6affa102371 SHA256 2638ddd9a76ab969a9637fafb05352a1d91e7628bbe9eb42be439674fd908028 +EBUILD libifp-1.0.0.2.ebuild 1457 RMD160 d64baaef9797817635e5dc0c79f8a9817a0affe2 SHA1 66d5c07fd912080f622298d7fdec5163d46da6a7 SHA256 a67ecaec7a7c1afe88af155136092dcb0774f21623d30184d1981dc0c6f4ac11 +MISC ChangeLog 1614 RMD160 7a7c4a7d46d7b657e65d724ccf0efd6ce592f89b SHA1 bd6c6daec093e12c86bb0c354de0c1133d4c3d3b SHA256 d54828d6b82c3133cde6b34fcd69fa16760c8c0e0c956c83e1ee02ccc2d4f612 MISC metadata.xml 473 RMD160 725527f90df5a46fccf10df7e8181bf4cf7e09bf SHA1 7547148cbd7333f1c73694bc8e46965c5d1f814d SHA256 00f5154fe5be1dd160342daf3d69b89d72e3d31eefee3515bff24a73a9c9253f diff --git a/media-libs/libifp/libifp-1.0.0.2.ebuild b/media-libs/libifp/libifp-1.0.0.2.ebuild index c15816ce12d4..efd473a3319b 100644 --- a/media-libs/libifp/libifp-1.0.0.2.ebuild +++ b/media-libs/libifp/libifp-1.0.0.2.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libifp/libifp-1.0.0.2.ebuild,v 1.9 2006/07/18 17:34:31 tsunam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libifp/libifp-1.0.0.2.ebuild,v 1.10 2009/05/11 22:25:58 ssuominen Exp $ + +EAPI=2 DESCRIPTION="A general-purpose library-driver for iRiver's iFP portable audio players." HOMEPAGE="http://ifp-driver.sourceforge.net/libifp/" @@ -11,15 +13,21 @@ SLOT="0" KEYWORDS="amd64 ~ia64 ppc ppc64 x86" IUSE="doc examples module" -DEPEND=">=dev-libs/libusb-0.1.0 - doc? ( >=app-doc/doxygen-1.3.7 )" - -RDEPEND=">=dev-libs/libusb-0.1.0 +RDEPEND=">=dev-libs/libusb-0.1 module? ( kernel_linux? ( ~media-sound/libifp-module-${PV} ) )" +DEPEND="${RDEPEND} + doc? ( >=app-doc/doxygen-1.3.7 ) + sys-apps/sed" + +src_prepare() { + sed -e '/CFLAGS=/s:-g -O2:${CFLAGS}:' \ + -e '/CXXFLAGS=/s:-g -O2:${CXXFLAGS}:' \ + -i configure || die "sed failed" +} -src_compile() { +src_configure() { # hack to prevent docs from building use doc || DOCS="have_doxygen=no" @@ -27,14 +35,11 @@ src_compile() { --with-libusb \ --with-libifp \ --without-kmodule \ - $(use_enable examples) \ - || die "configure failed" - - emake || die "emake failed" + $(use_enable examples) } src_install() { - make install DESTDIR="${D}" || die "make install failed" + emake DESTDIR="${D}" install || die "emake install failed" # clean /usr/bin after installation # by moving examples to examples dir |