diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-08-29 21:50:30 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-08-29 21:50:30 +0000 |
commit | 6bceef3e61dc7df71b5688c0e4a03a3150243727 (patch) | |
tree | 3fcd8d7c6e9dd8f8db055fd34cbcdb11bc749449 /media-libs/libdvdcss/libdvdcss-1.2.10.ebuild | |
parent | amd64/x86 stable, bug #209540 (diff) | |
download | gentoo-2-6bceef3e61dc7df71b5688c0e4a03a3150243727.tar.gz gentoo-2-6bceef3e61dc7df71b5688c0e4a03a3150243727.tar.bz2 gentoo-2-6bceef3e61dc7df71b5688c0e4a03a3150243727.zip |
version bump
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64)
Diffstat (limited to 'media-libs/libdvdcss/libdvdcss-1.2.10.ebuild')
-rw-r--r-- | media-libs/libdvdcss/libdvdcss-1.2.10.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/media-libs/libdvdcss/libdvdcss-1.2.10.ebuild b/media-libs/libdvdcss/libdvdcss-1.2.10.ebuild new file mode 100644 index 000000000000..f0eb814fbc2e --- /dev/null +++ b/media-libs/libdvdcss/libdvdcss-1.2.10.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdcss/libdvdcss-1.2.10.ebuild,v 1.1 2008/08/29 21:50:30 aballier Exp $ + +inherit eutils autotools + +DESCRIPTION="A portable abstraction library for DVD decryption" +HOMEPAGE="http://www.videolan.org/developers/libdvdcss.html" +SRC_URI="http://www.videolan.org/pub/${PN}/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="1.2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="doc" + +DEPEND="doc? ( app-doc/doxygen )" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \ + "${S}"/test/Makefile.am \ + || die "unable to disable tests building" + + eautoreconf +} + +src_compile() { + # See bug #98854, requires access to fonts cache for TeX + # No need to use addwrite, just set TeX font cache in the sandbox + use doc && export VARTEXFONTS="${T}/fonts" + + econf \ + --enable-static --enable-shared \ + $(use_enable doc) \ + --disable-dependency-tracking || die + emake || die +} + +src_install() { + emake install DESTDIR="${D}" || die + + dodoc AUTHORS ChangeLog NEWS README + use doc && dohtml doc/html/* + use doc && dodoc doc/latex/refman.ps +} |