summaryrefslogtreecommitdiff
path: root/games-misc/gtklife
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-21 17:50:24 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-21 17:50:24 +0100
commitfeb0daf81d888e9160f9f94502de09b66f2a63fd (patch)
treeb6e5c40ce2abef3da27ed50a023153f475e0ddef /games-misc/gtklife
parent9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff)
gentoo resync : 21.06.2020
Diffstat (limited to 'games-misc/gtklife')
-rw-r--r--games-misc/gtklife/Manifest5
-rw-r--r--games-misc/gtklife/files/gtklife-5.1-link.patch20
-rw-r--r--games-misc/gtklife/gtklife-5.2.ebuild (renamed from games-misc/gtklife/gtklife-5.1-r1.ebuild)22
3 files changed, 14 insertions, 33 deletions
diff --git a/games-misc/gtklife/Manifest b/games-misc/gtklife/Manifest
index 2c76d527d6e8..30e3d8ecdbe7 100644
--- a/games-misc/gtklife/Manifest
+++ b/games-misc/gtklife/Manifest
@@ -1,4 +1,3 @@
-AUX gtklife-5.1-link.patch 578 BLAKE2B 27c3ca447d6c46551c1d3966921f88ca3f0b89a5371cfa07cf875805439de3fc0604de048c8c54a1020e80ff1e8949bcaa9bf45a550e5617c00f3840902c3f99 SHA512 2bcfff0164f13dd236edd3d2b88c37aebd79bf6344b7f0108a51b652cf291ea67d9ef4a4b0ccb11bd97a867617b4fb45b0b4668e8014e5c53ebcb345e1937a97
-DIST gtklife-5.1.tar.gz 809542 BLAKE2B 379f2f69c9fdc55dbc48d62b7659dacf9070c561a6765e9f3b6656e11542d94e2b4214708fd92aae4a560cd5a8d93d5c3cc4f119c7fb95dd561b487090897f19 SHA512 b80a2f0fc41583c2905e84e00baf689870c22262a55af25dfc2fe9e914d214f9c01b6800125e68516b63067005d25338ee7edf0c63ee37327479411693840025
-EBUILD gtklife-5.1-r1.ebuild 781 BLAKE2B 55a5f362fa7b2b6fc386018df9475f5cff04d311c9bfd182437bcc71fb168f48a32ee67c4b68bf17424c07dd72002cda38e0aa13d05b2dc603df78d25e60af99 SHA512 30087cc2ca2b2133a52bbfa0592df47a16ceebdeb6380720f6c50c33209648515c441dba70cc6c22f850affff4f3a06fb7857425c360c0e600d664e41a7862b4
+DIST gtklife-5.2.tar.gz 808937 BLAKE2B c6eb8e8fac94db2872a83060ed1b5fc96bb097dc2e43e90b0b82acdc65e36774e9e655a4cd523693cbe6f0d8bf8646b3fbd3fa7ea4fc01e9d60b5173d1199be9 SHA512 3c40368fbfbf3092c5f8976ed797858a50d67044c5ef029ff52aab911d04899e3f09f564c883905fa23ee5b3c313ef129094affe533e6fc795071f5a18bca3e5
+EBUILD gtklife-5.2.ebuild 755 BLAKE2B 11fb0ce3f358f9af1d6fc17e625ce59554d3529d88b6e6b7687a6a468ee842c41b373128ddb2f7e1fabb6b6ba8fd91ea6448388e1262687c54b074841b1c872a SHA512 70009177448fb9de9fb448bab2bd99a0d29348aa5bca42bc7d7d7f1a3b703abde7c681179ffcccc2a6d2c5abc53ba213983d4e7c6d3187a830ca5189d9ff5081
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-misc/gtklife/files/gtklife-5.1-link.patch b/games-misc/gtklife/files/gtklife-5.1-link.patch
deleted file mode 100644
index 0971a5d73cc8..000000000000
--- a/games-misc/gtklife/files/gtklife-5.1-link.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/Makefile.in 2014-07-24 21:25:09.072431615 +0200
-+++ b/Makefile.in 2014-07-24 21:26:34.898037740 +0200
-@@ -22,7 +22,7 @@
- # Preprocessor and linking flags
-
- CPPFLAGS:=$(CPPFLAGS) $(GTK_CFLAGS) -DVERSION=\"$(VERSION)\" -DDATADIR=\"$(pkgdatadir)\" -DDOCDIR=\"$(docdir)\"
--LDFLAGS:=$(LDFLAGS) $(GTK_LIBS)
-+LDLIBS:=$(GTK_LIBS) -lX11
-
- # Object files
-
-@@ -51,7 +51,7 @@
- $(INSTALL_DATA) doc/* $(docdir)
-
- gtklife: $(OBJS)
-- $(CC) -o gtklife $(OBJS) $(LDFLAGS)
-+ $(CC) -o gtklife $(OBJS) $(LDFLAGS) $(LDLIBS)
-
- create_lookup: $(CL_OBJS)
- $(CC) -o create_lookup $(CL_OBJS)
diff --git a/games-misc/gtklife/gtklife-5.1-r1.ebuild b/games-misc/gtklife/gtklife-5.2.ebuild
index bca795466a9a..07b83da645e7 100644
--- a/games-misc/gtklife/gtklife-5.1-r1.ebuild
+++ b/games-misc/gtklife/gtklife-5.2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils
+EAPI=7
+
+inherit desktop xdg
DESCRIPTION="A Conway's Life simulator for Unix"
HOMEPAGE="http://ironphoenix.org/tril/gtklife/"
@@ -11,18 +12,19 @@ SRC_URI="http://ironphoenix.org/tril/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~x86"
-IUSE=""
RDEPEND="
dev-libs/glib:2
x11-libs/gtk+:2
x11-libs/libX11"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-PATCHES=(
- "${FILESDIR}"/${P}-link.patch
-)
+DEPEND="
+ ${RDEPEND}
+"
+
+BDEPEND="
+ virtual/pkgconfig
+"
src_configure() {
econf \
@@ -36,7 +38,7 @@ src_install() {
insinto /usr/share/${PN}
doins -r graphics patterns
- newicon icon_48x48.png ${PN}.png
+ newicon -s 48 icon_48x48.png ${PN}.png
make_desktop_entry ${PN} GtkLife
dodoc -r doc/*