diff options
author | Jakub Moc <jakub@gentoo.org> | 2006-06-12 16:03:01 +0000 |
---|---|---|
committer | Jakub Moc <jakub@gentoo.org> | 2006-06-12 16:03:01 +0000 |
commit | fc48ce475cc25bccd3afd2158af6ab766c11cf3a (patch) | |
tree | e5c5596bb6573f58b923b2f77663c12302e0df2d /app-cdr | |
parent | app-portage/udept - no need to depend on bash... (diff) | |
download | sunrise-reviewed-fc48ce475cc25bccd3afd2158af6ab766c11cf3a.tar.gz sunrise-reviewed-fc48ce475cc25bccd3afd2158af6ab766c11cf3a.tar.bz2 sunrise-reviewed-fc48ce475cc25bccd3afd2158af6ab766c11cf3a.zip |
app-cdr/dvdisaster - New ebuild, based on ebuild submitted by stephan in Bug 81290
svn path=/; revision=64
Diffstat (limited to 'app-cdr')
-rw-r--r-- | app-cdr/dvdisaster/ChangeLog | 8 | ||||
-rw-r--r-- | app-cdr/dvdisaster/Manifest | 16 | ||||
-rw-r--r-- | app-cdr/dvdisaster/dvdisaster-0.66.ebuild | 73 | ||||
-rw-r--r-- | app-cdr/dvdisaster/files/digest-dvdisaster-0.66 | 3 | ||||
-rw-r--r-- | app-cdr/dvdisaster/files/dvd-rom-0.66.patch | 12 |
5 files changed, 112 insertions, 0 deletions
diff --git a/app-cdr/dvdisaster/ChangeLog b/app-cdr/dvdisaster/ChangeLog new file mode 100644 index 000000000..a9405b9c3 --- /dev/null +++ b/app-cdr/dvdisaster/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-cdr/dvdisaster +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 12 Jun 2006; <j__m@gentoo.org> +dvdisaster-0.66.ebuild: + New ebuild, based on ebuild submitted by stephan (stephanjansen at yahoo dot + de). Bug 81290 + diff --git a/app-cdr/dvdisaster/Manifest b/app-cdr/dvdisaster/Manifest new file mode 100644 index 000000000..256510a33 --- /dev/null +++ b/app-cdr/dvdisaster/Manifest @@ -0,0 +1,16 @@ +AUX dvd-rom-0.66.patch 314 RMD160 2cf5bf2f04dd8ecbcc51ef0efa5db852cddf236f SHA1 ce2b9bd1bac3c4682d3a911c244b9c0625aba9a2 SHA256 c6278cd4569a4a0d34854f13dde51aaafc14e288f3ef3d132e9d3a69ff82d7c5 +MD5 87621f53361e61e63316dd79d81d5531 files/dvd-rom-0.66.patch 314 +RMD160 2cf5bf2f04dd8ecbcc51ef0efa5db852cddf236f files/dvd-rom-0.66.patch 314 +SHA256 c6278cd4569a4a0d34854f13dde51aaafc14e288f3ef3d132e9d3a69ff82d7c5 files/dvd-rom-0.66.patch 314 +DIST dvdisaster-0.66.tar.bz2 1004886 RMD160 63d1e5b69e985794c22ab883b9b3b0d5d70c4d53 SHA1 5d72f5cad833acc0a346e7eefffbfe9caab0cd5e SHA256 3526c255120d6e273c0ee66c461b38f820b031270b117b62f35df5589620a3bb +EBUILD dvdisaster-0.66.ebuild 1730 RMD160 1a6adb803ced38b8726cf0d37e393b0f2db38578 SHA1 bd8919c88faa30322b828d8f151961cacba81a6d SHA256 ade4a8e6e57dc3c6c1e8b3014ae450e316a29dc3ccd74ad371c8414cea7827ec +MD5 2cdbb40d5a4582cb56ed920bb5cf3674 dvdisaster-0.66.ebuild 1730 +RMD160 1a6adb803ced38b8726cf0d37e393b0f2db38578 dvdisaster-0.66.ebuild 1730 +SHA256 ade4a8e6e57dc3c6c1e8b3014ae450e316a29dc3ccd74ad371c8414cea7827ec dvdisaster-0.66.ebuild 1730 +MISC ChangeLog 274 RMD160 e336a46a2aaa22965f3b4efb3230ca3a2dc561b5 SHA1 e59b50b02b6b233980216e97f4608257731e4212 SHA256 99e0f62aa0fdc4fbd06bce36819fba0212ab7088f4182f2827d0255d8ddb1d6b +MD5 c09d7c172846b84a63921abfc51440ba ChangeLog 274 +RMD160 e336a46a2aaa22965f3b4efb3230ca3a2dc561b5 ChangeLog 274 +SHA256 99e0f62aa0fdc4fbd06bce36819fba0212ab7088f4182f2827d0255d8ddb1d6b ChangeLog 274 +MD5 bb27ebc8abe2d6a88f76ed403c467490 files/digest-dvdisaster-0.66 253 +RMD160 335670b575ecd192b78b3a18a73f4064c9f5cbd8 files/digest-dvdisaster-0.66 253 +SHA256 da7a4cad4de6a309cebed781532b997a96693667f07266354e3d004800accb92 files/digest-dvdisaster-0.66 253 diff --git a/app-cdr/dvdisaster/dvdisaster-0.66.ebuild b/app-cdr/dvdisaster/dvdisaster-0.66.ebuild new file mode 100644 index 000000000..1f98b2b53 --- /dev/null +++ b/app-cdr/dvdisaster/dvdisaster-0.66.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils gnome2 + +DESCRIPTION="Data-protection and recovery tool for DVDs" +HOMEPAGE="http://dvdisaster.berlios.de/" +SRC_URI="http://download.berlios.de/dvdisaster/${P}.tar.bz2" + +LICENSE="GPL-2" +IUSE="gnome nls" +KEYWORDS="~x86 ~amd64" +SLOT="0" + +DEPEND=">=x11-libs/gtk+-2.2 + dev-util/pkgconfig + nls? ( sys-devel/gettext )" + +RESTRICT="mirror" + +src_unpack() { + unpack ${A} + cd "${S}" + # This patch lets dvdisaster work with DVD-ROM booktype discs + epatch ${FILESDIR}/dvd-rom-${PV}.patch || die "patch failed" +} + +src_compile() { + local myconf + # use_with won't work + if use nls ; then + myconf="${myconf} --with-nls=yes --localedir=/usr/share/locale" + else + myconf="${myconf} --with-nls=no" + fi + use debug && myconf="${myconf} --debug --with-memdebug=yes" + econf ${myconf} --docdir=/usr/share/doc || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make install \ + BINDIR=${D}/usr/bin \ + DOCSUBDIR=${D}/usr/share/doc/${P} \ + MANDIR=${D}/usr/share/man \ + LOCALEDIR=${D}/usr/share/locale \ + || die "make install failed" + + insinto /usr/share/pixmaps + newins contrib/${PN}48.png ${PN}.png + for res in 16 32 48 64 ; do + insinto /usr/share/icons/hicolor/${res}x${res}/apps/ + newins contrib/${PN}${res}.png ${PN}.png + done + + sed -i -e "s:48::" ${S}/contrib/${PN}.desktop || die "sed failed" + insinto /usr/share/applications + doins contrib/${PN}.desktop + + dodoc CHANGELOG CREDITS.* DRIVE-NOTES TODO README TRANSLATION.HOWTO + + rm -f ${D}/usr/bin/*.sh + rm -f ${D}/usr/share/doc/${P}/COPYING +} + +pkg_postinst() { + use gnome && gnome2_pkg_postinst +} + +pkg_postrm() { + use gnome && gnome2_pkg_postrm +} diff --git a/app-cdr/dvdisaster/files/digest-dvdisaster-0.66 b/app-cdr/dvdisaster/files/digest-dvdisaster-0.66 new file mode 100644 index 000000000..379835def --- /dev/null +++ b/app-cdr/dvdisaster/files/digest-dvdisaster-0.66 @@ -0,0 +1,3 @@ +MD5 0bae5ab6bad8c4613d1250609ed1fbab dvdisaster-0.66.tar.bz2 1004886 +RMD160 63d1e5b69e985794c22ab883b9b3b0d5d70c4d53 dvdisaster-0.66.tar.bz2 1004886 +SHA256 3526c255120d6e273c0ee66c461b38f820b031270b117b62f35df5589620a3bb dvdisaster-0.66.tar.bz2 1004886 diff --git a/app-cdr/dvdisaster/files/dvd-rom-0.66.patch b/app-cdr/dvdisaster/files/dvd-rom-0.66.patch new file mode 100644 index 000000000..a7346d45f --- /dev/null +++ b/app-cdr/dvdisaster/files/dvd-rom-0.66.patch @@ -0,0 +1,12 @@ +--- scsi-layer.c 2005-08-01 22:18:43.000000000 +0200 ++++ scsi-layer.c 2005-10-05 14:59:23.000000000 +0200 +@@ -929,7 +929,7 @@ + dh->typedescr = "DVD-ROM (faked book type)"; + else + { dh->typedescr = "DVD-ROM"; +- dh->subType = UNSUPPORTED; ++/* dh->subType = UNSUPPORTED; */ + } + break; + } + |