summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-07-30 12:48:06 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-07-30 12:48:06 +0000
commit5cce95fe66a8559f5da1dea833f4ba6511eb97e9 (patch)
treeb09259f36654ceebcebb6a6adbd48f5fd77dcfd6
parentrevbump wrt #477448, don't overwrite distutils-r1_src_prepare (diff)
downloadgentoo-2-5cce95fe66a8559f5da1dea833f4ba6511eb97e9.tar.gz
gentoo-2-5cce95fe66a8559f5da1dea833f4ba6511eb97e9.tar.bz2
gentoo-2-5cce95fe66a8559f5da1dea833f4ba6511eb97e9.zip
Migrate to multilib, modernize -9999 ebuild and slat it for medialibs-r5.
(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
-rw-r--r--media-libs/libdvdread/ChangeLog10
-rw-r--r--media-libs/libdvdread/libdvdread-4.2.0-r1.ebuild47
-rw-r--r--media-libs/libdvdread/libdvdread-9999.ebuild49
3 files changed, 87 insertions, 19 deletions
diff --git a/media-libs/libdvdread/ChangeLog b/media-libs/libdvdread/ChangeLog
index 8a846e895dd4..a20805e93d3b 100644
--- a/media-libs/libdvdread/ChangeLog
+++ b/media-libs/libdvdread/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libdvdread
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdread/ChangeLog,v 1.87 2012/07/26 20:09:07 grobian Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdread/ChangeLog,v 1.88 2013/07/30 12:48:06 aballier Exp $
+
+*libdvdread-4.2.0-r1 (30 Jul 2013)
+
+ 30 Jul 2013; Alexis Ballier <aballier@gentoo.org>
+ +libdvdread-4.2.0-r1.ebuild, libdvdread-9999.ebuild:
+ Migrate to multilib, modernize -9999 ebuild and slat it for medialibs-r5.
26 Jul 2012; Fabian Groffen <grobian@gentoo.org> libdvdread-4.2.0.ebuild:
Marked ~x64-macos
diff --git a/media-libs/libdvdread/libdvdread-4.2.0-r1.ebuild b/media-libs/libdvdread/libdvdread-4.2.0-r1.ebuild
new file mode 100644
index 000000000000..67e97c7b18e6
--- /dev/null
+++ b/media-libs/libdvdread/libdvdread-4.2.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdread/libdvdread-4.2.0-r1.ebuild,v 1.1 2013/07/30 12:48:06 aballier Exp $
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
+
+SCM=""
+
+if [ "${PV#9999}" != "${PV}" ] ; then
+ SCM="subversion"
+ ESVN_REPO_URI="svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread"
+ ESVN_PROJECT="libdvdread"
+ SRC_URI=""
+else
+ SRC_URI="http://dvdnav.mplayerhq.hu/releases/${P}.tar.bz2"
+fi
+
+inherit autotools-multilib ${SCM}
+
+DESCRIPTION="Library for DVD navigation tools"
+HOMEPAGE="http://dvdnav.mplayerhq.hu/"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+if [ "${PV#9999}" = "${PV}" ] ; then
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+else
+ KEYWORDS=""
+fi
+IUSE="+css"
+
+RDEPEND="!<media-libs/libdvdnav-4.2.0
+ css? ( media-libs/libdvdcss[${MULTILIB_USEDEP}] )
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r4
+ !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog DEVELOPMENT-POLICY.txt NEWS TODO README )
+
+src_prepare() {
+ [ "${PV#9999}" != "${PV}" ] && subversion_src_prepare
+ autotools-multilib_src_prepare
+}
diff --git a/media-libs/libdvdread/libdvdread-9999.ebuild b/media-libs/libdvdread/libdvdread-9999.ebuild
index dca47194d66a..9430032d49c8 100644
--- a/media-libs/libdvdread/libdvdread-9999.ebuild
+++ b/media-libs/libdvdread/libdvdread-9999.ebuild
@@ -1,32 +1,47 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdread/libdvdread-9999.ebuild,v 1.4 2011/10/10 22:57:36 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdread/libdvdread-9999.ebuild,v 1.5 2013/07/30 12:48:06 aballier Exp $
-EAPI=4
-WANT_AUTOCONF=2.5
+EAPI=5
-inherit autotools libtool multilib subversion
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
+
+SCM=""
+
+if [ "${PV#9999}" != "${PV}" ] ; then
+ SCM="subversion"
+ ESVN_REPO_URI="svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread"
+ ESVN_PROJECT="libdvdread"
+ SRC_URI=""
+else
+ SRC_URI="http://dvdnav.mplayerhq.hu/releases/${P}.tar.bz2"
+fi
+
+inherit autotools-multilib ${SCM}
DESCRIPTION="Library for DVD navigation tools"
HOMEPAGE="http://dvdnav.mplayerhq.hu/"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS=""
+
+if [ "${PV#9999}" = "${PV}" ] ; then
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+else
+ KEYWORDS=""
+fi
IUSE="+css"
-ESVN_REPO_URI="svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread"
-ESVN_PROJECT="libdvdread"
+RDEPEND="!<media-libs/libdvdnav-4.2.0
+ css? ( media-libs/libdvdcss[${MULTILIB_USEDEP}] )
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r4
+ !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
+DEPEND="${RDEPEND}"
-DOCS=( AUTHORS DEVELOPMENT-POLICY.txt ChangeLog TODO README )
+DOCS=( AUTHORS ChangeLog DEVELOPMENT-POLICY.txt NEWS TODO README )
src_prepare() {
- subversion_src_prepare
- elibtoolize
- eautoreconf
-}
-
-src_install() {
- default
- rm -f "${ED}"usr/lib*/${PN}.la
+ [ "${PV#9999}" != "${PV}" ] && subversion_src_prepare
+ autotools-multilib_src_prepare
}