Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-misc/cbonsai/, games-misc/cbonsai/files/
Date: Tue, 31 Aug 2021 07:10:55
Message-Id: 1630393828.48115f737dbbe00bfc9ceedc2549e79fdc878f39.Alessandro-Barbieri@gentoo
1 commit: 48115f737dbbe00bfc9ceedc2549e79fdc878f39
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Tue Aug 31 07:10:28 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Tue Aug 31 07:10:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=48115f73
7
8 games-misc/cbonsai: add 1.3.1, drop 1.2.1
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 games-misc/cbonsai/Manifest | 2 +-
13 .../cbonsai/{cbonsai-1.2.1.ebuild => cbonsai-1.3.1.ebuild} | 14 ++++++++++++++
14 games-misc/cbonsai/files/cbonsai-respect-variables.patch | 4 ++--
15 3 files changed, 17 insertions(+), 3 deletions(-)
16
17 diff --git a/games-misc/cbonsai/Manifest b/games-misc/cbonsai/Manifest
18 index 14ee1341c..1ee2b2521 100644
19 --- a/games-misc/cbonsai/Manifest
20 +++ b/games-misc/cbonsai/Manifest
21 @@ -1 +1 @@
22 -DIST cbonsai-1.2.1.tar.bz2 20897 BLAKE2B c69c7b0d64b30d10decf08df4bedd4e125450faf6cdf9e36d0c8fd202e67443901832a7e191cf1af3498988fd16a8e06dd54b71b8e2639bdd2e2583fc6724a91 SHA512 daf9d023687ddd8d337636365e599bd546c187cd99773eebcc830c89460558890ba8e6e895977e619b267894908480aea59c6cbbeafff06730743ac6ba42afa6
23 +DIST cbonsai-1.3.1.tar.bz2 21669 BLAKE2B 702d5836bfa78f08e24328ebd3f1fe7f4693d0dc84fadd7cba56b13a91696ad101c3ae41f60008377a216ca60018ec29c521dadcf4bc0a9e18c330ec35dcd59a SHA512 6222a1e080eddf68527d151bc510d7a9cdc91d703d7e4669e37b872a5da79ecd12f9b18e8139be763a688085f4a7256fdef76a092e03bebbdda00bd6912109c3
24
25 diff --git a/games-misc/cbonsai/cbonsai-1.2.1.ebuild b/games-misc/cbonsai/cbonsai-1.3.1.ebuild
26 similarity index 71%
27 rename from games-misc/cbonsai/cbonsai-1.2.1.ebuild
28 rename to games-misc/cbonsai/cbonsai-1.3.1.ebuild
29 index 3b74405de..a165c49d6 100644
30 --- a/games-misc/cbonsai/cbonsai-1.2.1.ebuild
31 +++ b/games-misc/cbonsai/cbonsai-1.3.1.ebuild
32 @@ -12,4 +12,18 @@ LICENSE="GPL-3"
33 SLOT="0"
34 KEYWORDS="~amd64"
35
36 +BDEPEND="
37 + app-text/scdoc
38 + virtual/pkgconfig
39 +"
40 +
41 PATCHES=( "${FILESDIR}/${PN}-respect-variables.patch" )
42 +
43 +src_compile() {
44 + emake cbonsai
45 + emake cbonsai.1
46 +}
47 +
48 +src_install() {
49 + PREFIX="${EPREFIX}/usr" DESTDIR="${D}" emake install
50 +}
51
52 diff --git a/games-misc/cbonsai/files/cbonsai-respect-variables.patch b/games-misc/cbonsai/files/cbonsai-respect-variables.patch
53 index 3187e2847..460e51693 100644
54 --- a/games-misc/cbonsai/files/cbonsai-respect-variables.patch
55 +++ b/games-misc/cbonsai/files/cbonsai-respect-variables.patch
56 @@ -7,7 +7,7 @@
57 CFLAGS += -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-qual -pedantic $(shell $(PKG_CONFIG) --cflags ncursesw panelw)
58 -LDLIBS = $(shell $(PKG_CONFIG) --libs ncursesw panelw || echo "-lncursesw -ltinfo -lpanelw")
59 -PREFIX = /usr/local
60 -+LDLIBS = $(shell $(PKG_CONFIG) --libs ncursesw panelw || echo "-lncursesw -ltinfo -lpanelw") ${LDFLAGS}
61 ++LDLIBS = $(shell $(PKG_CONFIG) --libs ncursesw panelw || echo "-lncursesw -ltinfo -lpanelw") $(LDFLAGS)
62 + MANDIR = $(PREFIX)/share/man
63
64 cbonsai: cbonsai.c
65 -