diff options
Diffstat (limited to 'community/poco/APKBUILD')
-rw-r--r-- | community/poco/APKBUILD | 37 |
1 files changed, 28 insertions, 9 deletions
diff --git a/community/poco/APKBUILD b/community/poco/APKBUILD index 70eafdae72a..f9f79e99e76 100644 --- a/community/poco/APKBUILD +++ b/community/poco/APKBUILD @@ -1,13 +1,29 @@ # Contributor: Leonardo Arena <rnalrd@alpinelinux.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=poco -pkgver=1.10.1 -pkgrel=1 +pkgver=1.12.4 +pkgrel=0 pkgdesc="C++ class libraries for building network- and internet-based applications" url="https://pocoproject.org/" -arch="all !mips !mips64" # fails to build on soft-float +arch="all" license="BSL-1.0" -makedepends="cmake chrpath openssl-dev linux-headers zlib-dev pcre-dev expat-dev sqlite-dev mariadb-connector-c-dev unixodbc-dev postgresql-dev" +depends_dev=" + expat-dev + libpq-dev + mariadb-connector-c-dev + openssl-dev + pcre2-dev + sqlite-dev + unixodbc-dev + zlib-dev + " +makedepends=" + $depends_dev + chrpath + cmake + linux-headers + samurai + " source="https://pocoproject.org/releases/poco-$pkgver/poco-$pkgver-all.tar.gz cxxflags.patch " @@ -17,9 +33,10 @@ options="!check" # No testsuite builddir="$srcdir/$pkgname-$pkgver-all" build() { - cmake -B build \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX=/usr + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DPOCO_UNBUNDLED=ON cmake --build build } @@ -27,5 +44,7 @@ package() { DESTDIR="$pkgdir" cmake --install build } -sha512sums="858a37c49563fa602a5e4783438154a3e1e6c91f8a3adcae62c3d922eccd30b8ba273b2c2b16b5f80c1deb80eb350056e6923a2788ec2e17a595a44d4f97f30d poco-1.10.1-all.tar.gz -5f72e487074ea26e29e81d6fc244d03989d780d71b33a064456fa19b241aca278fbfd9b303733940b837921ea25781ee62905d70a5f1c57f1b24cd38a2a7d720 cxxflags.patch" +sha512sums=" +010b0c043b1249bf2af3e0916122dc2149360f9137a759d3fa29eb5c6370c6a44ed761019c325bca38e120f6e72810538bb6cd3a64cc2f1c93d1534cf4a9b89a poco-1.12.4-all.tar.gz +fd1fb85cc3ee7d3ffa13871b4dc47ce737277cbd2236b92cb12176d84aee5e754674828061f4a6ab92eed23918cdf3ab8f2d51f3276211cda77c9587c08985cf cxxflags.patch +" |