summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2024-06-09 00:17:18 +0200
committerSebastian Pipping <sping@gentoo.org>2024-06-09 00:17:51 +0200
commit40de4dd01cec8fa639eb5489bbd37532ffa679d1 (patch)
tree9f3443e70956e8fd46c645bb06cb8c339d69426d /app-cdr
parentdev-python/pycxx: Start using DISTUTILS_USE_PEP517 (diff)
downloadgentoo-40de4dd01cec8fa639eb5489bbd37532ffa679d1.tar.gz
gentoo-40de4dd01cec8fa639eb5489bbd37532ffa679d1.tar.bz2
gentoo-40de4dd01cec8fa639eb5489bbd37532ffa679d1.zip
app-cdr/isomaster: 1.3.17 + EAPI 8
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/isomaster/Manifest1
-rw-r--r--app-cdr/isomaster/isomaster-1.3.17.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/app-cdr/isomaster/Manifest b/app-cdr/isomaster/Manifest
index 8d92431d3d3e..a77e30a7f4eb 100644
--- a/app-cdr/isomaster/Manifest
+++ b/app-cdr/isomaster/Manifest
@@ -1,2 +1,3 @@
DIST isomaster-1.3.15.tar.bz2 251622 BLAKE2B 9a3dd4e4a0d6aa0ff5b76774322e2f66257dda18e01835cad911f7abaa83584de1388a6c21bed8a8c8b5b9e94d4a2f23801e656b2586cb24b38b5aa4ca074c15 SHA512 08d4b12ba1f35e8fdca75b05b3125b046a03e1f1dab6876226b45c76e8a40fa78296854e8142a0864402563913af4c935ffe338777b593026e40e121b4089661
DIST isomaster-1.3.16.tar.bz2 254872 BLAKE2B 18d6b656fc1d3bc1e9fcd727a14a581e954d6656d4c5fbb5d717ee46e434cb35f3d546484a8ac6d278cb13018cf427d4d97e6d442c05557c144bb2bc729b57e7 SHA512 431b99db3b304585fb2aac63630cd57294178a7a8b658e4a17119a35fc83ae2f8b4a80442f7a49566bf0e50bc40669b003da45a15d3cd2b2ab30fb76c1eaf89f
+DIST isomaster-1.3.17.tar.bz2 257663 BLAKE2B c62d0d2fe220fe3578f3d306815793f45a81b147628d2318b574e0c26876ddfa45169deb108ff332bf8e896a44734424402080843bdd713c68ea935b836220bb SHA512 77e7eee6f1e649442af921d629c4710fdf6fb009cbd429644bfb2eb2e66607b861d8855dc7d08a312eba444d1be180b1bb98f09d22cc25ab96f40e5c020c4ba1
diff --git a/app-cdr/isomaster/isomaster-1.3.17.ebuild b/app-cdr/isomaster/isomaster-1.3.17.ebuild
new file mode 100644
index 000000000000..88aea0d4e64a
--- /dev/null
+++ b/app-cdr/isomaster/isomaster-1.3.17.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs xdg-utils
+
+DESCRIPTION="Graphical CD image editor for reading, modifying and writing ISO images"
+HOMEPAGE="http://littlesvr.ca/isomaster"
+SRC_URI="http://littlesvr.ca/${PN}/releases/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND=">=dev-libs/iniparser-4.1:4
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( >=sys-devel/gettext-0.19.1 )" # bug 512448
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.3.14-include-path.patch
+)
+
+pkg_setup() {
+ myisoconf=(
+ DEFAULT_EDITOR=leafpad
+ MYDOCPATH=/usr/share/doc/${PF}/bkisofs
+ USE_SYSTEM_INIPARSER=1
+ LIB_INIPARSER=iniparser4
+ PREFIX=/usr
+ )
+
+ use nls || myisoconf+=( WITHOUT_NLS=1 )
+}
+
+src_prepare() {
+ default
+ rm -f configure || die #274361
+ rm -R iniparser-4.1 || die
+}
+
+src_compile() {
+ tc-export AR CC
+ emake "${myisoconf[@]}"
+}
+
+_apply_linguas() {
+ mv "${D}"/usr/share/locale{,_ALL} || die
+ dodir /usr/share/locale
+ for lingua in ${LINGUAS}; do
+ [[ -d "${D}"/usr/share/locale_ALL/${lingua} ]] || break
+ mv "${D}"/usr/share/{locale_ALL/${lingua},locale/} || die
+ done
+ rm -R "${D}"/usr/share/locale_ALL || die
+}
+
+src_install() {
+ emake "${myisoconf[@]}" DESTDIR="${D}" install
+ dodoc {CHANGELOG,CREDITS,README,TODO}.TXT *.txt
+
+ use nls && _apply_linguas # bug 402679, bug 512448
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}