diff options
author | 2015-03-09 07:57:23 +0000 | |
---|---|---|
committer | 2015-03-09 07:57:23 +0000 | |
commit | 6ea9cd5d14fa131f3876e0a52bfebf8be800425f (patch) | |
tree | 81bc485feb56bfaf8a3ad8bc433c2086a1bd1921 /app-text/djvu | |
parent | version bump (diff) | |
download | gentoo-2-6ea9cd5d14fa131f3876e0a52bfebf8be800425f.tar.gz gentoo-2-6ea9cd5d14fa131f3876e0a52bfebf8be800425f.tar.bz2 gentoo-2-6ea9cd5d14fa131f3876e0a52bfebf8be800425f.zip |
version bump
Signed-off-by: aballier@gentoo.org
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'app-text/djvu')
-rw-r--r-- | app-text/djvu/ChangeLog | 9 | ||||
-rw-r--r-- | app-text/djvu/djvu-3.5.27.ebuild | 64 |
2 files changed, 71 insertions, 2 deletions
diff --git a/app-text/djvu/ChangeLog b/app-text/djvu/ChangeLog index efd5b9e0e335..636d58d50b46 100644 --- a/app-text/djvu/ChangeLog +++ b/app-text/djvu/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/djvu -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.150 2014/11/12 08:26:30 jlec Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.151 2015/03/09 07:57:23 aballier Exp $ + +*djvu-3.5.27 (09 Mar 2015) + + 09 Mar 2015; Alexis Ballier <aballier@gentoo.org> +djvu-3.5.27.ebuild: + version bump 12 Nov 2014; Justin Lecher <jlec@gentoo.org> djvu-3.5.25.3.ebuild, metadata.xml: diff --git a/app-text/djvu/djvu-3.5.27.ebuild b/app-text/djvu/djvu-3.5.27.ebuild new file mode 100644 index 000000000000..42d2f059a3e8 --- /dev/null +++ b/app-text/djvu/djvu-3.5.27.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.27.ebuild,v 1.1 2015/03/09 07:57:23 aballier Exp $ + +EAPI=5 +inherit eutils fdo-mime flag-o-matic + +MY_P="${PN}libre-${PV#*_p}" + +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 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" +IUSE="debug doc jpeg tiff xml" + +RDEPEND="jpeg? ( virtual/jpeg:0 ) + tiff? ( media-libs/tiff:0= )" +DEPEND="${RDEPEND} + || ( gnome-base/librsvg media-gfx/inkscape )" + +S=${WORKDIR}/${MY_P%%.3} + +src_configure() { + use debug && append-cppflags "-DRUNTIME_DEBUG_ONLY" + + # We install all desktop files by hand. + econf \ + $(use_enable xml xmltools) \ + $(use_with jpeg) \ + $(use_with tiff) \ + --disable-desktopfiles +} + +DOCS=( NEWS README ) + +src_install() { + default + prune_libtool_files + + use doc && dodoc -r doc + + # Install desktop files. + cd desktopfiles + for i in {22,32,48,64}; do + insinto /usr/share/icons/hicolor/${i}x${i}/mimetypes + newins prebuilt-hi${i}-djvu.png image-vnd.djvu.png + done + insinto /usr/share/mime/packages + doins djvulibre-mime.xml +} + +pkg_postinst() { + fdo-mime_mime_database_update + if ! has_version app-text/djview; then + elog "For djviewer or browser plugin, emerge app-text/djview." + fi +} + +pkg_postrm() { + fdo-mime_mime_database_update +} |