summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorblacktav2025-03-31 20:43:09 +0200
committerblacktav2025-03-31 20:43:09 +0200
commitb4efa58790cf69461fe8b427e5d18032d3531266 (patch)
tree9e3fdb37555107d164155bf6b750b31438ca9d36
parent0c334b5120779db64aa82e74c7ee5b29707261b2 (diff)
downloadaur-b4efa58790cf69461fe8b427e5d18032d3531266.tar.gz
rebuild with distributed patch system
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD50
2 files changed, 9 insertions, 50 deletions
diff --git a/.SRCINFO b/.SRCINFO
index db8a0eff69a5..82d7c3819b89 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -18,15 +18,10 @@ pkgbase = pokerth
source = https://sourceforge.net/projects/pokerth/files/pokerth/1.1.2/pokerth-1.1.2.tar.gz
source = pokerth-1.1.2.patch.2023
source = pokerth-1.1.2.patch.2023.xdg
+ source = https://github.com/blacktav/aur-pokerth/archive/refs/tags/pkgver.50.tar.gz
md5sums = 8fd7d7fc7ece17315e58aa3240dd4586
- md5sums = 0ef5541fc6008dfb2521dcab47afb659
- md5sums = 50d427bd8afc57fb61e186de6c4e5601
- md5sums = 5bdcc1f2240c20f4b766b183d93836b3
md5sums = a9b886e89d5c262c95c1d90e459d519c
md5sums = e61eae14e6394f4745245e2ef42d812c
- md5sums = 5a563f6b3b144b0e6c2eb4bacd4ca3d4
- md5sums = fccb2e36cdd6a71fa4c724ec7ee7aab5
- md5sums = ef647991fb46f0c334931a801b173fb6
- md5sums = c5c635158e5cb3227905e89e7fef1d02
+ md5sums = 9438108819c98e437babbbd4e462aca4
pkgname = pokerth
diff --git a/PKGBUILD b/PKGBUILD
index e70161460d5d..5ee8451f3ef4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,33 +15,15 @@ depends=('curl' 'boost-libs' 'gsasl' 'protobuf'
makedepends=('boost')
-# pin boost to 1.86.0
-#depends=('curl' 'boost-libs=1.86.0' 'gsasl' 'protobuf'
-# 'qt5-base' 'sdl_mixer' 'tinyxml')
-
-#makedepends=('boost=1.86.0')
-
source=(https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz
-# ${pkgname}-${pkgver}.patch
-# ${pkgname}-${pkgver}.patch.2019
-# ${pkgname}-${pkgver}.patch.2020
${pkgname}-${pkgver}.patch.2023
${pkgname}-${pkgver}.patch.2023.xdg
-# ${pkgname}-${pkgver}.patch.2024.boost_deps
-# ${pkgname}-${pkgver}.patch.2025.boost-1.87
-# ${pkgname}-${pkgver}.patch.2025.websocketpp
-# ${pkgname}-${pkgver}.patch.2025.moredeps
+ https://github.com/blacktav/aur-pokerth/archive/refs/tags/pkgver.50.tar.gz
)
md5sums=('8fd7d7fc7ece17315e58aa3240dd4586'
- '0ef5541fc6008dfb2521dcab47afb659'
- '50d427bd8afc57fb61e186de6c4e5601'
- '5bdcc1f2240c20f4b766b183d93836b3'
'a9b886e89d5c262c95c1d90e459d519c'
'e61eae14e6394f4745245e2ef42d812c'
- '5a563f6b3b144b0e6c2eb4bacd4ca3d4'
- 'fccb2e36cdd6a71fa4c724ec7ee7aab5'
- 'ef647991fb46f0c334931a801b173fb6'
- 'c5c635158e5cb3227905e89e7fef1d02'
+ '9438108819c98e437babbbd4e462aca4'
)
# -------------------------------------------------------------------------
@@ -60,16 +42,6 @@ md5sums=('8fd7d7fc7ece17315e58aa3240dd4586'
prepare() {
cd "$srcdir/$pkgname-$pkgver-rc"
- # ---< required for v1.1.2 >--------------------------------------------------
- # these changes should be incorporated in next release ~feb-2018
-# patch -Np1 -i "${srcdir}/pokerth-1.1.2.patch"
- # ----------------------------------------------------------------------------
- # changes to permit building with boost 1.70
-# patch -Np1 -i "${srcdir}/pokerth-1.1.2.patch.2019"
- # ----------------------------------------------------------------------------
- # change to permit building with boost 1.74
- # see also DEFINE+="BOOST_BIND_GLOBAL_PLACEHOLDERS" in build below
-# patch -Np1 -i "${srcdir}/pokerth-1.1.2.patch.2020"
# ----------------------------------------------------------------------------
# change to explicitly link libabsl_log_internal_message.so and
# libabsl_log_internal_check_op.so
@@ -82,19 +54,11 @@ prepare() {
# changes suggested by @viktoracoric
# patch -Np1 -i "${srcdir}/pokerth-1.1.2.patch.2023.xdg"
# ----------------------------------------------------------------------------
- # change to adapt to boost deprecation removals in 1.85
- # corrections taken from upstream
- # adapts to BOOST_VERSION: should work with either 1.83 or 1.86
-# patch -Np1 -i "${srcdir}/pokerth-1.1.2.patch.2024.boost_deps"
- # ----------------------------------------------------------------------------
- # Patches & much effort by jlocash
- # change to adapt to boost deprecation removals in 1.87
-# patch -Np1 -i "${srcdir}/pokerth-1.1.2.patch.2025.boost-1.87"
- # change to adapt to boost & webapp deprecation removals
-# patch -Np1 -i "${srcdir}/pokerth-1.1.2.patch.2025.websocketpp"
- # ----------------------------------------------------------------------------
- # minor changes to adapt to various deprecations
-# patch -Np1 -i "${srcdir}/pokerth-1.1.2.patch.2025.moredeps"
+ # major patch bundled into a single file (by jlocash)
+ # based on PokerTH fork github.com/Hains/
+ # Patch distributed from GitHub itself
+ tar -xf "${srcdir}/pkgver.50.tar.gz" aur-pokerth-pkgver.50/pokerth-1.1.2.patch.2025-boost187-qt6
+ patch -Np1 -i "${srcdir}/aur-pokerth-pkgver.50/pokerth-1.1.2.patch.2025-boost187-qt6"
# ----------------------------------------------------------------------------
# good idea to do this at all times