1 # Copyright 1999-2020 Gentoo Authors
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"
14 KEYWORDS="~amd64 ~x86"
17 RDEPEND=">=dev-libs/iniparser-4.1:4
21 nls? ( >=sys-devel/gettext-0.19.1 )" # bug 512448
24 "${FILESDIR}"/${P}-include-path.patch
29 DEFAULT_EDITOR=leafpad
30 MYDOCPATH=/usr/share/doc/${PF}/bkisofs
31 USE_SYSTEM_INIPARSER=1
32 LIB_INIPARSER=iniparser4
36 use nls || myisoconf+=( WITHOUT_NLS=1 )
41 rm -f configure || die #274361
42 rm -R iniparser-4.1 || die
47 emake "${myisoconf[@]}"
51 mv "${D}"/usr/share/locale{,_ALL} || die
52 dodir /usr/share/locale
53 for lingua in ${LINGUAS}; do
54 [[ -d "${D}"/usr/share/locale_ALL/${lingua} ]] || break
55 mv "${D}"/usr/share/{locale_ALL/${lingua},locale/} || die
57 rm -R "${D}"/usr/share/locale_ALL || die
61 emake "${myisoconf[@]}" DESTDIR="${D}" install
62 dodoc {CHANGELOG,CREDITS,README,TODO}.TXT *.txt
64 use nls && _apply_linguas # bug 402679, bug 512448
68 xdg_desktop_database_update
72 xdg_desktop_database_update