summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2014-01-11 02:06:25 +0000
committerMichael Weber <xmw@gentoo.org>2014-01-11 02:06:25 +0000
commit09f75687f029489d95d2ea9044ea2447a5121007 (patch)
tree786d2fad64d389fe9d9fddff209b0fe126eee8dc /media-gfx/fim
parentneed old giflib version (diff)
downloadgentoo-2-09f75687f029489d95d2ea9044ea2447a5121007.tar.gz
gentoo-2-09f75687f029489d95d2ea9044ea2447a5121007.tar.bz2
gentoo-2-09f75687f029489d95d2ea9044ea2447a5121007.zip
Version bump 492666
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'media-gfx/fim')
-rw-r--r--media-gfx/fim/ChangeLog8
-rw-r--r--media-gfx/fim/files/fim-0.4_rc1-nosvn.patch11
-rw-r--r--media-gfx/fim/fim-0.4_rc1.ebuild98
3 files changed, 116 insertions, 1 deletions
diff --git a/media-gfx/fim/ChangeLog b/media-gfx/fim/ChangeLog
index c8329f5113fd..24f972de9ce7 100644
--- a/media-gfx/fim/ChangeLog
+++ b/media-gfx/fim/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/fim
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/fim/ChangeLog,v 1.3 2014/01/11 01:31:35 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fim/ChangeLog,v 1.4 2014/01/11 02:06:24 xmw Exp $
+
+*fim-0.4_rc1 (11 Jan 2014)
+
+ 11 Jan 2014; Michael Weber <xmw@gentoo.org> +files/fim-0.4_rc1-nosvn.patch,
+ +fim-0.4_rc1.ebuild:
+ Version bump 492666
11 Jan 2014; Michael Weber <xmw@gentoo.org> fim-0.4_pre.ebuild:
need old giflib version
diff --git a/media-gfx/fim/files/fim-0.4_rc1-nosvn.patch b/media-gfx/fim/files/fim-0.4_rc1-nosvn.patch
new file mode 100644
index 000000000000..ec7a7e69a83d
--- /dev/null
+++ b/media-gfx/fim/files/fim-0.4_rc1-nosvn.patch
@@ -0,0 +1,11 @@
+--- fim-0.4-rc1/configure.ac
++++ fim-0.4-rc1/configure.ac
+@@ -10,7 +10,7 @@
+ #AC_PROG_CC(cc gcc)
+ #AC_PROG_CXX(CC g++ gcc c++ cxx)
+
+-define([svnversion],esyscmd([sh -c "svnversion | tr -c '[0-9]' ' ' | sed 's/ *//g;s/^$/-1/g' "]))dnl
++define([svnversion],esyscmd([sh -c "echo -n -1"]))dnl
+ AC_INIT([fim],[0.4-rc1],[dezperado_FOobAr_autistici_Baz_org, by replacing _FOobAr_ with a @ and _Baz_ with a .])
+ AC_CONFIG_SRCDIR([src/fim.cpp])
+
diff --git a/media-gfx/fim/fim-0.4_rc1.ebuild b/media-gfx/fim/fim-0.4_rc1.ebuild
new file mode 100644
index 000000000000..58dc09b734a4
--- /dev/null
+++ b/media-gfx/fim/fim-0.4_rc1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fim/fim-0.4_rc1.ebuild,v 1.1 2014/01/11 02:06:24 xmw Exp $
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="Fbi-IMproved is a framebuffer image viewer based on Fbi and inspired from Vim"
+HOMEPAGE="http://savannah.nongnu.org/projects/fbi-improved"
+SRC_URI="http://download.savannah.gnu.org/releases/fbi-improved/${P/_rc/-rc}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="aalib dia djvu exif fbcon gif graphicsmagick imagemagick jpeg pdf png postscript readline sdl static svg tiff xfig"
+
+RDEPEND="media-fonts/terminus-font
+ aalib? ( media-libs/aalib[slang] )
+ dia? ( app-office/dia )
+ djvu? ( app-text/djvu )
+ exif? ( media-libs/libexif )
+ gif? ( media-libs/giflib )
+ graphicsmagick? ( media-gfx/graphicsmagick )
+ imagemagick? ( || ( media-gfx/graphicsmagick[imagemagick] media-gfx/imagemagick ) )
+ jpeg? ( virtual/jpeg )
+ pdf? ( app-text/poppler )
+ png? ( media-libs/libpng )
+ postscript? ( app-text/libspectre )
+ readline? ( sys-libs/readline )
+ sdl? ( media-libs/libsdl )
+ svg? ( media-gfx/inkscape )
+ tiff? ( media-libs/tiff )
+ xfig? ( media-gfx/xfig )"
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex"
+
+S=${WORKDIR}/${P/_rc/-rc}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-nosvn.patch
+ if use graphicsmagick ; then
+ epatch "${FILESDIR}"/${PN}-0.4_pre-graphicsmagick.patch
+ fi
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable aalib aa) \
+ $(use_enable dia) \
+ $(use_enable djvu) \
+ $(use_enable exif) \
+ $(use_enable fbcon framebuffer) \
+ $(use_enable gif) \
+ $(use_enable graphicsmagick) \
+ $(use_enable imagemagick convert) \
+ $(use_enable pdf poppler) \
+ $(use_enable png) \
+ $(use_enable postscript ps) \
+ $(use_enable readline) \
+ $(use_enable sdl) \
+ $(use_enable static) \
+ $(use_enable svg inkscape) \
+ $(use_enable tiff) \
+ $(use_enable xfig) \
+ --disable-hardcoded-font \
+ --disable-imlib2 \
+ --disable-matrices-rendering \
+ --disable-xcftopnm \
+ --enable-fimrc \
+ --enable-history \
+ --enable-loader-string-specification \
+ --enable-mark-and-dump \
+ --enable-output-console \
+ --enable-raw-bits-rendering \
+ --enable-read-dirs \
+ --enable-recursive-dirs \
+ --enable-resize-optimizations \
+ --enable-scan-consolefonts \
+ --enable-screen \
+ --enable-scripting \
+ --enable-seek-magic \
+ --enable-stdin-image-reading \
+ --enable-unicode \
+ --enable-warnings \
+ --enable-windows \
+ --with-default-consolefont=/usr/share/consolefonts/ter-114n.psf.gz
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install
+}