summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-08-25 22:06:17 +0000
committerPeter Volkov <pva@gentoo.org>2008-08-25 22:06:17 +0000
commit5315683f959d0e135f0e53b5ea8c6f33428ed192 (patch)
tree9e5f285f7e412fd8ae1e2c7ddfec1181b75bffff /app-text/djview4
parentVersion bump. (diff)
downloadgentoo-2-5315683f959d0e135f0e53b5ea8c6f33428ed192.tar.gz
gentoo-2-5315683f959d0e135f0e53b5ea8c6f33428ed192.tar.bz2
gentoo-2-5315683f959d0e135f0e53b5ea8c6f33428ed192.zip
Version bump.
(Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 i686)
Diffstat (limited to 'app-text/djview4')
-rw-r--r--app-text/djview4/ChangeLog7
-rw-r--r--app-text/djview4/djview4-4.4.ebuild44
2 files changed, 50 insertions, 1 deletions
diff --git a/app-text/djview4/ChangeLog b/app-text/djview4/ChangeLog
index 80c6fcccf83a..aa3c1069c6ef 100644
--- a/app-text/djview4/ChangeLog
+++ b/app-text/djview4/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/djview4
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/djview4/ChangeLog,v 1.8 2008/05/11 21:39:34 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/djview4/ChangeLog,v 1.9 2008/08/25 22:06:17 pva Exp $
+
+*djview4-4.4 (25 Aug 2008)
+
+ 25 Aug 2008; Peter Volkov <pva@gentoo.org> +djview4-4.4.ebuild:
+ Version bump.
11 May 2008; Alexis Ballier <aballier@gentoo.org> djview4-4.3.ebuild:
allow split qt4 deps
diff --git a/app-text/djview4/djview4-4.4.ebuild b/app-text/djview4/djview4-4.4.ebuild
new file mode 100644
index 000000000000..d097bc3a0811
--- /dev/null
+++ b/app-text/djview4/djview4-4.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/djview4/djview4-4.4.ebuild,v 1.1 2008/08/25 22:06:17 pva Exp $
+
+EAPI=1
+
+inherit eutils versionator qt4 toolchain-funcs
+
+MY_P=${PN}-$(replace_version_separator 2 '-')
+
+DESCRIPTION="Portable DjVu viewer using Qt4"
+HOMEPAGE="http://djvu.sourceforge.net/djview4.html"
+SRC_URI="mirror://sourceforge/djvu/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+RDEPEND=">=app-text/djvu-3.5.19
+ || ( ( x11-libs/qt-gui x11-libs/qt-core ) >=x11-libs/qt-4.1.1:4 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-2)"
+
+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
+}