# ChangeLog for media-video/dirac
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/dirac/ChangeLog,v 1.39 2011/10/05 18:56:00 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/dirac/ChangeLog,v 1.40 2011/10/10 21:01:10 ssuominen Exp $
+
+ 10 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> dirac-1.0.2.ebuild:
+ USE="static-libs" and remove useless libtool files.
05 Oct 2011; Alexis Ballier <aballier@gentoo.org> dirac-1.0.2.ebuild:
remove ptex dep as it is going away
AUX dirac-0.5.2-doc.patch 2304 RMD160 819dd71f91d29e2dde5f4910ba66035c175637e2 SHA1 86d85c55b1a5afb9f1e531f127fb4167b44c06bd SHA256 48d18f815991833bc39239ec5029c047739133d4e6b167c6a5652d7714b79cf7
DIST dirac-1.0.2.tar.gz 918366 RMD160 0af65c4216230b5418667081cecb7bdcdc853d2e SHA1 895aaad832a54b754e58f77c87d38c0c37752b0b SHA256 816b16f18d235ff8ccd40d95fc5b4fad61ae47583e86607932929d70bf1f00fd
-EBUILD dirac-1.0.2.ebuild 1233 RMD160 91799fec4a2d4eff290c704009180f5182e09daa SHA1 d87e912e25eb0d56e278eb2830fa35673e2c8b9f SHA256 b52e9a84dd20f6ae202871ee80f9918c924d7f6529f6cdc161c791e14d8943a7
-MISC ChangeLog 4725 RMD160 b5f59341372b9c1c84918b57f66f7e1a279808a3 SHA1 23cd0bcee8425308507dde0d981ddb6e6554a551 SHA256 91893001c54c20e91e5a22bdc1af27f48f725e9b4dda03009b1bedc18487f559
+EBUILD dirac-1.0.2.ebuild 1194 RMD160 10b16b8e8014188cbdaa0bb94d5aa51587925a21 SHA1 e753f1cd277b13bec337f09407bf8f27f980fe7a SHA256 3cf7a75b6295160ee1f47f6e813ff4b1b66a0afad49f486e4f6cbc97e30219a7
+MISC ChangeLog 4855 RMD160 e27136cb4d3b26895d67cf2f70fe8a30380e41e8 SHA1 0f567f52e8b46deb6206566e2abfc0cf1206e314 SHA256 60100e4237fa990cf25775495186fa57a578f59ccff42800cb69492dd79dce03
MISC metadata.xml 223 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 SHA1 ea8c387229caaf4b0d3c9fbef9143b70dcae0b0d SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk6MqEUACgkQvFcC4BYPU0qMIgCfbvJyjCg9652FfdX3cptAbdiQ
-tgYAn28qZ9X/7hkUJzfyxf1FVKSPwrkY
-=Y9jx
+iQEcBAEBAgAGBQJOk10oAAoJEEdUh39IaPFNEzAIAIgYfxJCVSylejO1H91ekFXd
+S1Nmb2DWBlfmcm1nEf3vZUUM+K/r6dETAKMI4oTrjZKzOuOQFff9BDK9qIJaCZgh
+DcB65q0ljpBnWakJJ3CWKDtojO88/3GnrDLC2Mie7VcE9na36ImV+/cuYCjhb7w9
+ROUxHpxzOWMq1Lx5+2zxrzFJV3cEWBWgj5bfrhJC1QJERPs/p+7VxmjvOux6vkKD
+JSaOAxN6RyVKNc/S/QzeAj+wsQIoyWkrmJ0mjlN/vSL5FXFXuFbAX95nrfw18AmW
+1QVD5DboywOguzbRowDrxwS5CxXB9br/nWgcjb38EJoMyO+La91/6Hpb28+EQWk=
+=k1i0
-----END PGP SIGNATURE-----
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/dirac/dirac-1.0.2.ebuild,v 1.9 2011/10/05 18:56:00 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/dirac/dirac-1.0.2.ebuild,v 1.10 2011/10/10 21:01:10 ssuominen Exp $
-WANT_AUTOCONF="latest"
-WANT_AUTOMAKE="latest"
-
-inherit eutils autotools
+EAPI=4
+inherit autotools eutils
DESCRIPTION="Open Source video codec"
HOMEPAGE="http://dirac.sourceforge.net/"
LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="mmx debug doc"
+IUSE="debug doc mmx static-libs"
-DEPEND="doc? ( app-doc/doxygen
- virtual/latex-base
- media-gfx/graphviz
- app-text/dvipdfm
- )"
RDEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-0.5.2-doc.patch"
-
+DEPEND="
+ doc? (
+ app-doc/doxygen
+ virtual/latex-base
+ media-gfx/graphviz
+ app-text/dvipdfm
+ )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.5.2-doc.patch
AT_M4DIR="m4" eautoreconf
}
-src_compile() {
+src_configure() {
+ export VARTEXFONTS="${T}/fonts"
+
econf \
+ $(use_enable static-libs static) \
$(use_enable mmx) \
$(use_enable debug) \
- $(use_enable doc) \
- || die "econf failed"
-
- VARTEXFONTS="${T}/fonts" emake || die "emake failed"
+ $(use_enable doc)
}
src_install() {
- emake DESTDIR="${D}" \
- htmldir="/usr/share/doc/${PF}/html" \
- latexdir="/usr/share/doc/${PF}/programmers" \
- algodir="/usr/share/doc/${PF}/algorithm" \
- faqdir="/usr/share/doc/${PF}" \
- install || die "emake install failed"
-
- dodoc README AUTHORS NEWS TODO ChangeLog
+ emake \
+ DESTDIR="${D}" \
+ htmldir=/usr/share/doc/${PF}/html \
+ latexdir=/usr/share/doc/${PF}/programmers \
+ algodir=/usr/share/doc/${PF}/algorithm \
+ faqdir=/usr/share/doc/${PF} \
+ install
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+
+ find "${ED}"usr -name '*.la' -exec rm -f {} +
}