1 |
commit: 74530669ff6c66603ff8d81b58530419ad1c93be |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 4 20:16:12 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 4 21:25:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74530669 |
7 |
|
8 |
media-libs/libdvdread: add 6.1.2 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
media-libs/libdvdread/Manifest | 1 + |
13 |
media-libs/libdvdread/libdvdread-6.1.2.ebuild | 44 +++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/libdvdread/Manifest b/media-libs/libdvdread/Manifest |
17 |
index b99ecf2ef70..99fe83a4720 100644 |
18 |
--- a/media-libs/libdvdread/Manifest |
19 |
+++ b/media-libs/libdvdread/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libdvdread-6.1.1.tar.bz2 392134 BLAKE2B 42c7eb2f83b215714e24a7d4748b60fd9eee9fbf7a09b3a9f28974fb5f2a3bb44c80c865348b051f099421159ad87ac3359a299c1d259a79cc51063b9d957bb3 SHA512 f02c2d33ec3e79a4efd0b4ed9172935b092c9f827eb6810ed354328c34b5206ee4ffd646239ce50b9401cab1758f1a746113e004461b20df4f44bc7fa6bc2278 |
22 |
+DIST libdvdread-6.1.2.tar.bz2 391536 BLAKE2B 870f8c2bba7f1a1c0f6a010c0a75517b488a466186f76f752c67e16f87b55d8fc9450aeaa69d044b42b6a26a2fc51297290be301f5a449b4b8269f6c812f35cd SHA512 5cbee11ec701b7625d71184fd712de48a129f235b08797b499d0f5b06a1c73bfec1d0e52e897585017ab63b1d81b042257eab5ab1f19fb340b05b3e8d794f86c |
23 |
|
24 |
diff --git a/media-libs/libdvdread/libdvdread-6.1.2.ebuild b/media-libs/libdvdread/libdvdread-6.1.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..7eb3ec37c63 |
27 |
--- /dev/null |
28 |
+++ b/media-libs/libdvdread/libdvdread-6.1.2.ebuild |
29 |
@@ -0,0 +1,44 @@ |
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/libdvdread.git" |
42 |
+else |
43 |
+ SRC_URI="https://downloads.videolan.org/pub/videolan/libdvdread/${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/8" # libdvdread.so.VERSION |
49 |
+IUSE="+css static-libs" |
50 |
+ |
51 |
+RDEPEND="css? ( >=media-libs/libdvdcss-1.3.0[${MULTILIB_USEDEP}] )" |
52 |
+DEPEND="${RDEPEND}" |
53 |
+BDEPEND="virtual/pkgconfig" |
54 |
+ |
55 |
+DOCS=( AUTHORS ChangeLog NEWS TODO README ) |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ default |
59 |
+ eautoreconf |
60 |
+} |
61 |
+ |
62 |
+multilib_src_configure() { |
63 |
+ local myeconfargs=( |
64 |
+ --enable-shared |
65 |
+ $(use_enable static-libs static) |
66 |
+ $(use_with css libdvdcss) |
67 |
+ ) |
68 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
69 |
+} |
70 |
+ |
71 |
+multilib_src_install_all() { |
72 |
+ find "${ED}" -type f -name "*.la" -delete || die |
73 |
+} |