Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
lucene++
Commits:
57e56956 by Antonio Rojas at 2024-08-30T21:19:11+02:00
upgpkg: 3.0.9-2: boost 1.86 rebuild
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = lucene++
pkgdesc = C++ port of the popular Java Lucene library
pkgver = 3.0.9
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/luceneplusplus/LucenePlusPlus
arch = x86_64
license = GPL
@@ -11,6 +11,8 @@ pkgbase = lucene++
makedepends = subversion
depends = boost-libs
source =
https://github.com/luceneplusplus/LucenePlusPlus/archive/b545dba.tar.gz
+ source =
https://github.com/luceneplusplus/LucenePlusPlus/commit/76dc90f2.patch
sha512sums =
25b40e0d24d70a07f6976f340faeba0eabe6279fa2a5d8e8484210f6b9faa4f3d3a69bb149c233320b74b7c4fa4be155d5575512f7e032d1e99f46cdb8ca2953
+ sha512sums =
0af65afca3b0725a78774d9e443efdf6ef1463f9388c98f13f3823dfd3677cd7f3a82c8e9a8e20ec3322624cc85c0ec2b91ec668f1a822462ae9beda0d8ab44d
pkgname = lucene++
=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
pkgname=lucene++
pkgver=3.0.9
_githash='b545dba'
-pkgrel=1
+pkgrel=2
pkgdesc='C++ port of the popular Java Lucene library'
arch=(x86_64)
url='https://github.com/luceneplusplus/LucenePlusPlus'
@@ -12,8 +12,10 @@ license=('GPL' 'Apache')
depends=('boost-libs')
makedepends=('boost' 'cmake' 'subversion')
#source=(https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_$pkgver.tar.gz)
-source=("https://github.com/luceneplusplus/LucenePlusPlus/archive/${_githash}.tar.gz")
-sha512sums=('25b40e0d24d70a07f6976f340faeba0eabe6279fa2a5d8e8484210f6b9faa4f3d3a69bb149c233320b74b7c4fa4be155d5575512f7e032d1e99f46cdb8ca2953')
+source=("https://github.com/luceneplusplus/LucenePlusPlus/archive/${_githash}.tar.gz"
+
https://github.com/luceneplusplus/LucenePlusPlus/commit/76dc90f2.patch)
+sha512sums=('25b40e0d24d70a07f6976f340faeba0eabe6279fa2a5d8e8484210f6b9faa4f3d3a69bb149c233320b74b7c4fa4be155d5575512f7e032d1e99f46cdb8ca2953'
+
'0af65afca3b0725a78774d9e443efdf6ef1463f9388c98f13f3823dfd3677cd7f3a82c8e9a8e20ec3322624cc85c0ec2b91ec668f1a822462ae9beda0d8ab44d')
prepare() {
mkdir build
@@ -24,6 +26,7 @@ prepare() {
-e 's#SET(LUCENE++_VERSION_REVISION.*#SET(LUCENE++_VERSION_REVISION "5")#'
\
-e 's#SET(LUCENE++_VERSION_PATCH.*#SET(LUCENE++_VERSION_PATCH "0")#' \
"$srcdir"/LucenePlusPlus-$pkgver/CMakeLists.txt
+ patch -p1 -d LucenePlusPlus-$pkgver < 76dc90f2.patch # Fix build with boost
1.85
}
build() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/luceneplusplus/-/commit/57e56956d4d3a7e9b10cb6c45fa2b6a046323e1d
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/luceneplusplus/-/commit/57e56956d4d3a7e9b10cb6c45fa2b6a046323e1d
You're receiving this email because of your account on gitlab.archlinux.org.