commit:     22575c16be0a00285114b14a3efa368144675fae
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Jul 15 17:12:00 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Jul 15 17:12:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=22575c16

games-misc/cbonsai: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 games-misc/cbonsai/Manifest                              |  1 +
 games-misc/cbonsai/cbonsai-1.2.1.ebuild                  | 15 +++++++++++++++
 games-misc/cbonsai/files/cbonsai-respect-variables.patch | 13 +++++++++++++
 games-misc/cbonsai/metadata.xml                          | 15 +++++++++++++++
 4 files changed, 44 insertions(+)

diff --git a/games-misc/cbonsai/Manifest b/games-misc/cbonsai/Manifest
new file mode 100644
index 000000000..14ee1341c
--- /dev/null
+++ b/games-misc/cbonsai/Manifest
@@ -0,0 +1 @@
+DIST cbonsai-1.2.1.tar.bz2 20897 BLAKE2B 
c69c7b0d64b30d10decf08df4bedd4e125450faf6cdf9e36d0c8fd202e67443901832a7e191cf1af3498988fd16a8e06dd54b71b8e2639bdd2e2583fc6724a91
 SHA512 
daf9d023687ddd8d337636365e599bd546c187cd99773eebcc830c89460558890ba8e6e895977e619b267894908480aea59c6cbbeafff06730743ac6ba42afa6

diff --git a/games-misc/cbonsai/cbonsai-1.2.1.ebuild 
b/games-misc/cbonsai/cbonsai-1.2.1.ebuild
new file mode 100644
index 000000000..3b74405de
--- /dev/null
+++ b/games-misc/cbonsai/cbonsai-1.2.1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="grow bonsai trees in your terminal"
+HOMEPAGE="https://gitlab.com/jallbrit/cbonsai";
+SRC_URI="https://gitlab.com/jallbrit/cbonsai/-/archive/v${PV}/cbonsai-v${PV}.tar.bz2
 -> ${P}.tar.bz2"
+S="${WORKDIR}/${PN}-v${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PATCHES=( "${FILESDIR}/${PN}-respect-variables.patch" )

diff --git a/games-misc/cbonsai/files/cbonsai-respect-variables.patch 
b/games-misc/cbonsai/files/cbonsai-respect-variables.patch
new file mode 100644
index 000000000..3187e2847
--- /dev/null
+++ b/games-misc/cbonsai/files/cbonsai-respect-variables.patch
@@ -0,0 +1,13 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,9 +1,7 @@
+ .POSIX:
+-CC    = cc
+ PKG_CONFIG    ?= pkg-config
+ CFLAGS        += -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-qual -pedantic 
$(shell $(PKG_CONFIG) --cflags ncursesw panelw)
+-LDLIBS        = $(shell $(PKG_CONFIG) --libs ncursesw panelw || echo 
"-lncursesw -ltinfo -lpanelw")
+-PREFIX        = /usr/local
++LDLIBS        = $(shell $(PKG_CONFIG) --libs ncursesw panelw || echo 
"-lncursesw -ltinfo -lpanelw") ${LDFLAGS}
+ 
+ cbonsai: cbonsai.c
+ 

diff --git a/games-misc/cbonsai/metadata.xml b/games-misc/cbonsai/metadata.xml
new file mode 100644
index 000000000..5c0d6a88f
--- /dev/null
+++ b/games-misc/cbonsai/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbi...@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <longdescription lang="en">
+cbonsai is a bonsai tree generator, written in C using ncurses. It 
intelligently creates, colors, and positions a bonsai tree, and is entirely 
configurable via CLI options-- see usage. There are 2 modes of operation: 
static (see finished bonsai tree), and live (see growth step-by-step).
+  </longdescription>
+  <upstream>
+    <bugs-to>https://gitlab.com/jallbrit/cbonsai/-/issues</bugs-to>
+    <remote-id type="gitlab">jallbrit/cbonsai</remote-id> 
+  </upstream>
+</pkgmetadata> 

Reply via email to