new package: libunique
This commit is contained in:
parent
fdc572d5f5
commit
9b33c83137
13
x11-packages/libunique/build.sh
Normal file
13
x11-packages/libunique/build.sh
Normal 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"
|
||||||
|
}
|
11
x11-packages/libunique/configure.ac.patch
Normal file
11
x11-packages/libunique/configure.ac.patch
Normal 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"])
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user