Сравнение libdvdread-6.1.3 с libdvdread-9999
| /usr/portage/media-libs/libdvdread/libdvdread-9999.ebuild 2026-04-22 12:17:36.862216475 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
inherit multilib-minimal |
|
| 6 |
inherit meson-multilib |
|
| 7 | 7 | |
| 8 | 8 |
DESCRIPTION="Library for DVD navigation tools" |
| 9 | 9 |
HOMEPAGE="https://www.videolan.org/developers/libdvdnav.html" |
| 10 | 10 |
if [[ ${PV} = 9999 ]]; then
|
| 11 |
inherit autotools git-r3 |
|
| 11 |
inherit git-r3 |
|
| 12 | 12 |
EGIT_REPO_URI="https://code.videolan.org/videolan/libdvdread.git" |
| 13 | 13 |
else |
| 14 |
SRC_URI="https://downloads.videolan.org/pub/videolan/libdvdread/${PV}/${P}.tar.bz2"
|
|
| 15 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~x64-macos" |
|
| 14 |
SRC_URI="https://downloads.videolan.org/pub/videolan/libdvdread/${PV}/${P}.tar.xz"
|
|
| 15 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" |
|
| 16 | 16 |
fi |
| 17 | 17 | |
| 18 | 18 |
# See https://code.videolan.org/videolan/libdvdread/-/commit/0e020921726ee812e633959d9ad6315ff58b902b |
| ... | ... | |
| 24 | 24 |
DEPEND="${RDEPEND}"
|
| 25 | 25 |
BDEPEND="virtual/pkgconfig" |
| 26 | 26 | |
| 27 |
DOCS=( AUTHORS ChangeLog NEWS TODO README ) |
|
| 28 | ||
| 29 | 27 |
src_prepare() {
|
| 30 |
default |
|
| 28 |
sed -i -e "s/'COPYING', //" -e "s/doc\/${PN}/doc\/${P}/" meson.build || die
|
|
| 31 | 29 | |
| 32 |
if [[ ${PV} == 9999 ]] ; then
|
|
| 33 |
eautoreconf |
|
| 34 |
fi |
|
| 30 |
default |
|
| 35 | 31 |
} |
| 36 | 32 | |
| 37 | 33 |
multilib_src_configure() {
|
| 38 |
local myeconfargs=( |
|
| 39 |
--enable-shared |
|
| 40 |
--disable-apidoc |
|
| 41 |
$(use_enable static-libs static) |
|
| 42 |
$(use_with css libdvdcss) |
|
| 43 |
) |
|
| 34 |
local emesonargs=( |
|
| 35 |
-Ddefault_library=$(usex static-libs both shared) |
|
| 44 | 36 | |
| 45 |
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
|
| 46 |
} |
|
| 37 |
$(meson_feature css libdvdcss) |
|
| 38 |
) |
|
| 47 | 39 | |
| 48 |
multilib_src_install_all() {
|
|
| 49 |
find "${ED}" -type f -name "*.la" -delete || die
|
|
| 40 |
meson_src_configure |
|
| 50 | 41 |
} |