Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libdvdnav: ChangeLog libdvdnav-4.2.0-r1.ebuild libdvdnav-9999.ebuild
Date: Tue, 30 Jul 2013 12:48:16
Message-Id: 20130730124813.9062D2171C@flycatcher.gentoo.org
1 aballier 13/07/30 12:48:13
2
3 Modified: ChangeLog libdvdnav-9999.ebuild
4 Added: libdvdnav-4.2.0-r1.ebuild
5 Log:
6 Migrate to multilib, modernize -9999 ebuild and slat it for medialibs-r5.
7
8 (Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
9
10 Revision Changes Path
11 1.71 media-libs/libdvdnav/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libdvdnav/ChangeLog?rev=1.71&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libdvdnav/ChangeLog?rev=1.71&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libdvdnav/ChangeLog?r1=1.70&r2=1.71
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/libdvdnav/ChangeLog,v
20 retrieving revision 1.70
21 retrieving revision 1.71
22 diff -u -r1.70 -r1.71
23 --- ChangeLog 17 May 2012 14:37:58 -0000 1.70
24 +++ ChangeLog 30 Jul 2013 12:48:13 -0000 1.71
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-libs/libdvdnav
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdnav/ChangeLog,v 1.70 2012/05/17 14:37:58 aballier Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdnav/ChangeLog,v 1.71 2013/07/30 12:48:13 aballier Exp $
31 +
32 +*libdvdnav-4.2.0-r1 (30 Jul 2013)
33 +
34 + 30 Jul 2013; Alexis Ballier <aballier@g.o> +libdvdnav-4.2.0-r1.ebuild,
35 + libdvdnav-9999.ebuild:
36 + Migrate to multilib, modernize -9999 ebuild and slat it for medialibs-r5.
37
38 17 May 2012; Alexis Ballier <aballier@g.o> libdvdnav-4.2.0.ebuild:
39 keyword ~amd64-fbsd
40
41
42
43 1.8 media-libs/libdvdnav/libdvdnav-9999.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libdvdnav/libdvdnav-9999.ebuild?rev=1.8&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libdvdnav/libdvdnav-9999.ebuild?rev=1.8&content-type=text/plain
47 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libdvdnav/libdvdnav-9999.ebuild?r1=1.7&r2=1.8
48
49 Index: libdvdnav-9999.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/media-libs/libdvdnav/libdvdnav-9999.ebuild,v
52 retrieving revision 1.7
53 retrieving revision 1.8
54 diff -u -r1.7 -r1.8
55 --- libdvdnav-9999.ebuild 15 May 2012 17:03:16 -0000 1.7
56 +++ libdvdnav-9999.ebuild 30 Jul 2013 12:48:13 -0000 1.8
57 @@ -1,36 +1,47 @@
58 -# Copyright 1999-2012 Gentoo Foundation
59 +# Copyright 1999-2013 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdnav/libdvdnav-9999.ebuild,v 1.7 2012/05/15 17:03:16 ssuominen Exp $
62 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdnav/libdvdnav-9999.ebuild,v 1.8 2013/07/30 12:48:13 aballier Exp $
63
64 -EAPI=4
65 -WANT_AUTOCONF=2.5
66 +EAPI=5
67
68 -inherit autotools eutils subversion
69 +AUTOTOOLS_AUTORECONF=1
70 +AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
71 +
72 +SCM=""
73 +
74 +if [ "${PV#9999}" != "${PV}" ] ; then
75 + SCM="subversion"
76 + ESVN_REPO_URI="svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav"
77 + ESVN_PROJECT="libdvdnav"
78 + SRC_URI=""
79 +else
80 + SRC_URI="http://dvdnav.mplayerhq.hu/releases/${P}.tar.bz2"
81 +fi
82 +
83 +inherit autotools-multilib ${SCM}
84
85 DESCRIPTION="Library for DVD navigation tools"
86 HOMEPAGE="http://dvdnav.mplayerhq.hu/"
87
88 LICENSE="GPL-2"
89 SLOT="0"
90 -KEYWORDS=""
91 +if [ "${PV#9999}" = "${PV}" ] ; then
92 + 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"
93 +else
94 + KEYWORDS=""
95 +fi
96 IUSE=""
97 -
98 -RDEPEND=">=media-libs/libdvdread-${PV}"
99 +RDEPEND=">=media-libs/libdvdread-4.2[${MULTILIB_USEDEP}]
100 + abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r4
101 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
102 DEPEND="${RDEPEND}
103 virtual/pkgconfig" # To get pkg.m4 for eautoreconf #414391
104
105 -DOCS=( AUTHORS DEVELOPMENT-POLICY.txt ChangeLog TODO doc/dvd_structures README )
106 +DOCS=( AUTHORS ChangeLog DEVELOPMENT-POLICY.txt doc/dvd_structures NEWS README TODO )
107
108 -ESVN_REPO_URI="svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav"
109 -ESVN_PROJECT="libdvdnav"
110 +PATCHES=( "${FILESDIR}"/${PN}-4.2.0-pkgconfig.patch )
111
112 src_prepare() {
113 - subversion_src_prepare
114 - epatch "${FILESDIR}"/${PN}-4.2.0-pkgconfig.patch
115 - eautoreconf
116 -}
117 -
118 -src_install() {
119 - default
120 - rm -f "${ED}"usr/lib*/${PN}*.la
121 + [ "${PV#9999}" != "${PV}" ] && subversion_src_prepare
122 + autotools-multilib_src_prepare
123 }
124
125
126
127 1.1 media-libs/libdvdnav/libdvdnav-4.2.0-r1.ebuild
128
129 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libdvdnav/libdvdnav-4.2.0-r1.ebuild?rev=1.1&view=markup
130 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libdvdnav/libdvdnav-4.2.0-r1.ebuild?rev=1.1&content-type=text/plain
131
132 Index: libdvdnav-4.2.0-r1.ebuild
133 ===================================================================
134 # Copyright 1999-2013 Gentoo Foundation
135 # Distributed under the terms of the GNU General Public License v2
136 # $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdnav/libdvdnav-4.2.0-r1.ebuild,v 1.1 2013/07/30 12:48:13 aballier Exp $
137
138 EAPI=5
139
140 AUTOTOOLS_AUTORECONF=1
141 AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
142
143 SCM=""
144
145 if [ "${PV#9999}" != "${PV}" ] ; then
146 SCM="subversion"
147 ESVN_REPO_URI="svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav"
148 ESVN_PROJECT="libdvdnav"
149 SRC_URI=""
150 else
151 SRC_URI="http://dvdnav.mplayerhq.hu/releases/${P}.tar.bz2"
152 fi
153
154 inherit autotools-multilib ${SCM}
155
156 DESCRIPTION="Library for DVD navigation tools"
157 HOMEPAGE="http://dvdnav.mplayerhq.hu/"
158
159 LICENSE="GPL-2"
160 SLOT="0"
161 if [ "${PV#9999}" = "${PV}" ] ; then
162 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"
163 else
164 KEYWORDS=""
165 fi
166 IUSE=""
167 RDEPEND=">=media-libs/libdvdread-4.2[${MULTILIB_USEDEP}]
168 abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r4
169 !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
170 DEPEND="${RDEPEND}
171 virtual/pkgconfig" # To get pkg.m4 for eautoreconf #414391
172
173 DOCS=( AUTHORS ChangeLog DEVELOPMENT-POLICY.txt doc/dvd_structures NEWS README TODO )
174
175 PATCHES=( "${FILESDIR}"/${PN}-4.2.0-pkgconfig.patch )
176
177 src_prepare() {
178 [ "${PV#9999}" != "${PV}" ] && subversion_src_prepare
179 autotools-multilib_src_prepare
180 }