mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-14 08:42:57 +02:00
parent
7dbe9b537e
commit
3cdfeb4ff1
2 changed files with 16 additions and 7 deletions
|
@ -1,16 +1,25 @@
|
||||||
# Template file for 'libsigc++'
|
# Template file for 'libsigc++'
|
||||||
pkgname=libsigc++
|
pkgname=libsigc++
|
||||||
version=2.10.3
|
version=2.12.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=meson
|
||||||
configure_args="--enable-static --disable-documentation --disable-benchmark"
|
configure_args="-Dbuild-examples=false -Dwarnings=max"
|
||||||
hostmakedepends="m4"
|
meson_builddir="meson_build"
|
||||||
short_desc="Type-safe callback system for C++ programs"
|
short_desc="Type-safe callback system for C++ programs"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
homepage="https://libsigcplusplus.github.io/libsigcplusplus/"
|
homepage="https://libsigcplusplus.github.io/libsigcplusplus/"
|
||||||
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/libsigc++/${version%.*}/libsigc++-${version}.tar.xz"
|
||||||
checksum=0b68dfc6313c6cc90ac989c6d722a1bf0585ad13846e79746aa87cb265904786
|
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() {
|
libsigc++-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
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…
Add table
Reference in a new issue