forked from ports/contrib
22 lines
512 B
Plaintext
22 lines
512 B
Plaintext
# Description: Common build files of the C++ bindings.
|
|
# URL: https://gtkmm.org/
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
|
|
name=mm-common
|
|
version=1.0.5
|
|
release=1
|
|
source=(https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
meson setup $name-$version build \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true
|
|
meson compile -C build -j ${JOBS-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
}
|