summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2014-03-28 06:44:56 +0000
committerAlexis Ballier <aballier@gentoo.org>2014-03-28 06:44:56 +0000
commitdeedc034d9a7089bdd8afac97b84437fdb9e437b (patch)
treec4d6770c3089fab0b4f38455550a1751e0f097ed /media-libs
parentbump to 2.2 (diff)
downloadgentoo-2-deedc034d9a7089bdd8afac97b84437fdb9e437b.tar.gz
gentoo-2-deedc034d9a7089bdd8afac97b84437fdb9e437b.tar.bz2
gentoo-2-deedc034d9a7089bdd8afac97b84437fdb9e437b.zip
convert to multilib
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/zvbi/ChangeLog7
-rw-r--r--media-libs/zvbi/zvbi-0.2.35-r1.ebuild51
2 files changed, 57 insertions, 1 deletions
diff --git a/media-libs/zvbi/ChangeLog b/media-libs/zvbi/ChangeLog
index e7371efb9514..f2d62ddc745c 100644
--- a/media-libs/zvbi/ChangeLog
+++ b/media-libs/zvbi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/zvbi
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/zvbi/ChangeLog,v 1.58 2014/01/26 12:16:06 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/zvbi/ChangeLog,v 1.59 2014/03/28 06:44:56 aballier Exp $
+
+*zvbi-0.2.35-r1 (28 Mar 2014)
+
+ 28 Mar 2014; Alexis Ballier <aballier@gentoo.org> +zvbi-0.2.35-r1.ebuild:
+ convert to multilib
26 Jan 2014; Agostino Sarubbo <ago@gentoo.org> zvbi-0.2.35.ebuild:
Stable for sparc, wrt bug #495752
diff --git a/media-libs/zvbi/zvbi-0.2.35-r1.ebuild b/media-libs/zvbi/zvbi-0.2.35-r1.ebuild
new file mode 100644
index 000000000000..28e936e953cd
--- /dev/null
+++ b/media-libs/zvbi/zvbi-0.2.35-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/zvbi/zvbi-0.2.35-r1.ebuild,v 1.1 2014/03/28 06:44:56 aballier Exp $
+
+EAPI=5
+inherit eutils libtool multilib-minimal
+
+DESCRIPTION="VBI Decoding Library for Zapping"
+SRC_URI="mirror://sourceforge/zapping/${P}.tar.bz2"
+HOMEPAGE="http://zapping.sourceforge.net"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="doc dvb nls static-libs v4l X"
+
+RDEPEND=">=media-libs/libpng-1.4[${MULTILIB_USEDEP}]
+ sys-libs/zlib[${MULTILIB_USEDEP}]
+ nls? ( virtual/libintl[${MULTILIB_USEDEP}] )
+ X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+ virtual/os-headers
+ doc? ( app-doc/doxygen )
+ nls? ( sys-devel/gettext )
+ X? ( x11-libs/libXt )"
+
+src_prepare() {
+ elibtoolize
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable static-libs static) \
+ $(use_enable v4l) \
+ $(use_enable dvb) \
+ $(use_enable nls) \
+ $(use_with X x) \
+ $(multilib_is_native_abi && use_with doc doxygen || echo "--without-doxygen")
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+
+ multilib_is_native_abi && use doc && dohtml -a png,gif,html,css doc/html/*
+}
+
+multilib_src_install_all() {
+ dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+
+ find "${D}" -name '*.la' -delete
+}