diff options
author | David Seifert <soap@gentoo.org> | 2022-07-26 21:27:08 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-07-26 21:27:08 +0200 |
commit | 8ed8244b6bc9f21e930f79e2cb45efb77b5155c0 (patch) | |
tree | f2c4a8b1490212a3a45c39555b7fc7bc14a0cd56 /app-cdr/gaffitter/gaffitter-0.6.0-r2.ebuild | |
parent | app-cdr/dvdshrink: reindent metadata.xml (diff) | |
download | gentoo-8ed8244b6bc9f21e930f79e2cb45efb77b5155c0.tar.gz gentoo-8ed8244b6bc9f21e930f79e2cb45efb77b5155c0.tar.bz2 gentoo-8ed8244b6bc9f21e930f79e2cb45efb77b5155c0.zip |
app-cdr/gaffitter: update EAPI 6 -> 8
Closes: https://bugs.gentoo.org/729136
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-cdr/gaffitter/gaffitter-0.6.0-r2.ebuild')
-rw-r--r-- | app-cdr/gaffitter/gaffitter-0.6.0-r2.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-cdr/gaffitter/gaffitter-0.6.0-r2.ebuild b/app-cdr/gaffitter/gaffitter-0.6.0-r2.ebuild new file mode 100644 index 000000000000..964b631ce675 --- /dev/null +++ b/app-cdr/gaffitter/gaffitter-0.6.0-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +SV="0.1.0" +SCRIPTS="scripts-${SV}" + +DESCRIPTION="Genetic Algorithm File Fitter" +HOMEPAGE="http://gaffitter.sourceforge.net/" +SRC_URI=" + mirror://sourceforge/${PN}/${P}.tar.bz2 + scripts? ( mirror://sourceforge/${PN}/scripts/${SV}/${SCRIPTS}.tar.bz2 )" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="scripts" + +PATCHES=( "${FILESDIR}"/${PN}-0.6.0-fix-build-system.patch ) + +src_prepare() { + default + + if use scripts; then + sed -i -re "s:--data((cd)|(dvd)):--data:" "${WORKDIR}"/${PN}/${SCRIPTS}/gaff-k3b || die + fi +} + +src_configure() { + tc-export CXX +} + +src_install() { + dobin src/gaffitter + einstalldocs + + if use scripts; then + dobin "${WORKDIR}"/${PN}/${SCRIPTS}/gaff-** + dobin "${WORKDIR}"/${PN}/${SCRIPTS}/nautilus/nautilus-* + fi +} |