diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-07-24 11:13:18 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-07-24 11:13:18 +0000 |
commit | 6e51034fafd8ecb5e040573fc64b315a562bc8b2 (patch) | |
tree | b4ef0c519a60443b9d6c2e552542d82f30074b47 /media-libs/libdca | |
parent | old (diff) | |
download | gentoo-2-6e51034fafd8ecb5e040573fc64b315a562bc8b2.tar.gz gentoo-2-6e51034fafd8ecb5e040573fc64b315a562bc8b2.tar.bz2 gentoo-2-6e51034fafd8ecb5e040573fc64b315a562bc8b2.zip |
append-lfs-flags wrt #328875 by Richard C.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libdca')
-rw-r--r-- | media-libs/libdca/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/libdca/libdca-0.0.5-r2.ebuild | 39 |
2 files changed, 29 insertions, 16 deletions
diff --git a/media-libs/libdca/ChangeLog b/media-libs/libdca/ChangeLog index 62744f49e770..93943792355b 100644 --- a/media-libs/libdca/ChangeLog +++ b/media-libs/libdca/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libdca # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libdca/ChangeLog,v 1.28 2010/01/15 09:31:51 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdca/ChangeLog,v 1.29 2010/07/24 11:13:18 ssuominen Exp $ + + 24 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> + libdca-0.0.5-r2.ebuild: + append-lfs-flags wrt #328875 by Richard C. 15 Jan 2010; Christian Faulhammer <fauli@gentoo.org> libdca-0.0.5-r2.ebuild: diff --git a/media-libs/libdca/libdca-0.0.5-r2.ebuild b/media-libs/libdca/libdca-0.0.5-r2.ebuild index aceda4d4d97e..47c581650147 100644 --- a/media-libs/libdca/libdca-0.0.5-r2.ebuild +++ b/media-libs/libdca/libdca-0.0.5-r2.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libdca/libdca-0.0.5-r2.ebuild,v 1.9 2010/01/15 09:31:51 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdca/libdca-0.0.5-r2.ebuild,v 1.10 2010/07/24 11:13:18 ssuominen Exp $ -inherit autotools base +EAPI=3 +inherit autotools eutils flag-o-matic DESCRIPTION="library for decoding DTS Coherent Acoustics streams used in DVD" HOMEPAGE="http://www.videolan.org/developers/libdca.html" @@ -12,29 +13,37 @@ SRC_URI="http://www.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2 LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" -IUSE="oss debug" +IUSE="debug oss static-libs" RDEPEND="!media-libs/libdts" +DEPEND="${RDEPEND}" -DOCS="AUTHORS ChangeLog NEWS README TODO doc/${PN}.txt" +src_prepare() { + epatch "${FILESDIR}"/${P}-cflags.patch \ + "${FILESDIR}"/${P}-tests-optional.patch \ + "${WORKDIR}"/${P}-constant.patch -PATCHES=( "${FILESDIR}"/${P}-cflags.patch - "${FILESDIR}"/${P}-tests-optional.patch - "${DISTDIR}"/${P}-constant.patch.bz2 ) - -src_unpack() { - base_src_unpack - cd "${S}" eautoreconf } -src_compile() { - econf $(use_enable oss) $(use_enable debug) +src_configure() { + append-lfs-flags #328875 + + econf \ + --disable-dependency-tracking \ + $(use_enable debug) \ + $(use_enable static-libs static) \ + $(use_enable oss) +} - emake OPT_CFLAGS="" || die "emake failed." +src_compile() { + emake OPT_CFLAGS="" || die } src_install() { - emake DESTDIR="${D}" install || die "emake install failed." + emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog NEWS README TODO doc/${PN}.txt + + find "${ED}" -name '*.la' -delete + use static-libs || rm -f "${ED}"/usr/$(get_libdir)/libdts.a } |