summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-11-11 18:12:41 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-11-11 18:12:41 +0000
commit0ef352e7b4aed1a63102d7d7255713cd48b4ab1f (patch)
tree73b8f66c9ca3b375e560b120dd8fc02bda935d60 /app-text/djview4
parentalpha/ia64/sparc/x86 stable (diff)
downloadgentoo-2-0ef352e7b4aed1a63102d7d7255713cd48b4ab1f.tar.gz
gentoo-2-0ef352e7b4aed1a63102d7d7255713cd48b4ab1f.tar.bz2
gentoo-2-0ef352e7b4aed1a63102d7d7255713cd48b4ab1f.zip
version bump
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-text/djview4')
-rw-r--r--app-text/djview4/ChangeLog7
-rw-r--r--app-text/djview4/djview4-4.2.ebuild45
-rw-r--r--app-text/djview4/files/digest-djview4-4.23
3 files changed, 54 insertions, 1 deletions
diff --git a/app-text/djview4/ChangeLog b/app-text/djview4/ChangeLog
index 64210b14a0cb..3fec91f1be55 100644
--- a/app-text/djview4/ChangeLog
+++ b/app-text/djview4/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/djview4
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/djview4/ChangeLog,v 1.1 2007/07/27 16:30:23 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/djview4/ChangeLog,v 1.2 2007/11/11 18:12:40 aballier Exp $
+
+*djview4-4.2 (11 Nov 2007)
+
+ 11 Nov 2007; Alexis Ballier <aballier@gentoo.org> +djview4-4.2.ebuild:
+ version bump
*djview4-4.1.2 (27 Jul 2007)
diff --git a/app-text/djview4/djview4-4.2.ebuild b/app-text/djview4/djview4-4.2.ebuild
new file mode 100644
index 000000000000..5a354238658e
--- /dev/null
+++ b/app-text/djview4/djview4-4.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/djview4/djview4-4.2.ebuild,v 1.1 2007/11/11 18:12:40 aballier Exp $
+
+inherit eutils versionator qt4 toolchain-funcs autotools
+
+DESCRIPTION="Portable DjVu viewer using Qt4"
+HOMEPAGE="http://djvu.sourceforge.net/djview4.html"
+SRC_URI="mirror://sourceforge/djvu/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+DEPEND=">=app-text/djvu-3.5.19
+ $(qt4_min_version 4.1)"
+RDEPEND="${DEPEND}"
+
+src_unpack(){
+ unpack ${A}
+ cd "${S}"
+ # Needed, their configure seems poorly generated...
+ eautoreconf
+}
+
+
+src_compile() {
+ QTDIR=/usr econf $(use_enable debug) \
+ --disable-nsdejavu \
+ --disable-desktopfiles || die "econf failed"
+
+ emake CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ #remove conflicting symlinks
+ rm -f "${D}/usr/bin/djview" "${D}/usr/share/man/man1/djview.1"
+
+ dodoc README TODO NEWS
+
+ cd desktopfiles
+ insinto /usr/share/icons/hicolor/32x32/apps
+ newins hi32-djview4.png djvulibre-djview4.png
+ domenu djvulibre-djview4.desktop
+}
diff --git a/app-text/djview4/files/digest-djview4-4.2 b/app-text/djview4/files/digest-djview4-4.2
new file mode 100644
index 000000000000..ae200efb7ac3
--- /dev/null
+++ b/app-text/djview4/files/digest-djview4-4.2
@@ -0,0 +1,3 @@
+MD5 f8a08234c5e261c4690a18289b904013 djview4-4.2.tar.gz 732595
+RMD160 1d75f3ebd4c1df0f39291a778cea4b5257160dbd djview4-4.2.tar.gz 732595
+SHA256 20c7441c43a1779b6925acd1c54cd2f0fc9f1d9375442b7332cf3b42254dcc5d djview4-4.2.tar.gz 732595