Skip to content

Commit

Permalink
gpkg/glib: test compilation to identify problems in x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxython committed Apr 25, 2024
1 parent 0c6b9be commit 3b2e411
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions gpkg/glib/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ TERMUX_PKG_DEPENDS="libffi-glibc, pcre2-glibc, util-linux-glibc, zlib-glibc, ope
TERMUX_PKG_BUILD_DEPENDS="gobject-introspection-glibc"
TERMUX_PKG_PYTHON_COMMON_DEPS="pygments, itstool, packaging, gi-docgen"
TERMUX_PKG_ACCEPT_PKG_IN_DEP=true
# -D sysprof=enabled
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--default-library both
-D runtime_dir=$TERMUX_PREFIX/var/run
Expand All @@ -19,12 +18,12 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-D introspection=enabled
-D man-pages=enabled
-D selinux=disabled
-D sysprof=disabled
"

termux_step_pre_configure() {
CFLAGS+=" -g3 -ffat-lto-objects"
CXXFLAGS+=" -g3 -ffat-lto-objects"
LDFLAGS+=" -lmount"
}

termux_step_create_debscripts() {
Expand Down
3 changes: 1 addition & 2 deletions gpkg/gobject-introspection/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Uniform machine readable API"
TERMUX_PKG_LICENSE="LGPL-2.0, GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux-pacman"
TERMUX_PKG_VERSION="1.80.1"
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gobject-introspection/${TERMUX_PKG_VERSION%.*}/gobject-introspection-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=a1df7c424e15bda1ab639c00e9051b9adf5cea1a9e512f8a603b53cd199bc6d8
TERMUX_PKG_DEPENDS="libgirepository-glibc, python-glibc"
Expand All @@ -15,7 +15,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="

termux_step_pre_configure() {
CPPFLAGS+="-I$TERMUX_PREFIX/include/python${TERMUX_PYTHON_VERSION} -I$TERMUX_PREFIX/include/python${TERMUX_PYTHON_VERSION}/cpython"
LDFLAGS+=" -lmount"
}

termux_step_post_make_install() {
Expand Down

0 comments on commit 3b2e411

Please sign in to comment.