[arch-commits] Commit in poco/repos (3 files)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Fri Jul 22 12:47:06 UTC 2022


    Date: Friday, July 22, 2022 @ 12:47:06
  Author: svenstaro
Revision: 1255224

archrelease: copy trunk to community-staging-x86_64

Added:
  poco/repos/community-staging-x86_64/
  poco/repos/community-staging-x86_64/0001-mariadb-replace-mysql.diff
    (from rev 1255223, poco/trunk/0001-mariadb-replace-mysql.diff)
  poco/repos/community-staging-x86_64/PKGBUILD
    (from rev 1255223, poco/trunk/PKGBUILD)

---------------------------------+
 0001-mariadb-replace-mysql.diff |   12 ++++++++++
 PKGBUILD                        |   43 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

Copied: poco/repos/community-staging-x86_64/0001-mariadb-replace-mysql.diff (from rev 1255223, poco/trunk/0001-mariadb-replace-mysql.diff)
===================================================================
--- community-staging-x86_64/0001-mariadb-replace-mysql.diff	                        (rev 0)
+++ community-staging-x86_64/0001-mariadb-replace-mysql.diff	2022-07-22 12:47:06 UTC (rev 1255224)
@@ -0,0 +1,12 @@
+diff -uNr poco/Data/MySQL/CMakeLists.txt poco_changed/Data/MySQL/CMakeLists.txt
+--- poco/Data/MySQL/CMakeLists.txt	2021-06-28 12:16:01.000000000 +0200
++++ poco_changed/Data/MySQL/CMakeLists.txt	2021-10-14 14:53:52.605311071 +0200
+@@ -21,7 +21,7 @@
+ 	DEFINE_SYMBOL MySQL_EXPORTS
+ )
+ 
+-target_link_libraries(DataMySQL PUBLIC Poco::Data MySQL::client)
++target_link_libraries(DataMySQL PUBLIC Poco::Data mariadb)
+ target_include_directories(DataMySQL
+ 	PUBLIC
+ 		$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>

Copied: poco/repos/community-staging-x86_64/PKGBUILD (from rev 1255223, poco/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-07-22 12:47:06 UTC (rev 1255224)
@@ -0,0 +1,43 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+# Contributor: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Contributor: Ido Rosen <ido at kernel.org>
+# Contributor: Ross Whitfield <whitfieldre at ornl.gov>
+# Contributor: Mateusz Paluszkiewcz <aifam96 at gmail dot com>
+# Contributor: Christopher Reimer <vdr4arch at creimer dot net>
+
+pkgname=poco
+pkgver=1.12.1
+_pkgver=${pkgver/_/}
+pkgrel=1
+pkgdesc="C++ class libraries for network-centric, portable applications, complete edition with debug libraries"
+arch=('x86_64')
+url="http://www.pocoproject.org/"
+license=('custom:boost')
+depends=('mariadb-libs' 'openssl' 'unixodbc')
+makedepends=('cmake' 'ninja')
+source=("https://pocoproject.org/releases/poco-${_pkgver%p?}/poco-${_pkgver}-all.tar.bz2"
+		"0001-mariadb-replace-mysql.diff")
+sha256sums=('846eca425bb9fda107fd7fbe5a4530f67dbad6b1b70615b534d5689d5b9ac6ac'
+            '83628e398cd641d3b2a2645318c5c4a8130366673822936907446d792d3ef737')
+
+prepare() {
+  patch -p1 -d "poco-${_pkgver}-all" < 0001-mariadb-replace-mysql.diff
+}
+
+build() {
+  cd "poco-${_pkgver}-all"
+
+  cmake \
+    -GNinja \
+    -Bbuild \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release
+  ninja -C build
+}
+
+package() {
+  cd "poco-${_pkgver}-all"
+
+  DESTDIR="${pkgdir}" ninja -C build install
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/poco/LICENSE"
+}



More information about the arch-commits mailing list