summaryrefslogtreecommitdiff
path: root/x11-plugins/wmgrabimage
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-06-16 05:02:38 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-06-16 05:02:38 +0100
commitf1bc537f089cc8477a9a18db597cb349e1b00e91 (patch)
treec48eb730c43e5f35729fabbe5cb4bfbe4a1bc794 /x11-plugins/wmgrabimage
parentcb3e8c6af7661fbcafdcacc7e0ecdfb610d098fa (diff)
gentoo resync : 16.06.2018
Diffstat (limited to 'x11-plugins/wmgrabimage')
-rw-r--r--x11-plugins/wmgrabimage/Manifest5
-rw-r--r--x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch4
-rw-r--r--x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild4
-rw-r--r--x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild49
4 files changed, 56 insertions, 6 deletions
diff --git a/x11-plugins/wmgrabimage/Manifest b/x11-plugins/wmgrabimage/Manifest
index 84045d6487de..7e38fb3e5339 100644
--- a/x11-plugins/wmgrabimage/Manifest
+++ b/x11-plugins/wmgrabimage/Manifest
@@ -1,5 +1,6 @@
-AUX wmgrabimage-noman.patch 296 BLAKE2B fd055cac17460696c688b8e078a9759047cb02e84d6efda95d87d9c67e61b3fc618b172240b0632f4f02ecb99c0ed4392cc1982a869ace5b18e8bf38036c6850 SHA512 201cd10897b1862dbfbc07fc381e34f86cb4b7660f543617bdd83bbacca57b996c20ce20b85c83b98862f0a7771d5a836bbc9c68b74a34538af4d139c5f71aa5
+AUX wmgrabimage-noman.patch 295 BLAKE2B cb10ee8ea0e98a2c77fe51fb333ce722efa8d0ce7b4296cdae925deae9a4ac946cc88d97e5da6805ba3385381fbd4651fd4a4b75eedac0678b6d52b6b9d59496 SHA512 adaace112266f179c120fac600d5b4eb016806ac7075f69663880c5f518e09ee213f899318b74feb2777e5504c06fdc72f4d54e733fc9f2ba9bd533490c42307
AUX wmgrabimage.desktop 165 BLAKE2B 8faac723c7263861d7c348c33310882b39e4ca864e275d139a970d1377f4531c939dfffb569e29dcb952468e0d0dac61477125b77c4b6adb0ed3c1e76aaf227e SHA512 3d08f5a93d1ff356adb86b8636f092bf89fee18e238b8cbd2f7739239e996dd524f5fddc3821bf24f8c7271f1d9c7cd67300d58e31814a117697cfd9f3fd1458
DIST wmGrabImage-0.72.tgz 19902 BLAKE2B d9000c03e4f9a3584f356c18fd4e4767ccc235708e0d3554fd6a0defa6108de3f52a90825b4ed7d334b545340ec9e463e67aae89062f5b0e2622c9e6d851a796 SHA512 64909db71d141ccf849eacbb100072a53770601fdf23949f76a45d1d25f5015ebb8f3a3da99e8f311977967d44a6db6596c2bcbe961fb8e313e41cad4960c92e
-EBUILD wmgrabimage-0.72-r1.ebuild 1142 BLAKE2B b0791fb38bf0a9b1fefcf1855c60a531a28e93ee30045cde3a2882dc63fed219898c793a3a5c83f2fbeb47cc00bc181299b49e6a8c014af4c979ea0ec7c75244 SHA512 db663e3133363628e79dc64161b67997c8b5f76f7d6823e8dbd9e06516a5a4c8bb8dbfc1296f8d58ef7c9c95845d82c99a0df2edfeafac3bfa2d981863ce55e2
+EBUILD wmgrabimage-0.72-r1.ebuild 1144 BLAKE2B 6227ced650853a2f35796a92079e33637cf8dd3c6dd6df38052681c5cd630eccec96fdf7fd583277e916588118f730f3a7fd0217189e59a80d96fe29cf923305 SHA512 79a6a60a3b44c7bd5e252d0e998dfaf3a3e60a19b436efca305d672723f531f2e19e9524123b9766629fa5cc5ced9b4ae2d2a9016805cc890f533a184baa9872
+EBUILD wmgrabimage-0.72-r2.ebuild 1058 BLAKE2B f04fab98ad8e5078e996612dabe12b06141d49a1ca26f607309f491884c64dfac8c9ae2ed51dff1275abed858ce259f562e642b2c3d1a9a0585b137b61cc6405 SHA512 47855c59948300450714f52b822f9bfcc2c5b84e4865304bf111fd8f13af92a4011495dcfbaa0451c4be347a0a13b8dbfd440202b4a73db1bc6f569da4480253
MISC metadata.xml 249 BLAKE2B ba223d81d4cf6b9ca1ba3a63e356bec0d9aa6f4cdf2ad3b29a6c97a6e5bad854154f8b9e6fc3d65d155c93daa706d03c84395b53951e3e326ffc19c8d0df0eb5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d
diff --git a/x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch b/x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch
index e9e649f1f65c..27b2f71b5b8e 100644
--- a/x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch
+++ b/x11-plugins/wmgrabimage/files/wmgrabimage-noman.patch
@@ -1,5 +1,5 @@
---- Makefile.orig 2001-05-27 19:02:18.000000000 +0000
-+++ Makefile 2004-06-22 21:05:36.711363520 +0000
+--- a/Makefile 2001-05-27 19:02:18.000000000 +0000
++++ b/Makefile 2004-06-22 21:05:36.711363520 +0000
@@ -30,5 +30,4 @@
install:: wmGrabImage
install -s -m 0755 wmGrabImage $(DESTDIR)/bin
diff --git a/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild
index b64e3a685bf8..4ad78dfcd83b 100644
--- a/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild
+++ b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r1.ebuild
@@ -8,8 +8,8 @@ inherit eutils
MY_PN=${PN/grabi/GrabI}
DESCRIPTION="wmGrabImage grabs an image from the WWW and displays it"
-HOMEPAGE="http://www.dockapps.net/wmgrabimage"
-SRC_URI="http://www.dockapps.net/download/${MY_PN}-${PV}.tgz"
+HOMEPAGE="https://www.dockapps.net/wmgrabimage"
+SRC_URI="https://www.dockapps.net/download/${MY_PN}-${PV}.tgz"
LICENSE="GPL-2"
SLOT="0"
diff --git a/x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild
new file mode 100644
index 000000000000..1c59b3de60d7
--- /dev/null
+++ b/x11-plugins/wmgrabimage/wmgrabimage-0.72-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop
+
+MY_PN=${PN/grabi/GrabI}
+
+DESCRIPTION="wmGrabImage grabs an image from the WWW and displays it"
+HOMEPAGE="https://www.dockapps.net/wmgrabimage"
+SRC_URI="https://www.dockapps.net/download/${MY_PN}-${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=net-misc/wget-1.9-r2
+ >=media-gfx/imagemagick-5.5.7.15
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto"
+
+S=${WORKDIR}/${MY_PN}-${PV}/${MY_PN}
+
+PATCHES=( "${FILESDIR}"/${PN}-noman.patch )
+
+src_prepare() {
+ sed -i -e 's/-geom /-geometry /' GrabImage || die "sed failed."
+ sed -i -e 's/install -s -m /install -m /' Makefile || die "sed failed."
+ default
+}
+
+src_compile() {
+ emake clean
+ emake CFLAGS="${CFLAGS} -Wall" SYSTEM="${LDFLAGS}"
+}
+
+src_install() {
+ dodir /usr/bin
+ emake DESTDIR="${D}/usr" install
+
+ doman wmGrabImage.1
+ domenu "${FILESDIR}"/${PN}.desktop
+ dodoc ../{BUGS,CHANGES,HINTS,TODO}
+}