summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarri Nieminen <moikkis@gmail.com>2017-02-07 15:47:08 +0200
committerDavid Seifert <soap@gentoo.org>2017-02-07 18:44:36 +0100
commit24ae1b4d372f49393b5b0dd9dd20deda1ceda2a4 (patch)
tree8459110441d830aa3afc6a1065c4199a478b0fe6 /x11-misc/grabc
parentmedia-plugins/kodi-pvr-vdr-vnsi: 2.6.17 version bump (diff)
downloadgentoo-24ae1b4d372f49393b5b0dd9dd20deda1ceda2a4.tar.gz
gentoo-24ae1b4d372f49393b5b0dd9dd20deda1ceda2a4.tar.bz2
gentoo-24ae1b4d372f49393b5b0dd9dd20deda1ceda2a4.zip
x11-misc/grabc: EAPI bump 0 -> 6, Fix DESCRIPTION.toolong
Also use https for links Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/3862
Diffstat (limited to 'x11-misc/grabc')
-rw-r--r--x11-misc/grabc/grabc-1.1-r1.ebuild8
-rw-r--r--x11-misc/grabc/grabc-1.1-r2.ebuild32
2 files changed, 36 insertions, 4 deletions
diff --git a/x11-misc/grabc/grabc-1.1-r1.ebuild b/x11-misc/grabc/grabc-1.1-r1.ebuild
index 05b5805d092c..5d685bde8d15 100644
--- a/x11-misc/grabc/grabc-1.1-r1.ebuild
+++ b/x11-misc/grabc/grabc-1.1-r1.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit eutils toolchain-funcs
S="${WORKDIR}/${PN}${PV}"
-DESCRIPTION="determine the color string in hex (or RGB components) by clicking on a pixel on the screen"
-HOMEPAGE="http://www.muquit.com/muquit/software/grabc/grabc.html"
-SRC_URI="http://www.muquit.com/muquit/software/${PN}/${PN}${PV}.tar.gz"
+DESCRIPTION="Identify color of a pixel on the screen by clicking on a pixel on the screen"
+HOMEPAGE="https://www.muquit.com/muquit/software/grabc/grabc.html"
+SRC_URI="https://www.muquit.com/muquit/software/${PN}/${PN}${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
diff --git a/x11-misc/grabc/grabc-1.1-r2.ebuild b/x11-misc/grabc/grabc-1.1-r2.ebuild
new file mode 100644
index 000000000000..b51d8973e67d
--- /dev/null
+++ b/x11-misc/grabc/grabc-1.1-r2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Identify color of a pixel on the screen by clicking on a pixel on the screen"
+HOMEPAGE="https://www.muquit.com/muquit/software/grabc/grabc.html"
+SRC_URI="https://www.muquit.com/muquit/software/${PN}/${PN}${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+S="${WORKDIR}/${PN}${PV}"
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+
+src_compile() {
+ tc-export CC
+ default
+}
+
+src_install() {
+ dobin grabc
+ einstalldocs
+}