1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs xdg-utils
8 DESCRIPTION="Graphical CD image editor for reading, modifying and writing ISO images"
9 HOMEPAGE="http://littlesvr.ca/isomaster"
10 SRC_URI="http://littlesvr.ca/${PN}/releases/${P}.tar.bz2"
17 RDEPEND=">=dev-libs/iniparser-3.0.0:0
21 nls? ( >=sys-devel/gettext-0.19.1 )" # bug 512448
24 "${FILESDIR}"/${PN}-1.3.9-iniparser-3.0.0.patch #399629
29 DEFAULT_EDITOR=leafpad
30 MYDOCPATH=/usr/share/doc/${PF}/bkisofs
31 USE_SYSTEM_INIPARSER=1
35 use nls || myisoconf+=( WITHOUT_NLS=1 )
40 rm -f configure || die #274361
41 rm -R iniparser-2.17 || die
46 emake "${myisoconf[@]}"
50 mv "${D}"/usr/share/locale{,_ALL} || die
51 dodir /usr/share/locale
52 for lingua in ${LINGUAS}; do
53 [[ -d "${D}"/usr/share/locale_ALL/${lingua} ]] || break
54 mv "${D}"/usr/share/{locale_ALL/${lingua},locale/} || die
56 rm -R "${D}"/usr/share/locale_ALL || die
60 emake "${myisoconf[@]}" DESTDIR="${D}" install
61 dodoc {CHANGELOG,CREDITS,README,TODO}.TXT *.txt
63 use nls && _apply_linguas # bug 402679, bug 512448
67 xdg_desktop_database_update
71 xdg_desktop_database_update