summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-cdr/dvdisaster/Manifest8
-rw-r--r--app-cdr/dvdisaster/dvdisaster-0.66.ebuild14
2 files changed, 16 insertions, 6 deletions
diff --git a/app-cdr/dvdisaster/Manifest b/app-cdr/dvdisaster/Manifest
index 5ba4a5161..0e7ec160a 100644
--- a/app-cdr/dvdisaster/Manifest
+++ b/app-cdr/dvdisaster/Manifest
@@ -3,10 +3,10 @@ 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 1658 RMD160 45bd5c237f24b9104da04c80b24222c5e7b8ae24 SHA1 84cc186adcd4d00ca0ae0358fd3463613333bb4b SHA256 5cb3596591aa9ad3aa0d73c63c50dbd6befb5b46acf95617dd78d39a681392c0
-MD5 3a61dd0a4fe7b4e839e53ec1219e730a dvdisaster-0.66.ebuild 1658
-RMD160 45bd5c237f24b9104da04c80b24222c5e7b8ae24 dvdisaster-0.66.ebuild 1658
-SHA256 5cb3596591aa9ad3aa0d73c63c50dbd6befb5b46acf95617dd78d39a681392c0 dvdisaster-0.66.ebuild 1658
+EBUILD dvdisaster-0.66.ebuild 2146 RMD160 3ec2181cf4454204aab7b312e29e57a727dbfbf7 SHA1 60640d31af8965dbe5f8b9ca0bed4f1b46fa3501 SHA256 f85da4b2f0c5af26250aa7416a0bb33ba11955574211dd79476a50bd32daa56b
+MD5 b0484d767cb533654894716d443c4f74 dvdisaster-0.66.ebuild 2146
+RMD160 3ec2181cf4454204aab7b312e29e57a727dbfbf7 dvdisaster-0.66.ebuild 2146
+SHA256 f85da4b2f0c5af26250aa7416a0bb33ba11955574211dd79476a50bd32daa56b dvdisaster-0.66.ebuild 2146
MISC ChangeLog 275 RMD160 348ec12e8dad6e8c3f8789dfcf10f479cdc9304f SHA1 0c093ff22e760d120f3bdd8c58b28b544dcade0d SHA256 6427578bd41ff644cb4f5c3b3fc8e94126fa137e8eb71fceb2d6744bd14a0f04
MD5 aa18f78e6db8fefb131d88a4eafd734e ChangeLog 275
RMD160 348ec12e8dad6e8c3f8789dfcf10f479cdc9304f ChangeLog 275
diff --git a/app-cdr/dvdisaster/dvdisaster-0.66.ebuild b/app-cdr/dvdisaster/dvdisaster-0.66.ebuild
index b1268e6af..eb399b9eb 100644
--- a/app-cdr/dvdisaster/dvdisaster-0.66.ebuild
+++ b/app-cdr/dvdisaster/dvdisaster-0.66.ebuild
@@ -9,9 +9,10 @@ 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"
+IUSE_LINGUAS="linguas_cs linguas_de linguas_it"
+IUSE="${IUSE_LINGUAS} gnome nls"
DEPEND=">=x11-libs/gtk+-2.2
dev-util/pkgconfig
@@ -42,7 +43,7 @@ src_compile() {
src_install() {
make install \
BINDIR=${D}/usr/bin \
- DOCSUBDIR=${D}/usr/share/doc/${P} \
+ DOCSUBDIR=${D}/usr/share/doc/${PF} \
MANDIR=${D}/usr/share/man \
LOCALEDIR=${D}/usr/share/locale \
|| die "make install failed"
@@ -58,6 +59,15 @@ src_install() {
insinto /usr/share/applications
doins contrib/${PN}.desktop
+ # no sane way to disable unwanted LINGUAS at compile time
+ # there are no Italian docs, only manpage and localization for now
+ local docdir="${D}/usr/share/doc/${PF}"
+ local mandir="${D}/usr/share/man"
+ local localedir="${D}/usr/share/locale"
+ for lang in cs de it ; do
+ use linguas_${lang} || rm -rf ${docdir}/${lang} ${mandir}/${lang} ${localedir}/${lang}
+ use linguas_${lang} || rm -f ${docdir}/CREDITS.${lang}
+ done
rm -f ${D}/usr/bin/*.sh
}