2017-02-11 02:23:10 +01:00
|
|
|
# Description: Common build files of the C++ bindings.
|
|
|
|
# URL: https://gtkmm.org/
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2020-06-06 08:30:30 +02:00
|
|
|
# Depends on: meson ninja
|
2017-02-11 02:23:10 +01:00
|
|
|
|
|
|
|
name=mm-common
|
2020-06-06 08:30:30 +02:00
|
|
|
version=1.0.1
|
2018-06-25 14:52:25 +02:00
|
|
|
release=1
|
2017-02-11 02:23:10 +01:00
|
|
|
source=(https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
2020-06-06 08:30:30 +02:00
|
|
|
meson setup build $name-$version --prefix=/usr
|
|
|
|
ninja -j ${JOBS-1} -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2017-02-12 00:52:08 +01:00
|
|
|
|
|
|
|
rm -r $PKG/usr/share/doc
|
2017-02-11 02:23:10 +01:00
|
|
|
}
|