Version bumped
authorMamoru Komachi <usata@gentoo.org>
Wed, 31 Dec 2003 21:09:11 +0000 (21:09 +0000)
committerMamoru Komachi <usata@gentoo.org>
Wed, 31 Dec 2003 21:09:11 +0000 (21:09 +0000)
app-dicts/ebview/Manifest
app-dicts/ebview/ebview-0.3.1.ebuild
app-dicts/ebview/ebview-0.3.2.ebuild [new file with mode: 0644]
app-dicts/ebview/files/digest-ebview-0.3.2 [new file with mode: 0644]
app-dicts/ebview/files/ebview-gettext-0.12-gentoo.diff [new file with mode: 0644]

index d5daee8090953ca8ce4cc815a33fdc579c005efe..28ea9c685cacfaeb2183baeb5408a9aaa831ffce 100644 (file)
@@ -1,6 +1,7 @@
-MD5 f48ac0bfa615cafda5ce184dfaf03e61 ebview-0.3.1.ebuild 888
-MD5 69bb606a74967dc4f20191b255770ef9 ChangeLog 747
+MD5 d1db249c05737b183d1291de12877ac9 ebview-0.3.1.ebuild 858
+MD5 907243671a9c7f44018fe39a34674727 ChangeLog 912
 MD5 d1411e42201207c6fd5ce3c1e9c37483 metadata.xml 251
-MD5 c053ed5d5207af91ad44ae492e1081bb ebview-0.3.2.ebuild 858
+MD5 97c43c6c114996983fb9265dec9f2b6c ebview-0.3.2.ebuild 859
 MD5 d875e51767ea447936891b25d7ce395c files/digest-ebview-0.3.1 64
 MD5 496f3a478b1a1766fb374c5f2cb77f28 files/digest-ebview-0.3.2 64
+MD5 669a87056e662de95352ff0a7386f940 files/ebview-gettext-0.12-gentoo.diff 371
index bf239a9322cb4575d92e735c509815e8bc1e7760..6c5740c468b3a662336f0908d6b27211759c1beb 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2003 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/ebview/ebview-0.3.1.ebuild,v 1.3 2003/12/14 16:27:36 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/ebview/ebview-0.3.1.ebuild,v 1.4 2003/12/31 21:09:01 usata Exp $
 
 IUSE=""
 
@@ -18,18 +18,20 @@ DEPEND=">=dev-libs/eb-3.3.4
 
 S=${WORKDIR}/${P}
 
-src_compile() {
+src_unpack() {
 
-       local XGETTEXT
+       unpack ${A}
 
        if use nls && has_version '>=sys-devel/gettext-0.12' ; then
-               XGETTEXT="/usr/bin/xgettext --from-code=EUC-JP"
-       else
-               XGETTEXT="/usr/bin/xgettext"
+               cd ${S}/po
+               epatch ${FILESDIR}/${PN}-gettext-0.12-gentoo.diff
        fi
+}
+
+src_compile() {
 
        econf --with-eb-conf=/etc/eb.conf || die
-       emake XGETTEXT="${XGETTEXT}" || die
+       emake || die
 }
 
 src_install () {
diff --git a/app-dicts/ebview/ebview-0.3.2.ebuild b/app-dicts/ebview/ebview-0.3.2.ebuild
new file mode 100644 (file)
index 0000000..c1fb25c
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/ebview/ebview-0.3.2.ebuild,v 1.1 2003/12/31 21:09:01 usata Exp $
+
+IUSE=""
+
+DESCRIPTION="EBView -- Electronic Book Viewer based on GTK+"
+HOMEPAGE="http://ebview.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ebview/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=dev-libs/eb-3.3.4
+       >=x11-libs/gtk+-2.2
+       sys-devel/gettext"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+
+       unpack ${A}
+
+       if use nls && has_version '>=sys-devel/gettext-0.12' ; then
+               cd ${S}/po
+               epatch ${FILESDIR}/${PN}-gettext-0.12-gentoo.diff
+       fi
+}
+
+src_compile() {
+
+       econf --with-eb-conf=/etc/eb.conf || die
+       emake || die
+}
+
+src_install () {
+
+       einstall || die
+
+       dodoc ABOUT-NLS AUTHORS ChangeLog INSTALL* NEWS README TODO
+}
diff --git a/app-dicts/ebview/files/digest-ebview-0.3.2 b/app-dicts/ebview/files/digest-ebview-0.3.2
new file mode 100644 (file)
index 0000000..74c1d7c
--- /dev/null
@@ -0,0 +1 @@
+MD5 9046b127e7584fc3d96b097e59ba8f74 ebview-0.3.2.tar.gz 457636
diff --git a/app-dicts/ebview/files/ebview-gettext-0.12-gentoo.diff b/app-dicts/ebview/files/ebview-gettext-0.12-gentoo.diff
new file mode 100644 (file)
index 0000000..68665f2
--- /dev/null
@@ -0,0 +1,11 @@
+--- Makefile.in.in.orig        2003-05-22 11:11:19.000000000 +0900
++++ Makefile.in.in     2004-01-01 05:41:35.063426256 +0900
+@@ -32,7 +32,7 @@
+ GENCAT = @GENCAT@
+ GMSGFMT = PATH=../src:$$PATH @GMSGFMT@
+ MSGFMT = @MSGFMT@
+-XGETTEXT = PATH=../src:$$PATH @XGETTEXT@
++XGETTEXT = PATH=../src:$$PATH @XGETTEXT@ --from-code=EUC-JP
+ MSGMERGE = PATH=../src:$$PATH msgmerge
+ DEFS = @DEFS@