mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
media-video/lxdvdrip: Port to EAPI 8
Closes: https://bugs.gentoo.org/819435 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
--- Makefile.orig 2014-03-17 15:40:30.886570544 -0600
|
||||
+++ Makefile 2014-03-17 15:41:22.729159468 -0600
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -3,31 +3,15 @@
|
||||
HINWEIS1 = 'Check the configuration file in /etc with the Changelog'
|
||||
HINWEIS2 = 'Comparez le fichier de config. en /etc avec le Changelog'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
--- vamps/Makefile.orig 2014-03-17 15:44:50.086513525 -0600
|
||||
+++ vamps/Makefile 2014-03-17 15:44:56.443321441 -0600
|
||||
--- a/vamps/Makefile
|
||||
+++ b/vamps/Makefile
|
||||
@@ -21,7 +21,7 @@
|
||||
CFLAGS ?= -O2 -g -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
|
||||
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT
|
||||
|
||||
+16
-16
@@ -1,35 +1,35 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=8
|
||||
|
||||
inherit epatch toolchain-funcs
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Command line tool to automate the process of ripping and burning DVDs"
|
||||
SRC_URI="mirror://sourceforge/lxdvdrip/${P}.tgz"
|
||||
HOMEPAGE="https://sourceforge.net/projects/lxdvdrip/"
|
||||
SRC_URI="mirror://sourceforge/lxdvdrip/${P}.tgz"
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/libdvdread"
|
||||
RDEPEND="${DEPEND}
|
||||
>=media-video/dvdauthor-0.6.9
|
||||
media-video/streamdvd
|
||||
media-video/mpgtx"
|
||||
media-video/mpgtx
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-makefile.patch"
|
||||
epatch "${FILESDIR}/${P}-vamps-makefile.patch"
|
||||
}
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-makefile.patch
|
||||
"${FILESDIR}"/${P}-vamps-makefile.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
CC="$(tc-getCC)" emake
|
||||
cd "${S}/vamps"
|
||||
emake CC="$(tc-getCC)"
|
||||
tc-export CC
|
||||
emake
|
||||
emake -C vamps
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -45,6 +45,6 @@ src_install() {
|
||||
insinto /etc
|
||||
newins doc-pak/lxdvdrip.conf.EN lxdvdrip.conf
|
||||
|
||||
cd "${S}/vamps"
|
||||
cd vamps || die
|
||||
emake PREFIX="${D}/usr" install
|
||||
}
|
||||
Reference in New Issue
Block a user