Skip to content

Commit

Permalink
gpkg/*: clearing codes (#231)
Browse files Browse the repository at this point in the history
[no ci]
  • Loading branch information
Maxython authored Apr 25, 2024
1 parent 0c6b9be commit be6a5bd
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 31 deletions.
1 change: 0 additions & 1 deletion gpkg/clang/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ termux_step_configure() {
fi

export PATH=$TERMUX_PKG_BUILDDIR/bin:$PATH
LDFLAGS+=" -lm"

cmake ${TERMUX_PKG_SRCDIR} \
-G Ninja \
Expand Down
6 changes: 0 additions & 6 deletions gpkg/cmake/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,3 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DBUILD_CursesDialog=ON
-DCMake_ENABLE_DEBUGGER=ON
"

termux_step_pre_configure() {
# for some reason this library is not used when compiling for x86_64
# looks like this is a bug from cgt
LDFLAGS+=" -lnghttp2 -lssl -lcrypto"
}
1 change: 0 additions & 1 deletion gpkg/glib/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
termux_step_pre_configure() {
CFLAGS+=" -g3 -ffat-lto-objects"
CXXFLAGS+=" -g3 -ffat-lto-objects"
LDFLAGS+=" -lmount"
}

termux_step_create_debscripts() {
Expand Down
1 change: 0 additions & 1 deletion gpkg/gobject-introspection/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion gpkg/libcurl/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ TERMUX_PKG_SRCURL=https://github.com/curl/curl/releases/download/curl-${TERMUX_P
TERMUX_PKG_SHA256=6fea2aac6a4610fbd0400afb0bcddbe7258a64c63f1f68e5855ebc0c659710cd
TERMUX_PKG_DEPENDS="libnghttp2-glibc, libssh2-glibc, openssl-glibc (>= 3.0.3), krb5-glibc, brotli-glibc, libpsl-glibc"
TERMUX_PKG_ESSENTIAL=true
TERMUX_PKG_EXTRA_MAKE_ARGS="LDFLAGS='-lbrotlidec'"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--with-ca-bundle=$TERMUX_PREFIX/etc/ssl/certs/ca-certificates.crt
--with-ca-path=$TERMUX_PREFIX/etc/ssl/certs
Expand Down
4 changes: 0 additions & 4 deletions gpkg/libmicrohttpd/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,3 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--enable-messages
--with-pic
"

termux_step_pre_configure() {
LDFLAGS+=" -lbrotlicommon"
}
4 changes: 0 additions & 4 deletions gpkg/libpulse/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,3 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
"

# Maxython: I need to learn how the audio driver works in Android in order to configure glibc

termux_step_pre_configure() {
LDFLAGS+=" -lm"
}
4 changes: 0 additions & 4 deletions gpkg/libsndfile/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,3 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DENABLE_EXTERNAL_LIBS=ON
-DENABLE_MPEG=ON
"

termux_step_pre_configure() {
CFLAGS+=" -lm"
}
1 change: 0 additions & 1 deletion gpkg/mesa/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,5 @@ termux_step_pre_configure() {
arm|aarch64) TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -Dvulkan-drivers=swrast,panfrost,freedreno -Dfreedreno-kmds=msm,kgsl";;
*) TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -Dvulkan-drivers=swrast,panfrost";;
esac
LDFLAGS+=" -ltinfo -lm"
export LLVM_CONFIG=$TERMUX_PREFIX/bin/llvm-config
}
4 changes: 0 additions & 4 deletions gpkg/pango/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,3 @@ TERMUX_PKG_SRCURL=https://gitlab.gnome.org/GNOME/pango/-/archive/${TERMUX_PKG_VE
TERMUX_PKG_SHA256=82b4c5232e448865865e595008b6aef2481032c898d8bbfc60fd36b680585d75
TERMUX_PKG_DEPENDS="libcairo-glibc, fribidi-glibc, harfbuzz-glibc, libthai-glibc, libxft-glibc"
TERMUX_PKG_BUILD_DEPENDS="gobject-introspection-glibc"

termux_step_pre_configure() {
LDFLAGS+=" -lm"
}
4 changes: 0 additions & 4 deletions gpkg/wget/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,3 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--enable-nls
--with-ssl=openssl
"

termux_step_pre_configure() {
LDFLAGS+=" -lbrotlicommon"
}

0 comments on commit be6a5bd

Please sign in to comment.