new package: libgsf
This commit is contained in:
parent
a32429090d
commit
3a24badf47
14
packages/libgsf/build.sh
Normal file
14
packages/libgsf/build.sh
Normal file
@ -0,0 +1,14 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://gitlab.gnome.org/GNOME/libgsf
|
||||
TERMUX_PKG_DESCRIPTION="The G Structured File Library"
|
||||
TERMUX_PKG_LICENSE="LGPL-2.1"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
_MAJOR_VERSION=1.14
|
||||
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.49
|
||||
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/libgsf/${_MAJOR_VERSION}/libgsf-${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_SHA256=e9ebe36688f010c9e6e40c8903f3732948deb8aca032578d07d0751bd82cf857
|
||||
TERMUX_PKG_DEPENDS="glib, libbz2, libxml2, zlib"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
--disable-introspection
|
||||
--with-bz2
|
||||
--without-gdk-pixbuf
|
||||
"
|
11
packages/libgsf/configure.patch
Normal file
11
packages/libgsf/configure.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -15473,7 +15473,7 @@
|
||||
-Werror=missing-prototypes -Werror=nested-externs \
|
||||
-Werror=implicit-function-declaration \
|
||||
-Wmissing-declarations -Wno-pointer-sign \
|
||||
- -Werror=format-security -Wbitwise -Wcast-to-as \
|
||||
+ -Wno-error=format-security -Wbitwise -Wcast-to-as \
|
||||
-Wdefault-bitfield-sign -Wdo-while -Wparen-string \
|
||||
-Wptr-subtraction-blows -Wreturn-void -Wtypesign \
|
||||
-Wstrict-prototypes -Wno-error=format-nonliteral "
|
6
packages/libgsf/gsf-tools.subpackage.sh
Normal file
6
packages/libgsf/gsf-tools.subpackage.sh
Normal file
@ -0,0 +1,6 @@
|
||||
TERMUX_SUBPKG_INCLUDE="
|
||||
bin/
|
||||
share/man/man1/
|
||||
share/thumbnailers/
|
||||
"
|
||||
TERMUX_SUBPKG_DESCRIPTION="Command-line tools for libgsf"
|
Loading…
Reference in New Issue
Block a user