New package: libsigc++3-3.0.3

This commit is contained in:
Daniel Kolesa 2020-08-16 19:10:47 +02:00
parent d4192bc0a5
commit ec5cb6f724
4 changed files with 34 additions and 0 deletions

View File

@ -702,6 +702,7 @@ libgvfscommon.so gvfs-1.20_1
libnautilus-extension.so.1 libnautilus-3.2.1_1
libmpc.so.3 libmpc-1.0.1_1
libsigc-2.0.so.0 libsigc++-1.1_1
libsigc-3.0.so.0 libsigc++3-3.0.3_1
libglibmm-2.4.so.1 glibmm-2.24.0_1
libgiomm-2.4.so.1 glibmm-2.24.0_1
libglibmm_generate_extra_defs-2.4.so.1 glibmm-2.24.0_1

1
srcpkgs/libsigc++3-devel Symbolic link
View File

@ -0,0 +1 @@
libsigc++3

View File

@ -0,0 +1,31 @@
# Template file for 'libsigc++3'
pkgname=libsigc++3
version=3.0.3
revision=1
wrksrc=libsigc++-${version}
build_style=meson
configure_args="-Dmaintainer-mode=false -Dbuild-documentation=false
-Dbuild-examples=false -Dbuild-pdf=false -Dbenchmark=false -Dwarnings=max"
short_desc="Type-safe callback system for C++ programs"
maintainer="q66 <daniel@octaforge.org>"
license="LGPL-3.0-only"
homepage="https://libsigcplusplus.github.io/libsigcplusplus/"
distfiles="${GNOME_SITE}/libsigc++/${version%.*}/libsigc++-${version}.tar.xz"
checksum=e4f4866a894bdbe053e4fb22ccc6bc4b6851fd31a4746fdd20b2cf6e87c6edb6
pre_configure() {
# build static library as well as shared
vsed -i 's,library(,both_libraries(,' sigc++/meson.build
}
libsigc++3-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/sigc++-3.0
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}

View File

@ -0,0 +1 @@
pattern="libsigc\+\+-\K[0-9]\.[0-9]*[02468]\.[0-9.]*[0-9](?=)"