new package: libunique

This commit is contained in:
Leonid Pliushch 2019-08-11 01:52:21 +03:00 committed by Yaksh Bariya
parent fdc572d5f5
commit 9b33c83137
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,13 @@
TERMUX_PKG_HOMEPAGE=https://gnome.org
TERMUX_PKG_DESCRIPTION="Library for writing single instance applications"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_VERSION=1.1.6
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=http://ftp.gnome.org/pub/GNOME/sources/libunique/1.1/libunique-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=2cb918dde3554228a211925ba6165a661fd782394bd74dfe15e3853dc9c573ea
TERMUX_PKG_DEPENDS="glib, gtk2"
termux_step_pre_configure() {
export CFLAGS="$CFLAGS -DG_CONST_RETURN=const"
}

View File

@ -0,0 +1,11 @@
--- ./configure.ac.orig 2009-11-12 15:57:39.000000000 +0200
+++ ./configure.ac 2019-08-11 01:22:37.503246795 +0300
@@ -178,7 +178,7 @@
AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"],
[
AS_COMPILER_FLAGS([MAINTAINER_CFLAGS],
- ["-Werror -Wall -Wshadow -Wcast-align
+ ["-Wall -Wshadow -Wcast-align
-Wno-uninitialized -Wempty-body -Wformat-security
-Winit-self"])
]