mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
media-libs/libdvdnav: Update to 7.0.0
Switched to meson build system. Signed-off-by: Alan Swanson <reiver@improbability.net> Part-of: https://github.com/gentoo/gentoo/pull/46096 Closes: https://github.com/gentoo/gentoo/pull/46096 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST libdvdnav-6.1.1.tar.bz2 367606 BLAKE2B 680e9636d407b0fb1eceb2c435d91fb5f7480b65e3c272f2750b3c9957ab5b85815ff12715fb98a5a91e5c0e4b2b2d488823525455c5ec2acd92b8dab197d518 SHA512 889bc987113189bfdfc1ebf603b256e5b228be37196455dcfdc7f66debe18e7298b82b807e86ff18a8925e491395ed4007c87cf18ba1ff1ccc213d86f5342a10
|
||||
DIST libdvdnav-7.0.0.tar.xz 85132 BLAKE2B 30033deb0df9b2380f45fb9a7fddacecf443a8cf3286f3bb1d56f0a42b0dc9237a6139788101f33edda601a6b6c7db6e1e96c82affb77e13a219913942b0265d SHA512 4df6336050f3b79ca2edafac28dd0383b950272ba6d8ebe6e43a85eddc737ce740d72a3fc1fa03c26fc5f285125e3672a022555a5399259386b2036c467a47f3
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson-multilib
|
||||
|
||||
DESCRIPTION="Library for DVD navigation tools"
|
||||
HOMEPAGE="https://www.videolan.org/developers/libdvdnav.html"
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://code.videolan.org/videolan/libdvdnav.git"
|
||||
else
|
||||
SRC_URI="https://downloads.videolan.org/pub/videolan/libdvdnav/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=media-libs/libdvdread-6.0.0:=[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s/'COPYING', //" -e "s/doc\/${PN}/doc\/${P}/" meson.build || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
-Ddefault_library=$(usex static-libs both shared)
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit autotools multilib-minimal
|
||||
inherit meson-multilib
|
||||
|
||||
DESCRIPTION="Library for DVD navigation tools"
|
||||
HOMEPAGE="https://www.videolan.org/developers/libdvdnav.html"
|
||||
@@ -11,8 +11,8 @@ if [[ ${PV} = 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://code.videolan.org/videolan/libdvdnav.git"
|
||||
else
|
||||
SRC_URI="https://downloads.videolan.org/pub/videolan/libdvdnav/${PV}/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
|
||||
SRC_URI="https://downloads.videolan.org/pub/videolan/libdvdnav/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
@@ -21,26 +21,17 @@ IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=media-libs/libdvdread-6.0.0:=[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
# To get pkg.m4 for eautoreconf #414391
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog doc/dvd_structures doc/library_layout README TODO )
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s/'COPYING', //" -e "s/doc\/${PN}/doc\/${P}/" meson.build || die
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-shared
|
||||
$(use_enable static-libs static)
|
||||
local emesonargs=(
|
||||
-Ddefault_library=$(usex static-libs both shared)
|
||||
)
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user