summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-07-08 19:35:26 -0600
committerTim Harder <radhermit@gentoo.org>2019-07-08 20:39:45 -0600
commit3a186e5e0752b5f67cb174bfa3efe81c4c95cf62 (patch)
tree18e691b4087477e578a36433052fa63883b00635 /media-libs/libdvd-audio/libdvd-audio-1.0.0.ebuild
parentnet-analyzer/netdata: 1.16.0 version bump (diff)
downloadgentoo-3a186e5e0752b5f67cb174bfa3efe81c4c95cf62.tar.gz
gentoo-3a186e5e0752b5f67cb174bfa3efe81c4c95cf62.tar.bz2
gentoo-3a186e5e0752b5f67cb174bfa3efe81c4c95cf62.zip
media-libs/libdvd-audio: initial import
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'media-libs/libdvd-audio/libdvd-audio-1.0.0.ebuild')
-rw-r--r--media-libs/libdvd-audio/libdvd-audio-1.0.0.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/media-libs/libdvd-audio/libdvd-audio-1.0.0.ebuild b/media-libs/libdvd-audio/libdvd-audio-1.0.0.ebuild
new file mode 100644
index 000000000000..040a6ebb4991
--- /dev/null
+++ b/media-libs/libdvd-audio/libdvd-audio-1.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="library for extracting audio from DVD-Audio discs"
+HOMEPAGE="https://sourceforge.net/projects/libdvd-audio/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc static-libs"
+
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+
+BDEPEND="doc? ( dev-python/sphinx )"
+
+src_configure() {
+ tc-export CC AR
+}
+
+src_compile() {
+ emake
+ use doc && emake -C docs man
+}
+
+src_install() {
+ emake DESTDIR="${ED}" PREFIX=/usr LIB_DIR=/usr/$(get_libdir) install
+ use doc && doman docs/build/man/*
+ use static-libs || { find "${ED}/usr" -name '*.a' -delete || die; }
+}