Lucene++: for boost-1.89

This commit is contained in:
Đoàn Trần Công Danh 2025-08-30 16:16:34 +07:00
parent d8e96422d5
commit 1baf5e3b09
2 changed files with 100 additions and 2 deletions

View 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

View file

@ -1,11 +1,11 @@
# Template file for 'Lucene++'
pkgname=Lucene++
version=3.0.9
revision=1
revision=2
build_style=cmake
configure_args="-Wno-dev"
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"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-3.0-or-later, Apache-2.0"