parent
7dbe9b537e
commit
3cdfeb4ff1
@ -1,16 +1,25 @@
|
||||
# Template file for 'libsigc++'
|
||||
pkgname=libsigc++
|
||||
version=2.10.3
|
||||
version=2.12.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-static --disable-documentation --disable-benchmark"
|
||||
hostmakedepends="m4"
|
||||
build_style=meson
|
||||
configure_args="-Dbuild-examples=false -Dwarnings=max"
|
||||
meson_builddir="meson_build"
|
||||
short_desc="Type-safe callback system for C++ programs"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://libsigcplusplus.github.io/libsigcplusplus/"
|
||||
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=0b68dfc6313c6cc90ac989c6d722a1bf0585ad13846e79746aa87cb265904786
|
||||
distfiles="${GNOME_SITE}/libsigc++/${version%.*}/libsigc++-${version}.tar.xz"
|
||||
checksum=1c466d2e64b34f9b118976eb21b138c37ed124d0f61497df2a90ce6c3d9fa3b5
|
||||
|
||||
if [ -z "$XBPS_CHECK_PKGS" ]; then
|
||||
configure_args+=" -Dbuild-tests=false"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
# build static library as well as shared
|
||||
vsed -i 's,library(,both_libraries(,' sigc++/meson.build
|
||||
}
|
||||
|
||||
libsigc++-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
|
@ -1 +1 @@
|
||||
pattern="libsigc\+\+-\K[0-9]\.[0-9]*[02468]\.[0-9.]*[0-9](?=)"
|
||||
pattern="libsigc\+\+-\K2\.[0-9]*[02468]\.[0-9.]*[0-9](?=)"
|
||||
|
Loading…
Reference in New Issue
Block a user