summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-13 14:20:46 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-13 14:20:46 +0100
commit2f5ff6aee0647703cc08d45c9d570beacd30b1ea (patch)
tree37cde20e1c55d99d3a6ed10ff0c184fd8bed1fa2 /media-video/subtitler-yuv/subtitler-yuv-0.6.5.ebuild
parentmedia-video/atomicparsley: Port to EAPI 7 (diff)
downloadgentoo-2f5ff6aee0647703cc08d45c9d570beacd30b1ea.tar.gz
gentoo-2f5ff6aee0647703cc08d45c9d570beacd30b1ea.tar.bz2
gentoo-2f5ff6aee0647703cc08d45c9d570beacd30b1ea.zip
media-video/subtitler-yuv: Port to EAPI 7
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-video/subtitler-yuv/subtitler-yuv-0.6.5.ebuild')
-rw-r--r--media-video/subtitler-yuv/subtitler-yuv-0.6.5.ebuild28
1 files changed, 11 insertions, 17 deletions
diff --git a/media-video/subtitler-yuv/subtitler-yuv-0.6.5.ebuild b/media-video/subtitler-yuv/subtitler-yuv-0.6.5.ebuild
index d1e7738874fe..37e21cbb86a2 100644
--- a/media-video/subtitler-yuv/subtitler-yuv-0.6.5.ebuild
+++ b/media-video/subtitler-yuv/subtitler-yuv-0.6.5.ebuild
@@ -1,41 +1,35 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
+
inherit toolchain-funcs
-DESCRIPTION="for mjpegtools for adding subtitles, pictures, and effects embedded in the picture"
+DESCRIPTION="for mjpegtools for adding subtitles, pictures & effects embedded in the picture"
HOMEPAGE="http://panteltje.com/panteltje/subtitles/"
SRC_URI="mirror://gentoo/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-RDEPEND="x11-libs/libX11
+RDEPEND="
+ x11-libs/libX11
x11-libs/libXaw
x11-libs/libXt"
DEPEND="${RDEPEND}"
-src_prepare() {
- sed -i \
- -e '/^CFLAGS/s:= -O2:+=:' \
- -e '/CFLAGS/s:gcc:$(CC):' \
- -e 's:gcc -o:$(CC) $(LDFLAGS) -o:' \
- -e 's:-L/usr/X11R6/lib/::' \
- -e 's:-lXpm:-lX11:' \
- Makefile || die
-}
+PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch )
-src_compile() {
+src_configure() {
tc-export CC
- emake
}
src_install() {
dobin ${PN}
- dodoc CHANGES HOWTO_USE_THIS README*
+ einstalldocs
+ dodoc HOWTO_USE_THIS
+
insinto /usr/share/${PN}
doins *.{ppm,ppml,zip}
}