diff options
author | Peter Volkov <pva@gentoo.org> | 2008-08-25 21:34:58 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-08-25 21:34:58 +0000 |
commit | 2b05f93d68ed0000b867a2a74f001f08565dfd66 (patch) | |
tree | 8305516490b9472dbc27f4b022af513386bb1e03 /app-text/djvu | |
parent | Version bump wrt bug #235492 thanks to Dennis Schridde for the notification (diff) | |
download | historical-2b05f93d68ed0000b867a2a74f001f08565dfd66.tar.gz historical-2b05f93d68ed0000b867a2a74f001f08565dfd66.tar.bz2 historical-2b05f93d68ed0000b867a2a74f001f08565dfd66.zip |
Version bump.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 i686
Diffstat (limited to 'app-text/djvu')
-rw-r--r-- | app-text/djvu/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/djvu/Manifest | 4 | ||||
-rw-r--r-- | app-text/djvu/djvu-3.5.21.ebuild | 118 |
3 files changed, 127 insertions, 2 deletions
diff --git a/app-text/djvu/ChangeLog b/app-text/djvu/ChangeLog index 7366cd1f4d06..81f632db8292 100644 --- a/app-text/djvu/ChangeLog +++ b/app-text/djvu/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/djvu # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.76 2008/03/22 16:34:04 coldwind Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.77 2008/08/25 21:34:58 pva Exp $ + +*djvu-3.5.21 (25 Aug 2008) + + 25 Aug 2008; Peter Volkov <pva@gentoo.org> +djvu-3.5.21.ebuild: + Version bump. 22 Mar 2008; Santiago M. Mola <coldwind@gentoo.org> djvu-3.5.20-r1.ebuild: amd64 stable wrt bug #208144 diff --git a/app-text/djvu/Manifest b/app-text/djvu/Manifest index b4ffc06a1bc8..9d261f91fa9e 100644 --- a/app-text/djvu/Manifest +++ b/app-text/djvu/Manifest @@ -1,7 +1,9 @@ AUX djvulibre-3.5.17-pthread-flag.patch 2419 RMD160 35f4c484e567ed7a7dcfb51559925ed49ad5db26 SHA1 2c028fd4bff1316a9278bc9047f6595ea3fc1e64 SHA256 e5bd52eba105c7792866f13f5abccf07daca220dc68ac045a4abc431c329805f DIST djvulibre-3.5.19.tar.gz 2380092 RMD160 2eb9b5df021bb7121a051d3256999da27dd3b682 SHA1 439977e03c8c35ca74eb5887993edb317923133f SHA256 57ffa154f45de309b352ce53aa6618af2f8639d1e330470c3c955241d44ccd78 DIST djvulibre-3.5.20.tar.gz 2416958 RMD160 fb755064912586585656b9701b7d98bd3019c67b SHA1 88ec94512f3f7845b42c2585f75e07a9cf147380 SHA256 d937528e10c16831d8df31893ee24da8ec2bfd9e9170671c482a1b1abfc5efc3 +DIST djvulibre-3.5.21.tar.gz 2993718 RMD160 2163b784d705cc7b55bb3d9c9eb85edec44f28a7 SHA1 a6ef5cb1445baa333883754c703abd75cc5b34f6 SHA256 39f80c1810be22c5ea7f6a44bbb449c3e29902895dcff9da6a8440891a67b8b4 EBUILD djvu-3.5.19.ebuild 3295 RMD160 85ad554d5a7c8dd8990f8f8408c3b3953eba8704 SHA1 965f1fc093303026bba9eaf4829e1438ed84f898 SHA256 8c50ba5e182e3ecd34ec9a002159c8365f1a9e4c4b9af3be3ffd58734f60f9ce EBUILD djvu-3.5.20-r1.ebuild 3529 RMD160 4b825dd7c68b98f50822eb93d699c378a8d64070 SHA1 0de6921d71beed554833cb06b0113a3eb1864cc7 SHA256 f71a61f4128e94ce75f520f4d9752cfcab91da6bceb4fd2f0409a8a0a1dbfc83 -MISC ChangeLog 9983 RMD160 8d16951eba48b39f6338e8b9e0b433d842b7882b SHA1 e6de9d44758d4db0ac5a90aa046ef476171e828b SHA256 425f6ca963c6df9c2505372fb95cc7eb21df2671cd986d5c77cac7d7ddcc7314 +EBUILD djvu-3.5.21.ebuild 3180 RMD160 be26263e509f1147e6c1e7b98f63dc7f87ec6a2e SHA1 6980e2b0ea753e984cbc312e186a3164072b1524 SHA256 abd794a59dbd9c17e452709933132a833629f9237ebcee5dcef20a625eeb10bb +MISC ChangeLog 10089 RMD160 63334885df444b2cc313ea355ca03a214a1edae7 SHA1 2a9765dfbd74e8649b41c122b7e3496e96d85531 SHA256 25740e1e1afb8c010bb6a176d7092ab404d832fa251a0995592f2724d5a41c14 MISC metadata.xml 865 RMD160 09cb90b4680856217c680e395e15957263c01472 SHA1 35e8a38a7dbed0d7f547cf21fa5bbb0133591e3d SHA256 13f4ad340f245deb6b5ba0d5ecfd5fe5aa408ff8ef9b2fe37a2f63ffc793c672 diff --git a/app-text/djvu/djvu-3.5.21.ebuild b/app-text/djvu/djvu-3.5.21.ebuild new file mode 100644 index 000000000000..f273efe2cfca --- /dev/null +++ b/app-text/djvu/djvu-3.5.21.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.21.ebuild,v 1.1 2008/08/25 21:34:58 pva Exp $ + +EAPI=1 +inherit fdo-mime nsplugins flag-o-matic eutils multilib toolchain-funcs confutils + +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 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="xml qt3 jpeg tiff debug threads nls nsplugin kde doc" + +DEPEND="jpeg? ( >=media-libs/jpeg-6b-r2 ) + tiff? ( media-libs/tiff ) + qt3? ( x11-libs/qt:3 )" + +S=${WORKDIR}/${MY_P} + +LANGS="cs de en fr ja zh" +for X in ${LANGS}; do + IUSE="${IUSE} linguas_${X}" +done + +pkg_setup() { + if ! use qt3; then + ewarn + ewarn "The standalone djvu viewer, djview, will not be compiled." + ewarn "Add \"qt3\" to your USE flags if you want it." + ewarn + fi + + confutils_use_depend_all nsplugin qt3 +} + +src_compile() { + local I18N + if use nls; then + for X in ${LANGS}; do + if use linguas_${X}; then + I18N="${I18N} ${X}" + fi + done + I18N="${I18N# }" + if test -n "$I18N"; then + I18N="--enable-i18n=${I18N}" + else + I18N="--enable-i18n" + fi + else + I18N="--disable-i18n" + fi + + # When enabling qt it must be compiled with threads. See bug #89544. + if use qt3 ; then + QTCONF=" --with-qt --enable-threads " + elif use threads ; then + QTCONF=" --without-qt --disable-djview --enable-threads " + else + QTCONF=" --without-qt --disable-djview --disable-threads " + fi + + # We install all desktop files by hand. + econf --disable-desktopfiles \ + $(use_enable xml xmltools) \ + $(use_with jpeg) \ + $(use_with tiff) \ + "${I18N}" \ + $(use_enable debug) \ + ${QTCONF} \ + || die "econf failed" + + if ! use nsplugin; then + sed -e 's:nsdejavu::' -i "${S}"/gui/Makefile || die + fi + + emake -j1 || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" plugindir=/usr/$(get_libdir)/${PLUGINS_DIR} install + + dodoc README TODO NEWS + + use doc && cp -r doc/ "${D}"/usr/share/doc/${PF} + + # Install desktop files. + cd desktopfiles + insinto /usr/share/icons/hicolor/22x22/mimetypes && newins hi22-djvu.png image-vnd.djvu.png || die + insinto /usr/share/icons/hicolor/32x32/mimetypes && newins hi32-djvu.png image-vnd.djvu.png || die + insinto /usr/share/icons/hicolor/48x48/mimetypes && newins hi48-djvu.png image-vnd.djvu.png || die + insinto /usr/share/mime/packages && doins djvulibre-mime.xml || die + if use kde ; then + insinto /usr/share/mimelnk/image && doins vnd.djvu.desktop || die + cp "${D}"/usr/share/mimelnk/image/{vnd.djvu.desktop,x-djvu.desktop} + sed -i -e 's:image/vnd.djvu:image/x-djvu:' "${D}"/usr/share/mimelnk/image/x-djvu.desktop + fi + + if use qt3 ; then + insinto /usr/share/icons/hicolor/32x32/apps && newins hi32-djview3.png djvulibre-djview3.png || die + insinto /usr/share/applications/ && doins djvulibre-djview3.desktop || die + fi +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} |