diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-06-03 19:13:49 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-06-05 23:09:51 +0300 |
commit | d73e13e42d3be684a4bc4d5a5c794be0a3d043ea (patch) | |
tree | e1b96ec2dcb879a3a5661a35a1c77ecc72df7d06 /app-cdr | |
parent | sys-apps/eza: add 0.18.16 (diff) | |
download | gentoo-d73e13e42d3be684a4bc4d5a5c794be0a3d043ea.tar.gz gentoo-d73e13e42d3be684a4bc4d5a5c794be0a3d043ea.tar.bz2 gentoo-d73e13e42d3be684a4bc4d5a5c794be0a3d043ea.zip |
app-cdr/gaffitter: add 1.0.0
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/37003
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-cdr')
-rw-r--r-- | app-cdr/gaffitter/Manifest | 1 | ||||
-rw-r--r-- | app-cdr/gaffitter/gaffitter-1.0.0.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/app-cdr/gaffitter/Manifest b/app-cdr/gaffitter/Manifest index 5251c8b674f8..7d0f0a9c25f1 100644 --- a/app-cdr/gaffitter/Manifest +++ b/app-cdr/gaffitter/Manifest @@ -1,2 +1,3 @@ DIST gaffitter-0.6.0.tar.bz2 44433 BLAKE2B 8ae8fb68711168619e69b79c8544dcb926e984ed3e311062060c71f691588c581fb90744c3e984847bd3061e6ed18e6ae07896af8812d6896fb27291af9450e0 SHA512 f27313b0274d2b08e6e9cd7ce86d93c3a944d6d4e4ad103cba8137dd4074bcdfcbd470ef6decdd192e6e5086f27968e27e0b76ca738e9b538db14d83816010b6 +DIST gaffitter-1.0.0.tar.gz 50827 BLAKE2B 0056ece791fa5531087d35ac3282087bbacc7c0c8bf362986e964b46262213ffd5b1a03392cbb4efa97264ca4d5203126c67cc5f0980034304245c25189f4c8d SHA512 86d90d03b06346333f6770f81b5cd0916180f12e77b1ee491a75190a24c584ecfbb2d2b85bbb8c271a122ad6309ba13acb3bcdfa6b96a38083fe68bf7e8433ff DIST scripts-0.1.0.tar.bz2 5859 BLAKE2B fa774440d9f5b1e8c3a1b4cfd2d65d1d943a904d196df2657ff12e079266b211476bd61b2514be9f629522106ef0b1ef2b21fbb8e0431bf4c6a04273fe3d8a83 SHA512 6730df258444fa4fb17a0d0438b8b1394f857638ce95aaa28dae5345d0bf7517a226a0483a6e8ab89a5012aef9b79586a0cd2b576f9a1ceafc6f29e45d797a20 diff --git a/app-cdr/gaffitter/gaffitter-1.0.0.ebuild b/app-cdr/gaffitter/gaffitter-1.0.0.ebuild new file mode 100644 index 000000000000..9a4bedbd6d77 --- /dev/null +++ b/app-cdr/gaffitter/gaffitter-1.0.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +SV="0.1.0" +SCRIPTS="scripts-${SV}" + +DESCRIPTION="Genetic Algorithm File Fitter" +HOMEPAGE="https://gaffitter.sourceforge.net/" +SRC_URI=" + https://downloads.sourceforge.net/${PN}/${P}.tar.gz + scripts? ( https://downloads.sourceforge.net/${PN}/scripts/${SV}/${SCRIPTS}.tar.bz2 )" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="scripts" + +src_prepare() { + default + if use scripts; then + sed -i -re "s:--data((cd)|(dvd)):--data:" "${WORKDIR}"/${PN}/${SCRIPTS}/gaff-k3b || die + fi + cmake_src_prepare +} + +src_install() { + newbin "${BUILD_DIR}"/fit ${PN} + einstalldocs + + if use scripts; then + dobin "${WORKDIR}"/${PN}/${SCRIPTS}/gaff-{brasero,iso,k3b} + dobin "${WORKDIR}"/${PN}/${SCRIPTS}/nautilus/nautilus-gaff-k3b-{cd{,-split},dvd{,-split}} + fi +} |