summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-07-27 16:30:23 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-07-27 16:30:23 +0000
commit52639de07997d24903ecd9cb3b1e2dcae824709e (patch)
tree2a347edd676578cae8a1a978a1b919435fc3cfc1 /app-text/djview4
parentFix keywords (diff)
downloadgentoo-2-52639de07997d24903ecd9cb3b1e2dcae824709e.tar.gz
gentoo-2-52639de07997d24903ecd9cb3b1e2dcae824709e.tar.bz2
gentoo-2-52639de07997d24903ecd9cb3b1e2dcae824709e.zip
Initial import, thanks to Stefan Talpalaru <stefantalpalaru@yahoo.com>, bug #184844
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'app-text/djview4')
-rw-r--r--app-text/djview4/ChangeLog11
-rw-r--r--app-text/djview4/Manifest16
-rw-r--r--app-text/djview4/djview4-4.1.2.ebuild40
-rw-r--r--app-text/djview4/files/digest-djview4-4.1.23
-rw-r--r--app-text/djview4/metadata.xml9
5 files changed, 79 insertions, 0 deletions
diff --git a/app-text/djview4/ChangeLog b/app-text/djview4/ChangeLog
new file mode 100644
index 000000000000..64210b14a0cb
--- /dev/null
+++ b/app-text/djview4/ChangeLog
@@ -0,0 +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 $
+
+*djview4-4.1.2 (27 Jul 2007)
+
+ 27 Jul 2007; Alexis Ballier <aballier@gentoo.org> +metadata.xml,
+ +djview4-4.1.2.ebuild:
+ Initial import, thanks to Stefan Talpalaru <stefantalpalaru@yahoo.com>, bug
+ #184844
+
diff --git a/app-text/djview4/Manifest b/app-text/djview4/Manifest
new file mode 100644
index 000000000000..7badb599db33
--- /dev/null
+++ b/app-text/djview4/Manifest
@@ -0,0 +1,16 @@
+DIST djview4-4.1-2.tar.gz 673049 RMD160 e44a3a737a5cf7d883a19383244943bfa5032af0 SHA1 d114ef6e9c7238319a6885b64cb9e1c83796bf3b SHA256 61eb582add44ebc86f3943e2bd210884460eb7d5dbf0eb3bb263a92912826082
+EBUILD djview4-4.1.2.ebuild 1068 RMD160 521feacb2ea2d8271e724259ad3eab090607d20d SHA1 bb2ef01aa306e5319e283d11566fbcfd980601eb SHA256 39b32ed604ad811ffa53703318ef4b64f49e55ca908556fe1d1149719e2cc63f
+MD5 771ef106c4cb33185829c53c22935307 djview4-4.1.2.ebuild 1068
+RMD160 521feacb2ea2d8271e724259ad3eab090607d20d djview4-4.1.2.ebuild 1068
+SHA256 39b32ed604ad811ffa53703318ef4b64f49e55ca908556fe1d1149719e2cc63f djview4-4.1.2.ebuild 1068
+MISC ChangeLog 328 RMD160 d44cc3e221172fe6a775ce77a86e65a77ca930e0 SHA1 a4338f56018d8b0cf5715a66fa09b19f27b29f10 SHA256 51d3fa9cbb1ca2a2cd64d12599ed92e3ee2b51c24f0f54238c768a5663d53637
+MD5 a6d9ba9ede6032f829a30955837d057d ChangeLog 328
+RMD160 d44cc3e221172fe6a775ce77a86e65a77ca930e0 ChangeLog 328
+SHA256 51d3fa9cbb1ca2a2cd64d12599ed92e3ee2b51c24f0f54238c768a5663d53637 ChangeLog 328
+MISC metadata.xml 248 RMD160 b643c2be2cb00408c968c6c272ecd120c05dfa9d SHA1 04eb0d66432f0ef275a94b78ccc1bde996978d9a SHA256 1b74377cb3285da7ef60a08af35a488a5f885b727cf8b3ddd0c7b7b59e7c3275
+MD5 6e81106b00247ba4e2b84b71053849b2 metadata.xml 248
+RMD160 b643c2be2cb00408c968c6c272ecd120c05dfa9d metadata.xml 248
+SHA256 1b74377cb3285da7ef60a08af35a488a5f885b727cf8b3ddd0c7b7b59e7c3275 metadata.xml 248
+MD5 700965e405ea9fa75fae81518b9604a4 files/digest-djview4-4.1.2 241
+RMD160 84f003af271bd615ca3c54a32e68d790e7701b26 files/digest-djview4-4.1.2 241
+SHA256 ca8755e25f89632bee7163538cb97fb3c9c94729fc8b0d831faf13407b74171c files/digest-djview4-4.1.2 241
diff --git a/app-text/djview4/djview4-4.1.2.ebuild b/app-text/djview4/djview4-4.1.2.ebuild
new file mode 100644
index 000000000000..eecccfbf9501
--- /dev/null
+++ b/app-text/djview4/djview4-4.1.2.ebuild
@@ -0,0 +1,40 @@
+# 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.1.2.ebuild,v 1.1 2007/07/27 16:30:23 aballier Exp $
+
+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"
+DEPEND=">=app-text/djvu-3.5.19
+ $(qt4_min_version 4.1)"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-2).orig"
+
+src_compile() {
+ QTDIR=/usr econf $(use_enable debug) \
+ --disable-nsdejavu || 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.1.2 b/app-text/djview4/files/digest-djview4-4.1.2
new file mode 100644
index 000000000000..a0081369579f
--- /dev/null
+++ b/app-text/djview4/files/digest-djview4-4.1.2
@@ -0,0 +1,3 @@
+MD5 5a5632f0f73c0eb1e7cc88ac327d31a4 djview4-4.1-2.tar.gz 673049
+RMD160 e44a3a737a5cf7d883a19383244943bfa5032af0 djview4-4.1-2.tar.gz 673049
+SHA256 61eb582add44ebc86f3943e2bd210884460eb7d5dbf0eb3bb263a92912826082 djview4-4.1-2.tar.gz 673049
diff --git a/app-text/djview4/metadata.xml b/app-text/djview4/metadata.xml
new file mode 100644
index 000000000000..401d5b491a40
--- /dev/null
+++ b/app-text/djview4/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>tex</herd>
+<maintainer>
+ <email>aballier@gentoo.org</email>
+ <name>Alexis Ballier</name>
+</maintainer>
+</pkgmetadata>