From 9d4d8d636332b12df83e3bbec988884b9f9cd169 Mon Sep 17 00:00:00 2001 From: gtryujb Date: Thu, 22 Jul 2021 18:36:27 +0100 Subject: [PATCH] New package: easystroke-0.6.0 --- srcpkgs/easystroke/patches/git.patch | 20 ++++++++++++++++++++ srcpkgs/easystroke/template | 21 +++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 srcpkgs/easystroke/patches/git.patch create mode 100644 srcpkgs/easystroke/template diff --git a/srcpkgs/easystroke/patches/git.patch b/srcpkgs/easystroke/patches/git.patch new file mode 100644 index 000000000000..98bfe3eeb7d1 --- /dev/null +++ b/srcpkgs/easystroke/patches/git.patch @@ -0,0 +1,20 @@ +diff -urb patched-easystroke-master.orig/easystroke/Makefile patched-easystroke-master/easystroke/Makefile +--- patched-easystroke-master.orig/easystroke/Makefile 2021-07-19 17:16:39.949855973 +0100 ++++ patched-easystroke-master/easystroke/Makefile 2021-07-19 17:17:43.041490580 +0100 +@@ -45,7 +45,7 @@ + GENFILES = gui.c desktop.c po/POTFILES.in easystroke.desktop + GZFILES = $(wildcard *.gz) + +-VERSION = $(shell test -e debian/changelog && grep '(.*)' debian/changelog | sed 's/.*(//' | sed 's/).*//' | head -n1 || (test -e version && cat version || git describe)) ++VERSION = + GIT = $(wildcard .git/index version) + DIST = easystroke-$(VERSION) + +@@ -141,7 +141,6 @@ + tmp/$(DIST): $(GIT) + $(RM) -r tmp + mkdir tmp +- git archive --format=tar --prefix=$(DIST)/ HEAD | (cd tmp && tar x) + echo $(VERSION) > $@/version + $(RM) $@/.gitignore $@/release + diff --git a/srcpkgs/easystroke/template b/srcpkgs/easystroke/template new file mode 100644 index 000000000000..e089276abe4f --- /dev/null +++ b/srcpkgs/easystroke/template @@ -0,0 +1,21 @@ +# Template file for 'easystroke' +pkgname=easystroke +version=0.6.0 +revision=1 +archs="i686 x86_64" +wrksrc=patched-easystroke-master +build_wrksrc=easystroke +build_style=gnu-makefile +hostmakedepends="pkg-config" +makedepends="boost-devel dbus-glib-devel gtkmm-devel xorg-server-devel" +short_desc="Gesture recognition application for X11" +maintainer="lopid " +license="GPL-3.0-or-later" +homepage="https://github.com/thjaeger/easystroke/wiki/" +distfiles="http://openartisthq.org/easystroke/patched-easystroke-master.tar.bz2" +checksum=18bf167eaf7c41d91e6c17b1f8436eeb0988d34d47f523ef03789caab81e902a +tags="mouse gestures" + +do_build() { + make PREFIX=/usr +}