1 |
commit: 68fbd69b941efcda30a2e53630a0912c8d002ac5 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 4 20:16:20 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 4 21:25:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68fbd69b |
7 |
|
8 |
media-libs/libdvdnav: add 6.1.1 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
media-libs/libdvdnav/Manifest | 1 + |
13 |
media-libs/libdvdnav/libdvdnav-6.1.1.ebuild | 46 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/libdvdnav/Manifest b/media-libs/libdvdnav/Manifest |
17 |
index 44778789f9c..fb86d245119 100644 |
18 |
--- a/media-libs/libdvdnav/Manifest |
19 |
+++ b/media-libs/libdvdnav/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libdvdnav-6.1.0.tar.bz2 370145 BLAKE2B c0bd54d94e58eeddcc422e24ef1b400775f28c0eff516db3cd13a5dfcfe103a122fca59734d73e83784b4f0b7ebebddaacf89709991f1485b55f897bf8de7fc7 SHA512 40ea50d818067a3178b4b09e4b95b0cc67d5ff88dbff2cbeee943d086c5f59a71a7aecc425ba35d7dbe5285d8b1ea099a439c0c80c5dca280687ac0cbdc57c71 |
22 |
+DIST libdvdnav-6.1.1.tar.bz2 367606 BLAKE2B 680e9636d407b0fb1eceb2c435d91fb5f7480b65e3c272f2750b3c9957ab5b85815ff12715fb98a5a91e5c0e4b2b2d488823525455c5ec2acd92b8dab197d518 SHA512 889bc987113189bfdfc1ebf603b256e5b228be37196455dcfdc7f66debe18e7298b82b807e86ff18a8925e491395ed4007c87cf18ba1ff1ccc213d86f5342a10 |
23 |
|
24 |
diff --git a/media-libs/libdvdnav/libdvdnav-6.1.1.ebuild b/media-libs/libdvdnav/libdvdnav-6.1.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..8abfcfe142c |
27 |
--- /dev/null |
28 |
+++ b/media-libs/libdvdnav/libdvdnav-6.1.1.ebuild |
29 |
@@ -0,0 +1,46 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit autotools multilib-minimal |
36 |
+ |
37 |
+DESCRIPTION="Library for DVD navigation tools" |
38 |
+HOMEPAGE="https://www.videolan.org/developers/libdvdnav.html" |
39 |
+if [[ ${PV} = 9999 ]]; then |
40 |
+ inherit git-r3 |
41 |
+ EGIT_REPO_URI="https://code.videolan.org/videolan/libdvdnav.git" |
42 |
+else |
43 |
+ SRC_URI="https://downloads.videolan.org/pub/videolan/libdvdnav/${PV}/${P}.tar.bz2" |
44 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" |
45 |
+fi |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+IUSE="static-libs" |
50 |
+ |
51 |
+RDEPEND=">=media-libs/libdvdread-6.0.0:=[${MULTILIB_USEDEP}]" |
52 |
+DEPEND="${RDEPEND}" |
53 |
+# To get pkg.m4 for eautoreconf #414391 |
54 |
+BDEPEND=" |
55 |
+ virtual/pkgconfig |
56 |
+" |
57 |
+ |
58 |
+DOCS=( AUTHORS ChangeLog doc/dvd_structures doc/library_layout README TODO ) |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ eautoreconf |
63 |
+} |
64 |
+ |
65 |
+multilib_src_configure() { |
66 |
+ local myeconfargs=( |
67 |
+ --enable-shared |
68 |
+ $(use_enable static-libs static) |
69 |
+ ) |
70 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
71 |
+} |
72 |
+ |
73 |
+multilib_src_install_all() { |
74 |
+ find "${ED}" -type f -name "*.la" -delete || die |
75 |
+} |