summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-05-07 13:12:25 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-05-07 14:42:32 +0200
commit0f776b134674615b8756662ce25bd5cee92efe59 (patch)
tree9adb6c41d2f28ae38b77bc2f15c8f45b217b513a /media-libs/libdvdread/libdvdread-6.1.0.ebuild
parentmedia-libs/libdvdnav: Bump to version 6.1.0 (diff)
downloadgentoo-0f776b134674615b8756662ce25bd5cee92efe59.tar.gz
gentoo-0f776b134674615b8756662ce25bd5cee92efe59.tar.bz2
gentoo-0f776b134674615b8756662ce25bd5cee92efe59.zip
media-libs/libdvdread: Bump to version 6.1.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/libdvdread/libdvdread-6.1.0.ebuild')
-rw-r--r--media-libs/libdvdread/libdvdread-6.1.0.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/media-libs/libdvdread/libdvdread-6.1.0.ebuild b/media-libs/libdvdread/libdvdread-6.1.0.ebuild
new file mode 100644
index 00000000000..b35ac186b9a
--- /dev/null
+++ b/media-libs/libdvdread/libdvdread-6.1.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools multilib-minimal
+
+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/libdvdread.git"
+else
+ SRC_URI="https://downloads.videolan.org/pub/videolan/libdvdread/${PV}/${P}.tar.bz2"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+fi
+
+LICENSE="GPL-2"
+SLOT="0/7" # libdvdread.so.VERSION
+IUSE="+css static-libs"
+
+RDEPEND="css? ( >=media-libs/libdvdcss-1.3.0[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS TODO README )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ --enable-shared
+ $(use_enable static-libs static)
+ $(use_with css libdvdcss)
+ )
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ find "${ED}" -type f -name "*.la" -delete || die
+}