mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
nuspell: update to 5.1.6.
This commit is contained in:
parent
10797a9582
commit
2fe08434b2
2 changed files with 3 additions and 42 deletions
|
@ -1,40 +0,0 @@
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -58,7 +58,7 @@ endfunction()
|
|
||||||
|
|
||||||
if (BUILD_TESTING)
|
|
||||||
enable_testing()
|
|
||||||
- find_package(Catch2 2.3.0 QUIET)
|
|
||||||
+ find_package(Catch2 QUIET)
|
|
||||||
if (NOT Catch2_FOUND)
|
|
||||||
find_catch2_from_source()
|
|
||||||
endif()
|
|
||||||
--- a/tests/CMakeLists.txt
|
|
||||||
+++ b/tests/CMakeLists.txt
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
add_executable(unit_test unit_test.cxx catch_main.cxx)
|
|
||||||
-target_link_libraries(unit_test PRIVATE nuspell Catch2::Catch2)
|
|
||||||
+target_link_libraries(unit_test PRIVATE nuspell Catch2::Catch2WithMain)
|
|
||||||
if (MSVC)
|
|
||||||
target_compile_options(unit_test PRIVATE "/utf-8")
|
|
||||||
# Consider doing this for all the other targets by setting this flag
|
|
||||||
--- a/tests/catch_main.cxx
|
|
||||||
+++ b/tests/catch_main.cxx
|
|
||||||
@@ -16,5 +16,4 @@
|
|
||||||
* along with Nuspell. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
-#define CATCH_CONFIG_MAIN
|
|
||||||
-#include <catch2/catch.hpp>
|
|
||||||
+#include <catch2/catch_all.hpp>
|
|
||||||
--- a/tests/unit_test.cxx
|
|
||||||
+++ b/tests/unit_test.cxx
|
|
||||||
@@ -16,7 +16,7 @@
|
|
||||||
* along with Nuspell. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
-#include <catch2/catch.hpp>
|
|
||||||
+#include <catch2/catch_all.hpp>
|
|
||||||
#include <nuspell/dictionary.hxx>
|
|
||||||
#include <nuspell/utils.hxx>
|
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
# Template file for 'nuspell'
|
# Template file for 'nuspell'
|
||||||
pkgname=nuspell
|
pkgname=nuspell
|
||||||
version=5.1.3
|
version=5.1.6
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_SHARED_LIBS=ON"
|
configure_args="-DBUILD_SHARED_LIBS=ON"
|
||||||
|
hostmakedepends="pandoc"
|
||||||
makedepends="icu-devel catch2"
|
makedepends="icu-devel catch2"
|
||||||
short_desc="C++ spell checking library"
|
short_desc="C++ spell checking library"
|
||||||
maintainer="John <me@johnnynator.dev>"
|
maintainer="John <me@johnnynator.dev>"
|
||||||
license="LGPL-3.0-or-later"
|
license="LGPL-3.0-or-later"
|
||||||
homepage="https://nuspell.github.io/"
|
homepage="https://nuspell.github.io/"
|
||||||
distfiles="https://github.com/nuspell/nuspell/archive/v${version}.tar.gz"
|
distfiles="https://github.com/nuspell/nuspell/archive/v${version}.tar.gz"
|
||||||
checksum=2b1c96bdc5a32a17fc8fc24a0c205fa52b0a2920dd6139b0a7d7744cdef48c22
|
checksum=5d4baa1daf833a18dc06ae0af0571d9574cc849d47daff6b9ce11dac0a5ded6a
|
||||||
|
|
||||||
libnuspell_package() {
|
libnuspell_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue