Skip to content

Commit

Permalink
app-cdr/gaffitter: add 1.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Mair-Keimberger <[email protected]>
Closes: gentoo#37003
Signed-off-by: Arthur Zamarin <[email protected]>
  • Loading branch information
mm1ke authored and arthurzam committed Jun 5, 2024
1 parent ce59b9f commit d73e13e
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-cdr/gaffitter/Manifest
Original file line number Diff line number Diff line change
@@ -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
38 changes: 38 additions & 0 deletions app-cdr/gaffitter/gaffitter-1.0.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit d73e13e

Please sign in to comment.