diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-video/streamdvd/streamdvd-0.4-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-video/streamdvd/streamdvd-0.4-r1.ebuild')
-rw-r--r-- | media-video/streamdvd/streamdvd-0.4-r1.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/media-video/streamdvd/streamdvd-0.4-r1.ebuild b/media-video/streamdvd/streamdvd-0.4-r1.ebuild new file mode 100644 index 000000000000..5a14fa0a0a3c --- /dev/null +++ b/media-video/streamdvd/streamdvd-0.4-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils toolchain-funcs + +DESCRIPTION="fast tool to backup Video DVDs 'on the fly'" +HOMEPAGE="http://www.badabum.de/streamdvd.html" +SRC_URI="http://www.badabum.de/down/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" + +IUSE="X" + +DEPEND="media-libs/libdvdread + media-video/lsdvd + X? ( dev-perl/Tk + dev-perl/Tk-JPEG-Lite + virtual/cdrtools + >=media-video/dvdauthor-0.6.5 + >=app-cdr/dvd+rw-tools-5.13.4.7.4 )" + +S=${WORKDIR}/StreamDVD-${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + use X && epatch "${FILESDIR}"/${P}.patch + + epatch "${FILESDIR}"/${P}-makefile.patch + epatch "${FILESDIR}"/${P}-gcc41.patch + epatch "${FILESDIR}"/${P}-libdvdread.patch + epatch "${FILESDIR}"/${P}-gcc43.patch + epatch "${FILESDIR}"/${P}-gcc44.patch +} + +src_compile() { + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" all addon || die # compile also optional packages +} + +src_install() { + dobin streamdvd streamanalyze + newbin lsdvd lsdvd-streamdvd # patched lsdvd, rename to avoid conflict with media-video/lsdvd + dodoc README + newdoc contrib/lsdvd/AUTHORS AUTHORS.lsdvd + newdoc contrib/lsdvd/README README.lsdvd + newdoc contrib/StreamAnalyze/README README.streamanalyze + if use X + then + eval `perl '-V:installvendorlib'` + insinto "$installvendorlib/StreamDVD" + doins Gui/StreamDVD/*.pm + dobin Gui/StreamDVD.pl + dosym StreamDVD.pl /usr/bin/streamdvd_gui # convinience symlink + newdoc Gui/README README.gui + fi +} |