summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-09-09 17:58:55 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-09-09 17:58:55 +0000
commitf3ed8d272477921c523dcc5f2e165eb2380c64bc (patch)
tree2bc03efc3e7a3eca988781f963c187bdb852da50 /media-libs/libdv
parentMigrate to bash-completion-r1. (diff)
downloadgentoo-2-f3ed8d272477921c523dcc5f2e165eb2380c64bc.tar.gz
gentoo-2-f3ed8d272477921c523dcc5f2e165eb2380c64bc.tar.bz2
gentoo-2-f3ed8d272477921c523dcc5f2e165eb2380c64bc.zip
Make static library optional and remove libtool archive. Move to eapi4.
(Portage version: 2.2.0_alpha54/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libdv')
-rw-r--r--media-libs/libdv/ChangeLog7
-rw-r--r--media-libs/libdv/libdv-1.0.0-r2.ebuild31
2 files changed, 22 insertions, 16 deletions
diff --git a/media-libs/libdv/ChangeLog b/media-libs/libdv/ChangeLog
index d5984c64407b..1fd4021137bf 100644
--- a/media-libs/libdv/ChangeLog
+++ b/media-libs/libdv/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/libdv
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/ChangeLog,v 1.81 2008/01/03 14:02:26 aballier Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/ChangeLog,v 1.82 2011/09/09 17:58:55 scarabeus Exp $
+
+ 09 Sep 2011; Tomáš Chvátal <scarabeus@gentoo.org> libdv-1.0.0-r2.ebuild:
+ Make static library optional and remove libtool archive. Move to eapi4.
03 Jan 2008; Alexis Ballier <aballier@gentoo.org> libdv-1.0.0-r2.ebuild:
Keyword ~x86-fbsd, working fine here
diff --git a/media-libs/libdv/libdv-1.0.0-r2.ebuild b/media-libs/libdv/libdv-1.0.0-r2.ebuild
index dd1e5c806b7e..66907b682230 100644
--- a/media-libs/libdv/libdv-1.0.0-r2.ebuild
+++ b/media-libs/libdv/libdv-1.0.0-r2.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/libdv-1.0.0-r2.ebuild,v 1.10 2008/01/03 14:02:26 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdv/libdv-1.0.0-r2.ebuild,v 1.11 2011/09/09 17:58:55 scarabeus Exp $
-inherit eutils flag-o-matic libtool
+EAPI=4
+
+inherit eutils libtool
DESCRIPTION="Software codec for dv-format video (camcorders etc)"
HOMEPAGE="http://libdv.sourceforge.net/"
@@ -12,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="debug sdl xv"
+IUSE="debug sdl static-libs xv"
RDEPEND="dev-libs/popt
sdl? ( >=media-libs/libsdl-1.2.5 )
@@ -20,26 +22,27 @@ RDEPEND="dev-libs/popt
DEPEND="${RDEPEND}
dev-util/pkgconfig"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+DOCS=( AUTHORS ChangeLog INSTALL NEWS TODO )
+
+src_prepare() {
epatch "${FILESDIR}"/${PN}-0.99-2.6.patch
epatch "${WORKDIR}"/${PN}-1.0.0-pic.patch
elibtoolize
epunt_cxx #74497
}
-src_compile() {
+src_configure() {
econf \
+ $(use_enable static-libs static)
$(use_with debug) \
- --disable-gtk --disable-gtktest \
+ --disable-gtk \
+ --disable-gtktest \
$(use_enable sdl) \
- $(use_enable xv) \
- || die "econf failed."
- emake || die "emake failed."
+ $(use_enable xv)
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed."
- dodoc AUTHORS ChangeLog INSTALL NEWS README* TODO
+ default
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
}