Date: Thursday, October 14, 2021 @ 21:21:06 Author: svenstaro Revision: 1030205
archrelease: copy trunk to community-x86_64 Added: poco/repos/community-x86_64/0001-mariadb-replace-mysql.diff (from rev 1030204, poco/trunk/0001-mariadb-replace-mysql.diff) poco/repos/community-x86_64/PKGBUILD (from rev 1030204, poco/trunk/PKGBUILD) Deleted: poco/repos/community-x86_64/PKGBUILD ---------------------------------+ 0001-mariadb-replace-mysql.diff | 12 +++++ PKGBUILD | 78 ++++++++++++++++++++------------------ 2 files changed, 54 insertions(+), 36 deletions(-) Copied: poco/repos/community-x86_64/0001-mariadb-replace-mysql.diff (from rev 1030204, poco/trunk/0001-mariadb-replace-mysql.diff) =================================================================== --- 0001-mariadb-replace-mysql.diff (rev 0) +++ 0001-mariadb-replace-mysql.diff 2021-10-14 21:21:06 UTC (rev 1030205) @@ -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> Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-10-14 21:20:54 UTC (rev 1030204) +++ PKGBUILD 2021-10-14 21:21:06 UTC (rev 1030205) @@ -1,36 +0,0 @@ -# Maintainer: Sergej Pupykin <arch+...@sergej.pp.ru> -# Maintainer: Ido Rosen <i...@kernel.org> -# Contributor: Ross Whitfield <whitfiel...@ornl.gov> -# Contributor: Mateusz Paluszkiewcz <aifam96 at gmail dot com> -# Contributor: Christopher Reimer <vdr4arch at creimer dot net> - -pkgname=poco -pkgver=1.11.0 -_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") -sha256sums=('b08cf73926fa92a6c8f3c712e8fb217d5d0c2fa5248ec0281f251fe1e925d2f1') - -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" -} Copied: poco/repos/community-x86_64/PKGBUILD (from rev 1030204, poco/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-10-14 21:21:06 UTC (rev 1030205) @@ -0,0 +1,42 @@ +# Maintainer: Sergej Pupykin <arch+...@sergej.pp.ru> +# Maintainer: Ido Rosen <i...@kernel.org> +# Contributor: Ross Whitfield <whitfiel...@ornl.gov> +# Contributor: Mateusz Paluszkiewcz <aifam96 at gmail dot com> +# Contributor: Christopher Reimer <vdr4arch at creimer dot net> + +pkgname=poco +pkgver=1.11.0 +_pkgver=${pkgver/_/} +pkgrel=2 +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=('b08cf73926fa92a6c8f3c712e8fb217d5d0c2fa5248ec0281f251fe1e925d2f1' + '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" +}