summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2013-08-22 11:48:10 +0000
committerMikle Kolyada <zlogene@gentoo.org>2013-08-22 11:48:10 +0000
commit5904b806ce005567def860a633875c8f3c253944 (patch)
tree10e90c371fb25ee32ca4f8822371a991f806bdd8 /media-gfx/fbgrab
parentdrop older version 136 (diff)
downloadgentoo-2-5904b806ce005567def860a633875c8f3c253944.tar.gz
gentoo-2-5904b806ce005567def860a633875c8f3c253944.tar.bz2
gentoo-2-5904b806ce005567def860a633875c8f3c253944.zip
version bump
(Portage version: 2.1.12.2/cvs/Linux i686, signed Manifest commit with key 0xC42EB5D6)
Diffstat (limited to 'media-gfx/fbgrab')
-rw-r--r--media-gfx/fbgrab/ChangeLog8
-rw-r--r--media-gfx/fbgrab/fbgrab-1.1.ebuild38
-rw-r--r--media-gfx/fbgrab/files/fbgrab-1.1-Makefile.patch12
3 files changed, 57 insertions, 1 deletions
diff --git a/media-gfx/fbgrab/ChangeLog b/media-gfx/fbgrab/ChangeLog
index bce4ad78da4e..28af2c838523 100644
--- a/media-gfx/fbgrab/ChangeLog
+++ b/media-gfx/fbgrab/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/fbgrab
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/fbgrab/ChangeLog,v 1.27 2013/06/27 23:09:34 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fbgrab/ChangeLog,v 1.28 2013/08/22 11:48:10 zlogene Exp $
+
+*fbgrab-1.1 (22 Aug 2013)
+
+ 22 Aug 2013; Mikle Kolyada <zlogene@gentoo.org> +fbgrab-1.1.ebuild,
+ +files/fbgrab-1.1-Makefile.patch:
+ version bump
27 Jun 2013; Mikle Kolyada <zlogene@gentoo.org> -fbgrab-1.0.ebuild:
drop old
diff --git a/media-gfx/fbgrab/fbgrab-1.1.ebuild b/media-gfx/fbgrab/fbgrab-1.1.ebuild
new file mode 100644
index 000000000000..b972d649c81d
--- /dev/null
+++ b/media-gfx/fbgrab/fbgrab-1.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fbgrab/fbgrab-1.1.ebuild,v 1.1 2013/08/22 11:48:09 zlogene Exp $
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Framebuffer screenshot utility"
+HOMEPAGE="http://fbgrab.monells.se/"
+SRC_URI="http://fbgrab.monells.se/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libpng:=
+ sys-libs/zlib"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-Makefile.patch"
+
+ epatch_user
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin ${PN}
+ newman ${PN}.1.man ${PN}.1
+}
diff --git a/media-gfx/fbgrab/files/fbgrab-1.1-Makefile.patch b/media-gfx/fbgrab/files/fbgrab-1.1-Makefile.patch
new file mode 100644
index 000000000000..5280a0a1e516
--- /dev/null
+++ b/media-gfx/fbgrab/files/fbgrab-1.1-Makefile.patch
@@ -0,0 +1,12 @@
+diff -ru fbgrab.orig/Makefile fbgrab/Makefile
+--- fbgrab.orig/Makefile 2013-05-24 00:14:45.000000000 +0400
++++ fbgrab/Makefile 2013-08-22 14:39:18.000000000 +0400
+@@ -4,7 +4,7 @@
+ ###
+
+ fbgrab: fbgrab.c
+- gcc -g -Wall fbgrab.c -lpng -lz -o fbgrab
++ $(CC) -Wall ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} fbgrab.c -lpng -lz -o fbgrab
+
+ install:
+ install fbgrab /usr/bin/fbgrab