mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-06 20:12:59 +02:00
Lucene++: for boost-1.89
This commit is contained in:
parent
d8e96422d5
commit
1baf5e3b09
2 changed files with 100 additions and 2 deletions
98
srcpkgs/Lucene++/patches/boost-1.89.patch
Normal file
98
srcpkgs/Lucene++/patches/boost-1.89.patch
Normal file
|
@ -0,0 +1,98 @@
|
||||||
|
--- a/cmake/dependencies.cmake
|
||||||
|
+++ b/cmake/dependencies.cmake
|
||||||
|
@@ -3,11 +3,8 @@
|
||||||
|
####################################
|
||||||
|
|
||||||
|
find_package(Boost COMPONENTS
|
||||||
|
- date_time
|
||||||
|
filesystem
|
||||||
|
iostreams
|
||||||
|
- regex
|
||||||
|
- system
|
||||||
|
thread
|
||||||
|
REQUIRED
|
||||||
|
)
|
||||||
|
--- a/src/contrib/CMakeLists.txt
|
||||||
|
+++ b/src/contrib/CMakeLists.txt
|
||||||
|
@@ -63,11 +63,8 @@ target_include_directories(lucene++-cont
|
||||||
|
####################################
|
||||||
|
target_link_libraries(lucene++-contrib
|
||||||
|
Boost::boost
|
||||||
|
- Boost::date_time
|
||||||
|
Boost::filesystem
|
||||||
|
Boost::iostreams
|
||||||
|
- Boost::regex
|
||||||
|
- Boost::system
|
||||||
|
Boost::thread
|
||||||
|
ZLIB::ZLIB
|
||||||
|
lucene++::lucene++)
|
||||||
|
--- a/src/core/CMakeLists.txt
|
||||||
|
+++ b/src/core/CMakeLists.txt
|
||||||
|
@@ -53,11 +53,8 @@ target_include_directories(lucene++
|
||||||
|
####################################
|
||||||
|
target_link_libraries(lucene++
|
||||||
|
Boost::boost
|
||||||
|
- Boost::date_time
|
||||||
|
Boost::filesystem
|
||||||
|
Boost::iostreams
|
||||||
|
- Boost::regex
|
||||||
|
- Boost::system
|
||||||
|
Boost::thread
|
||||||
|
ZLIB::ZLIB
|
||||||
|
)
|
||||||
|
--- a/src/demo/deletefiles/CMakeLists.txt
|
||||||
|
+++ b/src/demo/deletefiles/CMakeLists.txt
|
||||||
|
@@ -34,11 +34,8 @@ target_include_directories(deletefiles
|
||||||
|
target_link_libraries(deletefiles
|
||||||
|
PRIVATE
|
||||||
|
Boost::boost
|
||||||
|
- Boost::date_time
|
||||||
|
Boost::filesystem
|
||||||
|
Boost::iostreams
|
||||||
|
- Boost::regex
|
||||||
|
- Boost::system
|
||||||
|
Boost::thread
|
||||||
|
ZLIB::ZLIB
|
||||||
|
lucene++::lucene++
|
||||||
|
--- a/src/demo/indexfiles/CMakeLists.txt
|
||||||
|
+++ b/src/demo/indexfiles/CMakeLists.txt
|
||||||
|
@@ -35,11 +35,8 @@ target_include_directories(indexfiles
|
||||||
|
target_link_libraries(indexfiles
|
||||||
|
PRIVATE
|
||||||
|
Boost::boost
|
||||||
|
- Boost::date_time
|
||||||
|
Boost::filesystem
|
||||||
|
Boost::iostreams
|
||||||
|
- Boost::regex
|
||||||
|
- Boost::system
|
||||||
|
Boost::thread
|
||||||
|
ZLIB::ZLIB
|
||||||
|
lucene++::lucene++
|
||||||
|
--- a/src/demo/searchfiles/CMakeLists.txt
|
||||||
|
+++ b/src/demo/searchfiles/CMakeLists.txt
|
||||||
|
@@ -34,11 +34,8 @@ target_include_directories(searchfiles
|
||||||
|
target_link_libraries(searchfiles
|
||||||
|
PRIVATE
|
||||||
|
Boost::boost
|
||||||
|
- Boost::date_time
|
||||||
|
Boost::filesystem
|
||||||
|
Boost::iostreams
|
||||||
|
- Boost::regex
|
||||||
|
- Boost::system
|
||||||
|
Boost::thread
|
||||||
|
ZLIB::ZLIB
|
||||||
|
lucene++::lucene++
|
||||||
|
--- a/src/test/CMakeLists.txt
|
||||||
|
+++ b/src/test/CMakeLists.txt
|
||||||
|
@@ -54,11 +54,8 @@ target_include_directories(lucene++-test
|
||||||
|
target_link_libraries(lucene++-tester
|
||||||
|
PRIVATE
|
||||||
|
Boost::boost
|
||||||
|
- Boost::date_time
|
||||||
|
Boost::filesystem
|
||||||
|
Boost::iostreams
|
||||||
|
- Boost::regex
|
||||||
|
- Boost::system
|
||||||
|
Boost::thread
|
||||||
|
ZLIB::ZLIB
|
||||||
|
gtest_main
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'Lucene++'
|
# Template file for 'Lucene++'
|
||||||
pkgname=Lucene++
|
pkgname=Lucene++
|
||||||
version=3.0.9
|
version=3.0.9
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-Wno-dev"
|
configure_args="-Wno-dev"
|
||||||
makedepends="boost-devel-minimal libboost_filesystem libboost_iostreams
|
makedepends="boost-devel-minimal libboost_filesystem libboost_iostreams
|
||||||
libboost_thread libboost_date_time gtest-devel zlib-devel"
|
libboost_thread gtest-devel zlib-devel"
|
||||||
short_desc="C++ port of the popular text search engine"
|
short_desc="C++ port of the popular text search engine"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="LGPL-3.0-or-later, Apache-2.0"
|
license="LGPL-3.0-or-later, Apache-2.0"
|
||||||
|
|
Loading…
Add table
Reference in a new issue