diff options
Diffstat (limited to 'app-cdr')
-rw-r--r-- | app-cdr/isomaster/ChangeLog | 10 | ||||
-rw-r--r-- | app-cdr/isomaster/files/isomaster-1.3.11-make-install.patch | 34 | ||||
-rw-r--r-- | app-cdr/isomaster/isomaster-1.3.11.ebuild | 70 |
3 files changed, 112 insertions, 2 deletions
diff --git a/app-cdr/isomaster/ChangeLog b/app-cdr/isomaster/ChangeLog index e5c55684980f..91b388eafdb3 100644 --- a/app-cdr/isomaster/ChangeLog +++ b/app-cdr/isomaster/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-cdr/isomaster -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/isomaster/ChangeLog,v 1.24 2012/05/03 07:51:48 jdhore Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/isomaster/ChangeLog,v 1.25 2014/05/29 17:09:32 sping Exp $ + +*isomaster-1.3.11 (29 May 2014) + + 29 May 2014; Sebastian Pipping <sping@gentoo.org> +isomaster-1.3.11.ebuild, + +files/isomaster-1.3.11-make-install.patch: + Bump to 1.3.11 03 May 2012; Jeff Horelick <jdhore@gentoo.org> isomaster-1.3.5.ebuild, isomaster-1.3.9-r1.ebuild: diff --git a/app-cdr/isomaster/files/isomaster-1.3.11-make-install.patch b/app-cdr/isomaster/files/isomaster-1.3.11-make-install.patch new file mode 100644 index 000000000000..90ebe346a0c0 --- /dev/null +++ b/app-cdr/isomaster/files/isomaster-1.3.11-make-install.patch @@ -0,0 +1,34 @@ +From 5717fb2da383d0c8c80fffdbe3ced568b2151f86 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Thu, 29 May 2014 18:58:48 +0200 +Subject: [PATCH] Fix "make install" +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +[..] +for FILE in bkisofs-manual/manual/*html; do \ + install -m 644 $FILE DESTDIR/usr/share/doc/isomaster-1.3.11/bkisofs; \ + done; +install: cannot create regular file ‘DESTDIR/usr/share/doc/isomaster-1.3.11/bkisofs’: No such file or directory +[..] +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 116b2fd..fa4989e 100644 +--- a/Makefile ++++ b/Makefile +@@ -129,7 +129,7 @@ endif + $(INSTALL) -m 644 isomaster.1 $(DESTDIR)$(MYMANPATH) + $(INSTALL) -d $(DESTDIR)$(DESKTOPPATH) + $(INSTALL) -m 644 isomaster.desktop $(DESTDIR)$(DESKTOPPATH) +- #$(INSTALL) -d $(DESTDIR)$(MYDOCPATH) ++ $(INSTALL) -d $(DESTDIR)$(MYDOCPATH) + for FILE in bkisofs-manual/manual/*html; do \ + $(INSTALL) -m 644 $$FILE $(DESTDIR)$(MYDOCPATH); \ + done; +-- +1.9.3 + diff --git a/app-cdr/isomaster/isomaster-1.3.11.ebuild b/app-cdr/isomaster/isomaster-1.3.11.ebuild new file mode 100644 index 000000000000..41d29fa19db9 --- /dev/null +++ b/app-cdr/isomaster/isomaster-1.3.11.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/isomaster/isomaster-1.3.11.ebuild,v 1.1 2014/05/29 17:09:32 sping Exp $ + +EAPI=4 +inherit eutils fdo-mime toolchain-funcs + +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 ~x86-fbsd" +IUSE="nls" + +RDEPEND=">=dev-libs/iniparser-3.0.0 + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +pkg_setup() { + myisoconf=( + DEFAULT_EDITOR=leafpad + MYDOCPATH=/usr/share/doc/${PF}/bkisofs + USE_SYSTEM_INIPARSER=1 + PREFIX=/usr + ) + + use nls || myisoconf+=( WITHOUT_NLS=1 ) +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-make-install.patch + epatch "${FILESDIR}"/${PN}-1.3.9-iniparser-3.0.0.patch #399629 + rm -R iniparser-2.17 || die +} + +src_configure() { :; } #274361 + +src_compile() { + tc-export CC + emake "${myisoconf[@]}" +} + +_apply_linguas() { + mv "${D}"/usr/share/locale{,_ALL} || die + dodir /usr/share/locale || die + 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 + + _apply_linguas # bug 402679 +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} |