Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libdvdread/
Date: Sun, 05 Jun 2022 07:21:55
Message-Id: 1654413626.a37c3b9f209427c0f582c0b57664baf94a42614a.sam@gentoo
1 commit: a37c3b9f209427c0f582c0b57664baf94a42614a
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 5 07:19:40 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 5 07:20:26 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a37c3b9f
7
8 media-libs/libdvdread: add 6.1.3
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 media-libs/libdvdread/Manifest | 1 +
13 .../{libdvdread-9999.ebuild => libdvdread-6.1.3.ebuild} | 17 +++++++++++------
14 media-libs/libdvdread/libdvdread-9999.ebuild | 17 +++++++++++------
15 3 files changed, 23 insertions(+), 12 deletions(-)
16
17 diff --git a/media-libs/libdvdread/Manifest b/media-libs/libdvdread/Manifest
18 index 4c5edfdf353c..015a8a9d21f0 100644
19 --- a/media-libs/libdvdread/Manifest
20 +++ b/media-libs/libdvdread/Manifest
21 @@ -1 +1,2 @@
22 DIST libdvdread-6.1.2.tar.bz2 391536 BLAKE2B 870f8c2bba7f1a1c0f6a010c0a75517b488a466186f76f752c67e16f87b55d8fc9450aeaa69d044b42b6a26a2fc51297290be301f5a449b4b8269f6c812f35cd SHA512 5cbee11ec701b7625d71184fd712de48a129f235b08797b499d0f5b06a1c73bfec1d0e52e897585017ab63b1d81b042257eab5ab1f19fb340b05b3e8d794f86c
23 +DIST libdvdread-6.1.3.tar.bz2 395439 BLAKE2B 7a8c0b69692059d51a9d94fc4c934f8259c2aa71ac9a9e6d5da22b3668fcbdf000c47fbc7fdb1257f65b90b4d8a4733e01fc2936033246cf2c6a5b68fef81647 SHA512 c98055829ccbbe2bb7b5df48f6e279cf6e91ecab39a35c37081581452f7df7531c1d7b8abd641c55eeee357235b2658b31478dbc307995cffdf8c011bd0dd0bc
24
25 diff --git a/media-libs/libdvdread/libdvdread-9999.ebuild b/media-libs/libdvdread/libdvdread-6.1.3.ebuild
26 similarity index 78%
27 copy from media-libs/libdvdread/libdvdread-9999.ebuild
28 copy to media-libs/libdvdread/libdvdread-6.1.3.ebuild
29 index 7eb3ec37c638..6efa7014e58d 100644
30 --- a/media-libs/libdvdread/libdvdread-9999.ebuild
31 +++ b/media-libs/libdvdread/libdvdread-6.1.3.ebuild
32 @@ -1,18 +1,18 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 +# Copyright 1999-2022 Gentoo Authors
35 # Distributed under the terms of the GNU General Public License v2
36
37 -EAPI=7
38 +EAPI=8
39
40 -inherit autotools multilib-minimal
41 +inherit multilib-minimal
42
43 DESCRIPTION="Library for DVD navigation tools"
44 HOMEPAGE="https://www.videolan.org/developers/libdvdnav.html"
45 if [[ ${PV} = 9999 ]]; then
46 - inherit git-r3
47 + inherit autotools git-r3
48 EGIT_REPO_URI="https://code.videolan.org/videolan/libdvdread.git"
49 else
50 SRC_URI="https://downloads.videolan.org/pub/videolan/libdvdread/${PV}/${P}.tar.bz2"
51 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
52 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
53 fi
54
55 LICENSE="GPL-2"
56 @@ -27,15 +27,20 @@ DOCS=( AUTHORS ChangeLog NEWS TODO README )
57
58 src_prepare() {
59 default
60 - eautoreconf
61 +
62 + if [[ ${PV} == 9999 ]] ; then
63 + eautoreconf
64 + fi
65 }
66
67 multilib_src_configure() {
68 local myeconfargs=(
69 --enable-shared
70 + --disable-apidoc
71 $(use_enable static-libs static)
72 $(use_with css libdvdcss)
73 )
74 +
75 ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
76 }
77
78
79 diff --git a/media-libs/libdvdread/libdvdread-9999.ebuild b/media-libs/libdvdread/libdvdread-9999.ebuild
80 index 7eb3ec37c638..6efa7014e58d 100644
81 --- a/media-libs/libdvdread/libdvdread-9999.ebuild
82 +++ b/media-libs/libdvdread/libdvdread-9999.ebuild
83 @@ -1,18 +1,18 @@
84 -# Copyright 1999-2021 Gentoo Authors
85 +# Copyright 1999-2022 Gentoo Authors
86 # Distributed under the terms of the GNU General Public License v2
87
88 -EAPI=7
89 +EAPI=8
90
91 -inherit autotools multilib-minimal
92 +inherit multilib-minimal
93
94 DESCRIPTION="Library for DVD navigation tools"
95 HOMEPAGE="https://www.videolan.org/developers/libdvdnav.html"
96 if [[ ${PV} = 9999 ]]; then
97 - inherit git-r3
98 + inherit autotools git-r3
99 EGIT_REPO_URI="https://code.videolan.org/videolan/libdvdread.git"
100 else
101 SRC_URI="https://downloads.videolan.org/pub/videolan/libdvdread/${PV}/${P}.tar.bz2"
102 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
103 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
104 fi
105
106 LICENSE="GPL-2"
107 @@ -27,15 +27,20 @@ DOCS=( AUTHORS ChangeLog NEWS TODO README )
108
109 src_prepare() {
110 default
111 - eautoreconf
112 +
113 + if [[ ${PV} == 9999 ]] ; then
114 + eautoreconf
115 + fi
116 }
117
118 multilib_src_configure() {
119 local myeconfargs=(
120 --enable-shared
121 + --disable-apidoc
122 $(use_enable static-libs static)
123 $(use_with css libdvdcss)
124 )
125 +
126 ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
127 }