libsigc++2: 2.10.8 -> 2.12.0, new build system meson/ninja

This commit is contained in:
John McQuah 2023-03-05 21:55:28 -05:00
parent ed99b6c097
commit 0efdc1c860
3 changed files with 18 additions and 13 deletions

View File

@ -39,8 +39,7 @@ drwxr-xr-x root/root usr/include/sigc++-2.0/sigc++/functors/
-rw-r--r-- root/root usr/include/sigc++-2.0/sigc++/type_traits.h
-rw-r--r-- root/root usr/include/sigc++-2.0/sigc++/visit_each.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libsigc-2.0.la
lrwxrwxrwx root/root usr/lib/libsigc-2.0.so -> libsigc-2.0.so.0.0.0
lrwxrwxrwx root/root usr/lib/libsigc-2.0.so -> libsigc-2.0.so.0
lrwxrwxrwx root/root usr/lib/libsigc-2.0.so.0 -> libsigc-2.0.so.0.0.0
-rwxr-xr-x root/root usr/lib/libsigc-2.0.so.0.0.0
drwxr-xr-x root/root usr/lib/pkgconfig/

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3zYE5TsKUriPDmSxmv/MEgv/IqkwRXRirTvmsGVOWhhOtzN3ODv7NCtyzLKV0+MSdcFdXU5I3ioXEdneYXYJYgk=
SHA256 (Pkgfile) = f9a4b229e7af832299211a5da73688437d860f6dba91ee4a1f126a3a4c92fcd5
SHA256 (.footprint) = 8fa27edaee2e26de3ca61cb2b9ffd7539003498956ba2a18c6e99b17927885e6
SHA256 (libsigc++-2.10.8.tar.xz) = 235a40bec7346c7b82b6a8caae0456353dc06e71f14bc414bcc858af1838719a
RWSagIOpLGJF317hcEB7fj/hRKIIKxJR5TkeMlqtOFA2Q+ZuWnbB+rmNnQHisiAAI4DA8iInWGdX8kjluzyug62UelGqM0dKSQU=
SHA256 (Pkgfile) = 78fa845529d9a1d539114d33fde19dc11f3c14675e8a891eb3bdd5056aceb813
SHA256 (.footprint) = fd23711cc467222c4af97ca4555c5493ed25209fdd0f7b018e535271892e9fc9
SHA256 (libsigc++-2.12.0.tar.xz) = 1c466d2e64b34f9b118976eb21b138c37ed124d0f61497df2a90ce6c3d9fa3b5

View File

@ -1,19 +1,25 @@
# Description: A callback framework for C++.
# URL: https://libsigcplusplus.github.io/libsigcplusplus/
# Maintainer: Danny Rawlins, crux at romster dot me
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: mm-common
name=libsigc++2
version=2.10.8
version=2.12.0
release=1
source=(https://download.gnome.org/sources/libsigc++/${version%.*}/libsigc++-$version.tar.xz)
build() {
cd libsigc++-$version
mkdir bld && cd bld
NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/usr --disable-documentation
meson setup ../libsigc++-$version \
--prefix=/usr \
--buildtype=release \
-D build-documentation=false \
-D b_lto=true \
-D b_pie=true
make
make install DESTDIR=$PKG
ninja -j ${JOBS:-1}
DESTDIR=$PKG ninja install
find $PKG \( -type f -a -perm -g+w \) -exec chmod g-w '{}' +
}