summaryrefslogtreecommitdiff
path: root/dev-libs/libstroke
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/libstroke
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/libstroke')
-rw-r--r--dev-libs/libstroke/Manifest8
-rw-r--r--dev-libs/libstroke/files/libstroke-0.5.1-autotools.patch29
-rw-r--r--dev-libs/libstroke/files/libstroke-0.5.1-m4_syntax.patch31
-rw-r--r--dev-libs/libstroke/files/libstroke-0.5.1-no_gtk1.patch33
-rw-r--r--dev-libs/libstroke/libstroke-0.5.1.ebuild31
-rw-r--r--dev-libs/libstroke/metadata.xml8
6 files changed, 140 insertions, 0 deletions
diff --git a/dev-libs/libstroke/Manifest b/dev-libs/libstroke/Manifest
new file mode 100644
index 000000000000..dc11420f206e
--- /dev/null
+++ b/dev-libs/libstroke/Manifest
@@ -0,0 +1,8 @@
+AUX libstroke-0.5.1-autotools.patch 734 SHA256 30b3190ce350aac45d9724fe629cfe6d14e2cebc1289cce7693acc3438490c01 SHA512 e0245ac98dc4d6db25f401ae1512d68aa98b732fa8f8d8486f1e50e784d63cc90bdaf6a28ba5e3d96f8822d549f473a6e8085701ee8016a428a9805ef165c2da WHIRLPOOL c624a583b1800ca0fb0921629602213f4e698b292b4b99d1fad3a951fa6b847a7a4bc36ae10db3447dfebc9c98c5b814d1a3647b565027782656ea26d606fe09
+AUX libstroke-0.5.1-m4_syntax.patch 1100 SHA256 ce1ec607f570d5248294df0127d2b31dda1f52c611cd02903c741ab081a43eb1 SHA512 bfe54a1c60c381e01820f46998c1ade66bcc5b816d20d8736334cd097f94fd06921c7ef17ae42e1f4f47090a7a9a6db2121a9960c140ad7dcb4d5ac3acf6fded WHIRLPOOL 4b57ee6b00144b1adba3658ab17e19f2426fbea851212eee69ed6cd71c3d9766d78c02ac5e634b4e79ecd4b35acc2c70046927714a276fe03fb4ef933e5707e5
+AUX libstroke-0.5.1-no_gtk1.patch 1046 SHA256 c7dcbe5c09124be9af6de4c4cd7512b38181f14efab49a849e6af8db5ffc5adb SHA512 96004186c51e617fa53f1bbaef5f58c6572c5acf0a6acf2d9e7be618c443fccff5feb8dd7bf77a9a435b8c5b334e1babb3cbd739e71ec6d7fe7feda1c66607f8 WHIRLPOOL 61113b0119c97894c34b20f2fd1b14d9eed4de61bb1008a6d5d665563ac3eda3c8cc57fea0a6fc13c1793193ff328d375dea43b940f80413802272ceea1f78e1
+DIST libstroke-0.5.1.tar.gz 174270 SHA256 0da9f5fde66feaf6697ba069baced8fb3772c3ddc609f39861f92788f5c7772d SHA512 03431d4cd39174aadb6cfd00a1c487d34ae9cf4b1db9e9d01d563f2a661f01979f474b87099fd2bfb0e54653416a1b9dea988367674a3cc6134e16b62810a0c7 WHIRLPOOL 77087c4bbb07beb0ffc72786e26c3a0aed1bf50fa456c7e6d7862f16163e4dc89752c9b7a05e2a169f9e84e4088c77142a319af8d0667c45a1d50df31c6558fb
+EBUILD libstroke-0.5.1.ebuild 720 SHA256 be62763327fa360df6ba4c9d569375380cbfd7e5dd6678db4063c6848a0a73f7 SHA512 9985d733927f14eede9983676e9088f37ad5d02850f25dbdd97538d0c2792da3c08537df5593cadb50d7da4a3c9d7cc5586f27af7134a95daf382213c9bf075b WHIRLPOOL d4870faaeed4d3ecb4a59744b5cbc6728871a5c0f47059ca139e6db405ca001c713d1f47ca6c77b1e8c2424221e18fb6308e9dfe289d5dc1442dbc9d1bd9500f
+MISC ChangeLog 2306 SHA256 687d76af91f6228e6ab6acbc3f577679ae7ab9824c5d77a5f200fadd2eefd02d SHA512 be5aaab3c247363dd072918e764ee85c069475448f9e6cc57907d62f8ffc6d0ef31588461c202a06a545d5521b7c54b21ecde243c396169738ea88cef0474099 WHIRLPOOL a647d922705fca642a8a778224350055fe9e4236d3856218c072cacf3eb24d0c4b5a91b5b752638f20ac8357f727e46c347eda40085ae5bb5de89b1af10cedcf
+MISC ChangeLog-2015 3653 SHA256 9799c5a8b0b91b7dd5ec89f67b8dee1d197b6ea0a1390bed5b70837bb014f102 SHA512 5d2b5eab561034fb5e95191eca81cfb8ce4f78fa53c07b329851d338a6ec228f4f04eaab1a82ef0288cddd0c715d755845c5918482f5a4d4c7779c4dce5e8642 WHIRLPOOL edaf49fab3154b7b6aeba20d36e1e951b042f22a5809444badf55c47ac0e7013bb647e41de5ba41a9c9fb33828b6cd675d3935067e520a0d2fcd890f5ba1dfb6
+MISC metadata.xml 261 SHA256 ed9b2a6af0a7673cad9c7bb158c195f64d80768fc1445bf5d65281e63ffbe472 SHA512 318bd063baaa5dd560bcfdb87ab4d60edfb4dddf69884a84ef084a38399cf2ba84e69b432c816cce8e15d3dea253f395f41a1a654017a6eef30478ab8961cb51 WHIRLPOOL 2c6104b70ac18fe31d168edddbd7e23d61dd53c5eb5ffa138bf55ae2e2e749b568308060a8af3bbe9b1c56f1e0774ef37a849acfd5ee852d22f4d338ea23c856
diff --git a/dev-libs/libstroke/files/libstroke-0.5.1-autotools.patch b/dev-libs/libstroke/files/libstroke-0.5.1-autotools.patch
new file mode 100644
index 000000000000..2bd67677a89c
--- /dev/null
+++ b/dev-libs/libstroke/files/libstroke-0.5.1-autotools.patch
@@ -0,0 +1,29 @@
+Index: libstroke-0.5.1/libgstroke/Makefile.am
+===================================================================
+--- libstroke-0.5.1.orig/libgstroke/Makefile.am
++++ libstroke-0.5.1/libgstroke/Makefile.am
+@@ -5,8 +5,6 @@
+ # level Makefile.
+ AUTOMAKE_OPTIONS = foreign
+
+-EXTRA_DIST =
+-
+ #SEL_BIB = libgstroke.la
+
+ lib_LTLIBRARIES = libgstroke.la
+Index: libstroke-0.5.1/libstroke/Makefile.am
+===================================================================
+--- libstroke-0.5.1.orig/libstroke/Makefile.am
++++ libstroke-0.5.1/libstroke/Makefile.am
+@@ -5,11 +5,6 @@
+ # level Makefile.
+ AUTOMAKE_OPTIONS = foreign
+
+-EXTRA_DIST =
+-
+-#tclpath::
+- #echo ${ENABLE_TCL}
+-
+ #if ENABLE_TCL
+ #SEL_BIB = libstroke.la libstroke_tcl.la
+ #else
diff --git a/dev-libs/libstroke/files/libstroke-0.5.1-m4_syntax.patch b/dev-libs/libstroke/files/libstroke-0.5.1-m4_syntax.patch
new file mode 100644
index 000000000000..4462e8d359fb
--- /dev/null
+++ b/dev-libs/libstroke/files/libstroke-0.5.1-m4_syntax.patch
@@ -0,0 +1,31 @@
+Index: libstroke-0.5.1/libstroke.m4
+===================================================================
+--- libstroke-0.5.1/libstroke.m4 {cset 02bc4a5e-e9e6-4055-a406-5007a0ac3e55}
++++ libstroke-0.5.1/libstroke.m4 {local clone}
+@@ -26,7 +26,7 @@
+ dnl if different from name
+ dnl description (optional) used to construct help string
+ dnl
+-AC_DEFUN(smr_ARG_WITHLIB, [
++AC_DEFUN([smr_ARG_WITHLIB], [
+
+ ifelse($2, , smr_lib=[$1], smr_lib=[$2])
+
+@@ -74,7 +74,7 @@
+ dnl extra-flags (optional) flags required when compiling the
+ dnl header, typically more includes; for ex. X_CFLAGS
+ dnl
+-AC_DEFUN(smr_ARG_WITHINCLUDES, [
++AC_DEFUN([smr_ARG_WITHINCLUDES], [
+
+ AC_ARG_WITH([$1]-includes,
+ [ --with-$1-includes=DIR set directory for $1 headers],
+@@ -116,7 +116,7 @@
+ dnl x-libs (optional) extra libraries, if needed to link with lib
+ dnl x-flags (optional) extra flags, if needed to include header files
+ dnl
+-AC_DEFUN(smr_CHECK_LIB,
++AC_DEFUN([smr_CHECK_LIB],
+ [
+ ifelse($2, , smr_lib=[$1], smr_lib=[$2])
+ ifelse($5, , , smr_header=[$5])
diff --git a/dev-libs/libstroke/files/libstroke-0.5.1-no_gtk1.patch b/dev-libs/libstroke/files/libstroke-0.5.1-no_gtk1.patch
new file mode 100644
index 000000000000..a099fb991620
--- /dev/null
+++ b/dev-libs/libstroke/files/libstroke-0.5.1-no_gtk1.patch
@@ -0,0 +1,33 @@
+--- libstroke-0.5.1/configure.in 2001-08-07 07:08:05.000000000 +0100
++++ libstroke-0.5.1b/configure.in 2006-11-28 01:49:26.000000000 +0000
+@@ -81,16 +81,9 @@
+ [ --with-mouse-footprints Draw mouse footprints in X],
+ [AC_DEFINE(STROKE_MOUSE_FOOTPRINTS)])
+
+-dnl check for GTK
+-dnl we won't build libgstroke if it's not found
+-AC_MSG_CHECKING(gtk+ library)
+-AM_PATH_GTK(1.2.7, HAVE_LIBGTK=yes
+- AC_DEFINE(HAVE_LIBGTK, 1, [Define if libgtk is available]),
+- AC_MSG_WARN(
+-***** NOTE: The GNOME stroke support won't be built
+-)
+- HAVE_LIBGTK=no,
+-)
++GTK_CFLAGS=""
++AC_SUBST(GTK_CFLAGS)
++HAVE_LIBGTK=no
+ AM_CONDITIONAL(HAVE_LIBGTK, test "x$HAVE_LIBGTK" = "xyes")
+
+
+--- libstroke-0.5.1/Makefile.am 2001-08-07 07:03:12.000000000 +0100
++++ libstroke-0.5.1b/Makefile.am 2006-11-28 02:00:55.000000000 +0000
+@@ -10,7 +10,7 @@
+ EXTRA_DIST = COPYRIGHT CREDITS README.javastroke README.libgstroke
+
+ m4datadir=$(datadir)/aclocal
+-m4data_DATA=libstroke.m4 libgstroke.m4
++m4data_DATA=libstroke.m4
+
+ MOSTLYCLEANFILES = core *~
+ CLEANFILES = core *~
diff --git a/dev-libs/libstroke/libstroke-0.5.1.ebuild b/dev-libs/libstroke/libstroke-0.5.1.ebuild
new file mode 100644
index 000000000000..4f8bda3a0903
--- /dev/null
+++ b/dev-libs/libstroke/libstroke-0.5.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils autotools
+
+DESCRIPTION="A Stroke and Gesture recognition Library"
+HOMEPAGE="http://www.etla.net/libstroke/"
+SRC_URI="http://www.etla.net/libstroke/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="x11-proto/xproto
+ ${RDEPEND}"
+
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-m4_syntax.patch
+ epatch "${FILESDIR}"/${P}-no_gtk1.patch
+ epatch "${FILESDIR}"/${P}-autotools.patch
+ eautoreconf
+}
+
+src_install () {
+ emake DESTDIR=${D} install || die
+ dodoc CREDITS ChangeLog README
+}
diff --git a/dev-libs/libstroke/metadata.xml b/dev-libs/libstroke/metadata.xml
new file mode 100644
index 000000000000..674563478fea
--- /dev/null
+++ b/dev-libs/libstroke/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>calchan@gentoo.org</email>
+ <name>Denis Dupeyron</name>
+</maintainer>
+</pkgmetadata>