summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/fbida/ChangeLog12
-rw-r--r--media-gfx/fbida/fbida-2.03-r1.ebuild61
-rw-r--r--media-gfx/fbida/files/digest-fbida-2.03-r11
3 files changed, 71 insertions, 3 deletions
diff --git a/media-gfx/fbida/ChangeLog b/media-gfx/fbida/ChangeLog
index 235e9623df4b..1da3de1c5f4c 100644
--- a/media-gfx/fbida/ChangeLog
+++ b/media-gfx/fbida/ChangeLog
@@ -1,13 +1,19 @@
# ChangeLog for media-gfx/fbida
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/fbida/ChangeLog,v 1.2 2005/03/08 01:00:39 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fbida/ChangeLog,v 1.3 2005/03/23 14:02:51 spock Exp $
- 08 Mar 2005; Michael Januszewski <spock@gentoo.org> fbida-2.03.ebuild:
+*fbida-2.03-r1 (23 Mar 2005)
+
+ 23 Mar 2005; Michał Januszewski <spock@gentoo.org> +fbida-2.03-r1.ebuild:
+ Removed dependency on libungif. Added a dependency on libexif. Closes #80414
+ and #85358.
+
+ 08 Mar 2005; Michał Januszewski <spock@gentoo.org> fbida-2.03.ebuild:
Added a block on media-gfx/fbi (bug #84417). Marked stable on x86.
*fbida-2.03 (06 Feb 2005)
- 06 Feb 2005; Michael Januszewski <spock@gentoo.org> +metadata.xml,
+ 06 Feb 2005; Michał Januszewski <spock@gentoo.org> +metadata.xml,
+fbida-2.03.ebuild:
Initial commit. Closes #80415.
diff --git a/media-gfx/fbida/fbida-2.03-r1.ebuild b/media-gfx/fbida/fbida-2.03-r1.ebuild
new file mode 100644
index 000000000000..1e09974784b9
--- /dev/null
+++ b/media-gfx/fbida/fbida-2.03-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fbida/fbida-2.03-r1.ebuild,v 1.1 2005/03/23 14:02:51 spock Exp $
+
+DESCRIPTION="Image viewers for the framebuffer console (fbi) and X11 (ida)."
+HOMEPAGE="http://linux.bytesex.org/fbida/"
+SRC_URI="http://dl.bytesex.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="png jpeg gif tiff curl lirc X fbcon"
+
+DEPEND="jpeg? ( >=media-libs/jpeg-6b )
+ png? ( media-libs/libpng )
+ gif? ( media-libs/giflib )
+ tiff? ( media-libs/tiff )
+ curl? ( net-misc/curl )
+ lirc? ( app-misc/lirc )
+ X? ( virtual/x11 virtual/motif )
+ !media-gfx/fbi
+ media-libs/libexif"
+
+src_unpack() {
+ unpack ${A}
+ sed -e 's/DGifOpenFileName,ungif/DGifOpenFileName,gif/' \
+ -e 's/-lungif/-lgif/' -i ${S}/GNUmakefile
+}
+
+src_compile() {
+ # let autoconf do its job and then fix things to build fbida
+ # according to our specifications
+ emake Make.config || die
+
+ set_feat() {
+ local useflag=${1}
+ local config=${2}
+
+ if ! use ${useflag}; then
+ sed -e "s/${config}.*/${config} := no/" -i ${S}/Make.config
+ fi
+ }
+
+ set_feat fbcon HAVE_LINUX_FB_H
+ set_feat X HAVE_MOTIF
+ set_feat tiff HAVE_LIBTIFF
+ set_feat png HAVE_LIBPNG
+ set_feat gif HAVE_LIBUNGIF
+ set_feat lirc HAVE_LIBLIRC
+ set_feat curl HAVE_LIBCURL
+
+ emake || die
+}
+
+src_install() {
+ make \
+ DESTDIR=${D} \
+ prefix=/usr \
+ install || die
+ dodoc README
+}
diff --git a/media-gfx/fbida/files/digest-fbida-2.03-r1 b/media-gfx/fbida/files/digest-fbida-2.03-r1
new file mode 100644
index 000000000000..2a165f0ce84e
--- /dev/null
+++ b/media-gfx/fbida/files/digest-fbida-2.03-r1
@@ -0,0 +1 @@
+MD5 8fd76661686a38a7bcd251b7aadc73eb fbida-2.03.tar.gz 205955