summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2021-07-26 14:36:11 +0300
committerSergey Popov <pinkbyte@gentoo.org>2021-07-26 14:38:50 +0300
commit53e8daf7b346ea12686645b566f3b4f53103df65 (patch)
tree2ec073d4363c62d4e4e7fdeaf86ee8539c956a0d /media-gfx/fbgrab
parentdev-python/sqlalchemy: Stabilize 1.4.20 ppc, #803797 (diff)
downloadgentoo-53e8daf7b346ea12686645b566f3b4f53103df65.tar.gz
gentoo-53e8daf7b346ea12686645b566f3b4f53103df65.tar.bz2
gentoo-53e8daf7b346ea12686645b566f3b4f53103df65.zip
media-gfx/fbgrab: version bump, add info about upstream repo
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
Diffstat (limited to 'media-gfx/fbgrab')
-rw-r--r--media-gfx/fbgrab/Manifest1
-rw-r--r--media-gfx/fbgrab/fbgrab-1.5.ebuild33
-rw-r--r--media-gfx/fbgrab/metadata.xml3
3 files changed, 37 insertions, 0 deletions
diff --git a/media-gfx/fbgrab/Manifest b/media-gfx/fbgrab/Manifest
index e20775b4ee5d..502d86001dee 100644
--- a/media-gfx/fbgrab/Manifest
+++ b/media-gfx/fbgrab/Manifest
@@ -1,2 +1,3 @@
DIST fbgrab-1.3.3.tar.gz 36332 BLAKE2B 446b3b8e7cf80fae784e6e7f9b49c881b43f1b96a43382894caf38856ae9142bac5e8f849e3d6c878ea555270c57b85cd0dec9ead72513d9a8dc0761fae9985f SHA512 463d05e7df4e652ccc7aa8144d06323f3a20dfae71aafea251699e3b45db0d50b5a1b97f3a115569f7d301380306cdf909aee5f628943ea05c8f23fc9bbf81c5
DIST fbgrab-1.3.tar.gz 13027 BLAKE2B 57acd93432b01befd99c73e45337bd2eecfdb18b9b5d98106e1a433b48bb03ef05cc5d3a99e0a34f501bb4d0731c8d6c92bcd8b145dd5f503632b63d41d902d5 SHA512 2d1166890f41d7de813a6c9b722db148980fcc802da38dea1a42d1f150cbdc16d0dd6757bc334586402f109b382e5039d44b03f9f19024f546958bdf21ca5d52
+DIST fbgrab-1.5.tar.gz 37010 BLAKE2B aff706ef46664216ac1846d0e8fe37646fcb900cce1d451560d024edf3aab4c1817739cb26cae4d9491ae98c5e2d3fda96509f539514b701b7c7ae54ee9a8d02 SHA512 475d377480b9e67f618e19967d4bae5890a78aa00236583914b4ac81f468d8282e1767d85009101f6b03ddc091da8416dcbae451b191a79013e1632d91155c23
diff --git a/media-gfx/fbgrab/fbgrab-1.5.ebuild b/media-gfx/fbgrab/fbgrab-1.5.ebuild
new file mode 100644
index 000000000000..cdfb3f5a4edd
--- /dev/null
+++ b/media-gfx/fbgrab/fbgrab-1.5.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Framebuffer screenshot utility"
+HOMEPAGE="https://github.com/GunnarMonell/fbgrab"
+SRC_URI="https://github.com/GunnarMonell/fbgrab/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+RDEPEND="media-libs/libpng:=
+ sys-libs/zlib"
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/gzip"
+
+src_prepare() {
+ default
+ sed -i -e "s:-g::" Makefile || die "sed failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin ${PN}
+ newman ${PN}.1.man ${PN}.1
+}
diff --git a/media-gfx/fbgrab/metadata.xml b/media-gfx/fbgrab/metadata.xml
index 5b159fbcadd1..b5b4fedf6096 100644
--- a/media-gfx/fbgrab/metadata.xml
+++ b/media-gfx/fbgrab/metadata.xml
@@ -5,4 +5,7 @@
<email>pinkbyte@gentoo.org</email>
<name>Sergey Popov</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">GunnarMonell/fbgrab</remote-id>
+ </upstream>
</pkgmetadata>