summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorIsmael Luceno2022-07-31 14:27:52 +0200
committerIsmael Luceno2022-07-31 14:34:12 +0200
commit9a493113912a1b9289bd10eba28927ef1fc269a9 (patch)
tree8544d63e8df50b122211b93104948eafc07da63f /libs
parentc2ce29850a8139ecb5f9951ee11bd47754c2a323 (diff)
libt3widget: new spell, terminal-based widget library
Diffstat (limited to 'libs')
-rwxr-xr-xlibs/libt3widget/DEPENDS12
-rwxr-xr-xlibs/libt3widget/DETAILS16
-rw-r--r--libs/libt3widget/HISTORY2
-rwxr-xr-xlibs/libt3widget/PRE_BUILD3
4 files changed, 33 insertions, 0 deletions
diff --git a/libs/libt3widget/DEPENDS b/libs/libt3widget/DEPENDS
new file mode 100755
index 0000000000..dbea74fcd2
--- /dev/null
+++ b/libs/libt3widget/DEPENDS
@@ -0,0 +1,12 @@
+depends libtranscript &&
+depends libt3key &&
+depends libt3window &&
+optional_depends gpm \
+ --with{,out}-gpm \
+ 'for mouse support' &&
+optional_depends libxcb \
+ --with{,out}-x11 \
+ 'for X11 support' &&
+depends libunistring &&
+depends pcre2 &&
+depends slibtool LIBTOOL=slibtool-shared
diff --git a/libs/libt3widget/DETAILS b/libs/libt3widget/DETAILS
new file mode 100755
index 0000000000..9e8eb109df
--- /dev/null
+++ b/libs/libt3widget/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=libt3widget
+ VERSION=1.2.2
+ SOURCE="$SPELL-$VERSION.tar.bz2"
+ SOURCE_URL[0]=https://os.ghalkes.nl/dist/$SOURCE
+ SOURCE_HASH=sha512:c78271a368174261c20c49fa7c58cff556fc33e8360bb7717dc71d6a4720efae8df7d716a89d5f3ff593e90c6d3a1033319be723acefd31142c29e5608ac708f
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="https://os.ghalkes.nl/t3/libt3widget.html"
+ LICENSE[0]="GPL-3.0-only"
+ ENTERED=20220730
+ KEYWORDS=""
+ SHORT="terminal-based widget library"
+cat << EOF
+The libt3widget library provides a C++ dialog toolkit. It provides objects for
+dialogs and widgets like buttons, text fields, check boxes etc., to facilitate
+easy construction of dialog based programs for Un*x terminals.
+EOF
diff --git a/libs/libt3widget/HISTORY b/libs/libt3widget/HISTORY
new file mode 100644
index 0000000000..00cb36449b
--- /dev/null
+++ b/libs/libt3widget/HISTORY
@@ -0,0 +1,2 @@
+2022-07-31 Ismael Luceno <ismael@sourcemage.org>
+ * DEPENDS, DETAILS, PRE_BUILD: spell created
diff --git a/libs/libt3widget/PRE_BUILD b/libs/libt3widget/PRE_BUILD
new file mode 100755
index 0000000000..b841fe76b7
--- /dev/null
+++ b/libs/libt3widget/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+sedit '/^\t\t*chmod 0644 [^/]*[/]libt[^.]*[.]la[ ;\\]*$/d' Makefile.in