summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-09-27 16:15:35 +0200
committerMarek Szuba <marecki@gentoo.org>2021-09-27 16:52:46 +0200
commit51b7886233e005fa421d114cc918021661878ee9 (patch)
treea0cce7f60b09ce38ba65af839bec2af9ef8220ab /media-video/lsdvd
parentmedia-video/pipewire: x86 stable wrt bug #814524 (diff)
downloadgentoo-51b7886233e005fa421d114cc918021661878ee9.tar.gz
gentoo-51b7886233e005fa421d114cc918021661878ee9.tar.bz2
gentoo-51b7886233e005fa421d114cc918021661878ee9.zip
media-video/lsdvd: keyword 0.17 for ~riscv, EAPI 5 -> 8
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-video/lsdvd')
-rw-r--r--media-video/lsdvd/files/lsdvd-0.17-autotools.patch6
-rw-r--r--media-video/lsdvd/lsdvd-0.17.ebuild20
2 files changed, 15 insertions, 11 deletions
diff --git a/media-video/lsdvd/files/lsdvd-0.17-autotools.patch b/media-video/lsdvd/files/lsdvd-0.17-autotools.patch
index c2f7e9456ed9..33a954f001c7 100644
--- a/media-video/lsdvd/files/lsdvd-0.17-autotools.patch
+++ b/media-video/lsdvd/files/lsdvd-0.17-autotools.patch
@@ -1,5 +1,5 @@
---- configure.ac.orig 2014-10-04 00:36:04.484376722 -0600
-+++ configure.ac 2014-10-04 00:36:25.080207028 -0600
+--- a/configure.ac
++++ b/configure.ac
@@ -1,9 +1,6 @@
AC_INIT([lsdvd], [0.17])
AM_INIT_AUTOMAKE([foreign])
@@ -9,4 +9,4 @@
-fi
AC_SYS_LARGEFILE
PKG_CHECK_MODULES([DVDREAD], [dvdread >= 4.1.3])
- AC_ARG_ENABLE([debug], \ No newline at end of file
+ AC_ARG_ENABLE([debug],
diff --git a/media-video/lsdvd/lsdvd-0.17.ebuild b/media-video/lsdvd/lsdvd-0.17.ebuild
index fda1e95f98df..b4b39ff9fa7d 100644
--- a/media-video/lsdvd/lsdvd-0.17.ebuild
+++ b/media-video/lsdvd/lsdvd-0.17.ebuild
@@ -1,24 +1,28 @@
# Copyright 2003-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools epatch
+EAPI=8
+
+inherit autotools
DESCRIPTION="Utility for getting info out of DVDs"
HOMEPAGE="https://sourceforge.net/projects/lsdvd/"
-SRC_URI="mirror://sourceforge/lsdvd/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE=""
+KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
RDEPEND="media-libs/libdvdread:0="
DEPEND="${RDEPEND}"
-DOCS="AUTHORS README ChangeLog"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.17-autotools.patch
+)
+
+DOCS=(AUTHORS README ChangeLog)
src_prepare() {
- rm "${S}/aclocal.m4" "${S}/Makefile.in"
- epatch "${FILESDIR}"/${P}-autotools.patch
+ default
eautoreconf
}