public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-misc/cbonsai/files/, games-misc/cbonsai/
Date: Thu, 15 Jul 2021 17:12:27 +0000 (UTC)	[thread overview]
Message-ID: <1626369145.22575c16be0a00285114b14a3efa368144675fae.Alessandro-Barbieri@gentoo> (raw)

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>lssndrbarbieri@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	other threads:[~2021-07-15 17:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1626369145.22575c16be0a00285114b14a3efa368144675fae.Alessandro-Barbieri@gentoo \
    --to=lssndrbarbieri@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox