diff options
author | Sebastian Pipping <sping@gentoo.org> | 2020-03-25 20:43:37 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2020-03-25 20:44:31 +0100 |
commit | 8d836d9c0a8061170cfdd354f2e5ac2f49ddb980 (patch) | |
tree | 96ac6a482870d0e459670efa4fe3ef8c58341c76 /app-cdr | |
parent | x11-misc/urxvt-perls: introduce 'deprecated' USE (diff) | |
download | gentoo-8d836d9c0a8061170cfdd354f2e5ac2f49ddb980.tar.gz gentoo-8d836d9c0a8061170cfdd354f2e5ac2f49ddb980.tar.bz2 gentoo-8d836d9c0a8061170cfdd354f2e5ac2f49ddb980.zip |
app-cdr/isomaster: 1.3.15
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-2.3.92, Repoman-2.3.20
Diffstat (limited to 'app-cdr')
-rw-r--r-- | app-cdr/isomaster/Manifest | 1 | ||||
-rw-r--r-- | app-cdr/isomaster/isomaster-1.3.15.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/app-cdr/isomaster/Manifest b/app-cdr/isomaster/Manifest index 6fda7fddad19..fb6fa14901c1 100644 --- a/app-cdr/isomaster/Manifest +++ b/app-cdr/isomaster/Manifest @@ -1,2 +1,3 @@ DIST isomaster-1.3.13.tar.bz2 245085 BLAKE2B ae2333f5511aae8deed76e556cf6055f7ad257d613dcf5c85274946f31f0da879b5fb7953d065046371c6f20faa15663ecb3c5d976c4dff404140cd09d23207c SHA512 dbc6a77fabf8d454bbde25a7540e68820bf773bc991176e5684e87aeb6044ad1bbbcf1c4f537148c18ec8847572949a52d6578a14f68b8ad3f21d542685859ba DIST isomaster-1.3.14.tar.bz2 257674 BLAKE2B 7b7abeb586eb8c6964d7959222195c1999f81275dea305e7c4efec1fef6dd9d9d4969552e6a6a4a882a9fe227ea072c6639879896e50799db9e67732e1331ad4 SHA512 5454baa4ce4e09df8ec4331718df3e1d81c0647867a21cfc4c4b15d90e509371a636e8fada7e624c0cf6d1b03b564bf89a2a26e13b5ec1b4cca91407bbc518f5 +DIST isomaster-1.3.15.tar.bz2 251622 BLAKE2B 9a3dd4e4a0d6aa0ff5b76774322e2f66257dda18e01835cad911f7abaa83584de1388a6c21bed8a8c8b5b9e94d4a2f23801e656b2586cb24b38b5aa4ca074c15 SHA512 08d4b12ba1f35e8fdca75b05b3125b046a03e1f1dab6876226b45c76e8a40fa78296854e8142a0864402563913af4c935ffe338777b593026e40e121b4089661 diff --git a/app-cdr/isomaster/isomaster-1.3.15.ebuild b/app-cdr/isomaster/isomaster-1.3.15.ebuild new file mode 100644 index 000000000000..2012fa69bf64 --- /dev/null +++ b/app-cdr/isomaster/isomaster-1.3.15.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 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 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 +} |