2007-06-03 22:41:16 +10:00
|
|
|
# Description: A callback framework for C++.
|
2020-06-01 15:45:48 +00:00
|
|
|
# URL: https://libsigcplusplus.github.io/libsigcplusplus/
|
2023-03-05 21:55:28 -05:00
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2017-02-11 12:30:50 +11:00
|
|
|
# Depends on: mm-common
|
2007-06-03 22:41:16 +10:00
|
|
|
|
2020-10-04 23:48:57 +11:00
|
|
|
name=libsigc++2
|
2023-10-15 10:55:34 +00:00
|
|
|
version=2.12.1
|
2007-06-03 22:41:16 +10:00
|
|
|
release=1
|
2020-10-04 23:48:57 +11:00
|
|
|
source=(https://download.gnome.org/sources/libsigc++/${version%.*}/libsigc++-$version.tar.xz)
|
2007-06-03 22:41:16 +10:00
|
|
|
|
|
|
|
build() {
|
2023-10-15 10:55:34 +00:00
|
|
|
mkdir bld && cd bld
|
2016-05-18 22:20:23 +10:00
|
|
|
|
2023-10-15 10:55:34 +00:00
|
|
|
meson setup ../libsigc++-$version \
|
|
|
|
--prefix=/usr \
|
|
|
|
--buildtype=release \
|
|
|
|
-D build-documentation=false \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true
|
2016-05-18 22:20:23 +10:00
|
|
|
|
2023-10-15 10:55:34 +00:00
|
|
|
ninja -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG ninja install
|
2023-03-05 21:55:28 -05:00
|
|
|
|
2023-10-15 10:55:34 +00:00
|
|
|
find $PKG \( -type f -a -perm -g+w \) -exec chmod g-w '{}' +
|
2007-06-03 22:41:16 +10:00
|
|
|
}
|