diff options
Diffstat (limited to 'app-cdr/gaffitter')
-rw-r--r-- | app-cdr/gaffitter/Manifest | 2 | ||||
-rw-r--r-- | app-cdr/gaffitter/gaffitter-1.0.0-r1.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/app-cdr/gaffitter/Manifest b/app-cdr/gaffitter/Manifest index 1ef6818a13aa..e86e3e422306 100644 --- a/app-cdr/gaffitter/Manifest +++ b/app-cdr/gaffitter/Manifest @@ -1,5 +1,7 @@ AUX gaffitter-0.6.0-fix-build-system.patch 704 BLAKE2B 74e97a02e2f169a0c30a91f5bbd6f80073ef683d183aa126af5a56b056bea4c43fecb2125e24e43735d59bf1b3cfaa57647b44291df9d93bc863241041c5edfd SHA512 91b0dc7be3329aa408fd4f45f3458a116b8649d238c3a5431ba5b7e847451f9ae4d342fce8a284b30605c8628ca608ee877b4ee63add4b946db6f36ba6ddc263 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 EBUILD gaffitter-0.6.0-r2.ebuild 906 BLAKE2B f6d58909c66467efb09bc2cd4312911472db4a39479d0de633740dee16998384d63f60af101f07a0eec274822d8de72c756ca38331d1efa505636b57a42f2125 SHA512 0b645ab23affd721695dedfaa7be6b59b9d7d772ff655ab7e96bae5cf0e2790a619aecc4708cac93f87537d3b107fe7407b052f0e4b3b2298ceef8ff2a372cc1 +EBUILD gaffitter-1.0.0-r1.ebuild 1071 BLAKE2B 611ced42aeb66c13e222f800ce587d644f3241be01f988cd9a07b0183db8054c6e83e4178ff662da1067908893306a7e7cc3191e9438ee9c2836ce0df01ede1e SHA512 59e3b8a50ff1f6f26933e7c16f8893c3a8a25ce9afa87f0b2e6df26dfb68f6b4b4d5b0e4f8db38a33d8b9da09043041625720087f5d3339638a88803a6db7be1 MISC metadata.xml 351 BLAKE2B 4cc047b7c07fe53d30b4f7fbc28d758c4904183e3c53487907966a8b7fce51f40931d78503f2f79e60c05f99614bbf0b82b19457f3df88ebdeeeb0c1a1a080e1 SHA512 2d92ff63dfa00d8300b4c7dc8ced295640fdc48f7b256c2639e4c43d7e0552fb81d9c93b7f8c1c0b922abf7c94f03127b4d621c0e6f7ccc662dcb680ba5d5d5c diff --git a/app-cdr/gaffitter/gaffitter-1.0.0-r1.ebuild b/app-cdr/gaffitter/gaffitter-1.0.0-r1.ebuild new file mode 100644 index 000000000000..77e899bb7001 --- /dev/null +++ b/app-cdr/gaffitter/gaffitter-1.0.0-r1.ebuild @@ -0,0 +1,48 @@ +# 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_configure(){ + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + ) + cmake_src_configure +} + +src_install() { + newbin "${BUILD_DIR}"/fit ${PN} + dolib.so "${BUILD_DIR}"/src/optimizers/liboptimizers.so + dolib.so "${BUILD_DIR}"/src/util/libutil.so + + 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 +} |