base/{busybox,enchant,fftw,kmod,llvm,musl} Replaced CFLAGS and related CFLAGS with += operator for cleanliness Fixed mkdir commands in: base/{exiv2,fmt,glib,json-glib} Fixed file/recompile_magic.mgc.sh script by discarding /usr in base/file build file Tuned build options in base/flac Discarded unnecessary CPPFLAGS and printf command in base/flex Replaced CFLAGS with LDFLAGS in base/gawk Discarded /usr/bin/update-mime-database with own /etc/rc.d.rc.gtk liner in base/glib's doinst.sh file Discarded CXXFLAGS liner in base/glib Discarded mkdir liner in base/initfs Cause base/llvm build file to properly cd into the smbuild directory smoothly when attempting a rebuild in future Discarded unnecessary CFLAGS options in base/mksh Upgraded base/zstd to 1.5.2, rewrote its build options to use cmake build system
38 lines
830 B
Text
Executable file
38 lines
830 B
Text
Executable file
app=glib
|
|
version=2.70.3
|
|
build=1sml
|
|
homepage="https://gitlab.gnome.org/GNOME/glib"
|
|
download="https://download.gnome.org/sources/glib/2.66/glib-$version.tar.xz"
|
|
desc="library of C routines"
|
|
requires="libffi util-linux pcre python3 gettext meson"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
mkdir -p smbuild && cd smbuild
|
|
|
|
meson .. --prefix="/" \
|
|
-Dman=false \
|
|
-Dgtk_doc=false \
|
|
-Dselinux=disabled \
|
|
-Dnls=disabled \
|
|
-Dinstalled_tests=false
|
|
|
|
ninja
|
|
DESTDIR="$pkg" ninja install
|
|
|
|
cp ../COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
993853772132feb0844e868408fa0ee803d4dad5e0827ed6410105b8746c05440313a9514d3b8d87385fe5133aacc2ff1e3e6418c0ce69c8f69f2977733f623c glib-2.70.3.tar.lz
|
|
"
|