summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/isomaster/Manifest1
-rw-r--r--app-cdr/isomaster/isomaster-1.3.16.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/app-cdr/isomaster/Manifest b/app-cdr/isomaster/Manifest
index 9cfadcdc022b..8d92431d3d3e 100644
--- a/app-cdr/isomaster/Manifest
+++ b/app-cdr/isomaster/Manifest
@@ -1 +1,2 @@
DIST isomaster-1.3.15.tar.bz2 251622 BLAKE2B 9a3dd4e4a0d6aa0ff5b76774322e2f66257dda18e01835cad911f7abaa83584de1388a6c21bed8a8c8b5b9e94d4a2f23801e656b2586cb24b38b5aa4ca074c15 SHA512 08d4b12ba1f35e8fdca75b05b3125b046a03e1f1dab6876226b45c76e8a40fa78296854e8142a0864402563913af4c935ffe338777b593026e40e121b4089661
+DIST isomaster-1.3.16.tar.bz2 254872 BLAKE2B 18d6b656fc1d3bc1e9fcd727a14a581e954d6656d4c5fbb5d717ee46e434cb35f3d546484a8ac6d278cb13018cf427d4d97e6d442c05557c144bb2bc729b57e7 SHA512 431b99db3b304585fb2aac63630cd57294178a7a8b658e4a17119a35fc83ae2f8b4a80442f7a49566bf0e50bc40669b003da45a15d3cd2b2ab30fb76c1eaf89f
diff --git a/app-cdr/isomaster/isomaster-1.3.16.ebuild b/app-cdr/isomaster/isomaster-1.3.16.ebuild
new file mode 100644
index 000000000000..ada30c8db94b
--- /dev/null
+++ b/app-cdr/isomaster/isomaster-1.3.16.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+}