new package: libgsf

This commit is contained in:
Tee KOBAYASHI 2022-04-30 06:20:51 +09:00 committed by xtkoba
parent a32429090d
commit 3a24badf47
3 changed files with 31 additions and 0 deletions

14
packages/libgsf/build.sh Normal file
View 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
"

View 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 "

View File

@ -0,0 +1,6 @@
TERMUX_SUBPKG_INCLUDE="
bin/
share/man/man1/
share/thumbnailers/
"
TERMUX_SUBPKG_DESCRIPTION="Command-line tools for libgsf"