summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/djvu')
-rw-r--r--app-text/djvu/ChangeLog7
-rw-r--r--app-text/djvu/djvu-3.5.17.ebuild72
-rw-r--r--app-text/djvu/files/digest-djvu-3.5.142
-rw-r--r--app-text/djvu/files/digest-djvu-3.5.14-r12
-rw-r--r--app-text/djvu/files/digest-djvu-3.5.173
5 files changed, 85 insertions, 1 deletions
diff --git a/app-text/djvu/ChangeLog b/app-text/djvu/ChangeLog
index 4276f3f16bbf..37abc2906429 100644
--- a/app-text/djvu/ChangeLog
+++ b/app-text/djvu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/djvu
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.33 2006/05/02 13:50:49 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.34 2006/05/03 08:27:59 ehmsen Exp $
+
+*djvu-3.5.17 (03 May 2006)
+
+ 03 May 2006; Martin Ehmsen <ehmsen@gentoo.org> +djvu-3.5.17.ebuild:
+ Version bump, bug #132028.
02 May 2006; Markus Rothe <corsair@gentoo.org> djvu-3.5.16.ebuild:
Added ~ppc64
diff --git a/app-text/djvu/djvu-3.5.17.ebuild b/app-text/djvu/djvu-3.5.17.ebuild
new file mode 100644
index 000000000000..420190a2e006
--- /dev/null
+++ b/app-text/djvu/djvu-3.5.17.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.17.ebuild,v 1.1 2006/05/03 08:27:59 ehmsen Exp $
+
+inherit nsplugins flag-o-matic fdo-mime eutils multilib toolchain-funcs
+
+MY_P="${PN}libre-${PV}"
+
+DESCRIPTION="DjVu viewers, encoders and utilities."
+HOMEPAGE="http://djvu.sourceforge.net"
+SRC_URI="mirror://sourceforge/djvu/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="xml qt jpeg tiff debug threads nls nsplugin kde"
+
+DEPEND="jpeg? ( >=media-libs/jpeg-6b-r2 )
+ tiff? ( media-libs/tiff )
+ qt? ( <x11-libs/qt-4 )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Replace autochecking acdesktop.m4 with a gentoo-specific one
+ cp "${FILESDIR}/gentoo-acdesktop.m4" "${S}/gui/desktop/acdesktop.m4"
+
+ aclocal -I config -I gui/desktop || die "aclocal failed"
+ autoconf || die "autoconf failed"
+ libtoolize --copy --force
+}
+
+src_compile() {
+ # assembler problems and hence non-building with pentium4
+ # <obz@gentoo.org>
+ replace-flags -march=pentium4 -march=pentium3
+
+ if use kde ; then
+ export kde_mimelnk=/usr/share/mimelnk
+ fi
+
+ # When enabling qt it must be compiled with threads. See bug #89544.
+ if use qt ; then
+ QTCONF=" --with-qt --enable-threads "
+ elif use threads ; then
+ QTCONF=" --enable-threads "
+ else
+ QTCONF=" --disable-threads "
+ fi
+
+ econf --enable-desktopfiles \
+ $(use_enable xml xmltools) \
+ $(use_with jpeg) \
+ $(use_with tiff) \
+ $(use_enable nls i18n) \
+ $(use_enable debug) \
+ ${QTCONF} \
+ || die "econf failed"
+
+ if ! use nsplugin; then
+ sed -e 's:nsdjvu::' -i ${S}/gui/Makefile
+ fi
+
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} plugindir=/usr/$(get_libdir)/${PLUGINS_DIR} install
+}
diff --git a/app-text/djvu/files/digest-djvu-3.5.14 b/app-text/djvu/files/digest-djvu-3.5.14
index 7773823ac2f6..df5aac6f9d93 100644
--- a/app-text/djvu/files/digest-djvu-3.5.14
+++ b/app-text/djvu/files/digest-djvu-3.5.14
@@ -1 +1,3 @@
MD5 a9b60d0c47d6b98e321100d329c7f3b3 djvulibre-3.5.14.tar.gz 1742428
+RMD160 6f5724f177e1080ad5b853335f069bebaba5c548 djvulibre-3.5.14.tar.gz 1742428
+SHA256 049774c33d03b48006a99c61e431e3e9242985d62b65a54abf024a492c71acc2 djvulibre-3.5.14.tar.gz 1742428
diff --git a/app-text/djvu/files/digest-djvu-3.5.14-r1 b/app-text/djvu/files/digest-djvu-3.5.14-r1
index 7773823ac2f6..df5aac6f9d93 100644
--- a/app-text/djvu/files/digest-djvu-3.5.14-r1
+++ b/app-text/djvu/files/digest-djvu-3.5.14-r1
@@ -1 +1,3 @@
MD5 a9b60d0c47d6b98e321100d329c7f3b3 djvulibre-3.5.14.tar.gz 1742428
+RMD160 6f5724f177e1080ad5b853335f069bebaba5c548 djvulibre-3.5.14.tar.gz 1742428
+SHA256 049774c33d03b48006a99c61e431e3e9242985d62b65a54abf024a492c71acc2 djvulibre-3.5.14.tar.gz 1742428
diff --git a/app-text/djvu/files/digest-djvu-3.5.17 b/app-text/djvu/files/digest-djvu-3.5.17
new file mode 100644
index 000000000000..3a03d05d9347
--- /dev/null
+++ b/app-text/djvu/files/digest-djvu-3.5.17
@@ -0,0 +1,3 @@
+MD5 18e71eec1f7d59ef4710b405ea64650e djvulibre-3.5.17.tar.gz 2298690
+RMD160 1f9d2b1106d1e1898f04c0657b2c8b557246c33e djvulibre-3.5.17.tar.gz 2298690
+SHA256 a39977be3ca99f5b1d6a01a7795133c18de538bf20ff1f2d52d652bac94647c7 djvulibre-3.5.17.tar.gz 2298690