summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-06-11 20:58:18 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-06-11 21:21:28 +0200
commitcaf07e799877ea3e933b35b7402bc916c246132d (patch)
tree69f0c5f194c2fed001a04a75cb26fa4852eec415 /dev-libs/libgnt/files
parentmedia-video/vdr2jpeg: cannot run 'strip' fixed (diff)
downloadgentoo-caf07e799877ea3e933b35b7402bc916c246132d.tar.gz
gentoo-caf07e799877ea3e933b35b7402bc916c246132d.tar.bz2
gentoo-caf07e799877ea3e933b35b7402bc916c246132d.zip
dev-libs/libgnt: Initial commit
Use same KEYWORDS like in pidgin as this is an outsourced pidgin plugin Bug: https://bugs.gentoo.org/727878 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs/libgnt/files')
-rw-r--r--dev-libs/libgnt/files/libgnt-2.14.0-optional_docs.patch15
-rw-r--r--dev-libs/libgnt/files/libgnt-2.14.0-tinfo.patch18
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/libgnt/files/libgnt-2.14.0-optional_docs.patch b/dev-libs/libgnt/files/libgnt-2.14.0-optional_docs.patch
new file mode 100644
index 000000000000..aded0c047674
--- /dev/null
+++ b/dev-libs/libgnt/files/libgnt-2.14.0-optional_docs.patch
@@ -0,0 +1,15 @@
+--- libgnt-2.14.0/meson.build
++++ libgnt-2.14.0/meson.build
+@@ -231,4 +231,6 @@
+
+ subdir('wms')
+ subdir('test')
+-subdir('doc')
++if get_option('doc')
++ subdir('doc')
++endif
+--- libgnt-2.14.0/meson_options.txt
++++ libgnt-2.14.0/meson_options.txt
+@@ -0,0 +1,2 @@
++option('doc', type : 'boolean', value : true,
++ description : 'build documentation with gtk-doc')
diff --git a/dev-libs/libgnt/files/libgnt-2.14.0-tinfo.patch b/dev-libs/libgnt/files/libgnt-2.14.0-tinfo.patch
new file mode 100644
index 000000000000..1e4ab49020b9
--- /dev/null
+++ b/dev-libs/libgnt/files/libgnt-2.14.0-tinfo.patch
@@ -0,0 +1,18 @@
+--- libgnt-2.14.0/meson.build
++++ libgnt-2.14.0/meson.build
+@@ -72,6 +72,7 @@
+ ncurses_available = true
+ ncurses_inc = []
+ ncurses_libs = [
++ compiler.find_library('tinfow', required : false),
+ compiler.find_library('ncursesw', required : false),
+ compiler.find_library('panelw', required : false)
+ ]
+@@ -113,6 +114,7 @@
+ else
+ # ncursesw was not found. Look for plain old ncurses
+ ncurses_libs = [
++ compiler.find_library('tinfo', required : false),
+ compiler.find_library('ncurses', required : false),
+ compiler.find_library('panel', required : false)
+ ]