summaryrefslogtreecommitdiff
path: root/user/tellico
diff options
context:
space:
mode:
Diffstat (limited to 'user/tellico')
-rw-r--r--user/tellico/APKBUILD16
-rw-r--r--user/tellico/modern-taglib.patch13
2 files changed, 22 insertions, 7 deletions
diff --git a/user/tellico/APKBUILD b/user/tellico/APKBUILD
index f697dd5b5..677dd6007 100644
--- a/user/tellico/APKBUILD
+++ b/user/tellico/APKBUILD
@@ -1,10 +1,10 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=tellico
-pkgver=3.2.1
-pkgrel=1
+pkgver=3.3.1
+pkgrel=0
pkgdesc="Collection manager"
-url="http://tellico-project.org/"
+url="https://tellico-project.org/"
arch="all"
license="GPL-2.0-only OR GPL-3.0-only"
depends=""
@@ -19,6 +19,7 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev libxml2-dev libxslt-dev
subpackages="$pkgname-doc $pkgname-lang"
source="http://tellico-project.org/files/tellico-$pkgver.tar.xz
btparse-strcasecmp.patch
+ modern-taglib.patch
"
build() {
@@ -32,7 +33,7 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS -std=gnu99" \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} .
make
}
@@ -41,12 +42,13 @@ check() {
# htmlexporter: needs plasma desktop
# filelisting: needs dbus
# tellicoread: needs network
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E '(cite|csv|filelisting|imagejob|htmlexporter|pdf|tellicoread)test'
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E '(cite|csv|filelisting|imagejob|htmlexporter|pdf|tellicoread|comparison)test'
}
package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="ada45c66fce2e73f301e3f7d69acb20caf5ebde85ac77bd6e6f0701f55044f5f1a44f8e6ae5d6d6bd244fd6538fba88591caf70178855b6910ce5132508fba9b tellico-3.2.1.tar.xz
-4627e717d67340de6d88f7a21604a66ba236c651a0ae38d9d3569b76ad58c79f046cfd5686dd688de86d6acafc17ba3959902babdc7f00ab8e9d65717c4fab4a btparse-strcasecmp.patch"
+sha512sums="12d49aba8c99cd16e426ac0144fa7343c5b1348a8c9a0892f30ff274f0e98f9ad7819c03c4ecdd0dc2f826377468ebdab1996828e992fcd293c7ffe4f844ab74 tellico-3.3.1.tar.xz
+4627e717d67340de6d88f7a21604a66ba236c651a0ae38d9d3569b76ad58c79f046cfd5686dd688de86d6acafc17ba3959902babdc7f00ab8e9d65717c4fab4a btparse-strcasecmp.patch
+1d2b7825249167868b4127e424b3763551d9c361c500bb251b2e22e6e0b938e3015454092ec9e4724b2fd7a3bc1b059f9ead52cf75b7c85ca3a66d0fc3fe57e5 modern-taglib.patch"
diff --git a/user/tellico/modern-taglib.patch b/user/tellico/modern-taglib.patch
new file mode 100644
index 000000000..194914da8
--- /dev/null
+++ b/user/tellico/modern-taglib.patch
@@ -0,0 +1,13 @@
+Fix build with Taglib's built-in CMake module.
+--- tellico-3.3.1/CMakeLists.txt.old 2020-06-01 00:57:12.000000000 +0000
++++ tellico-3.3.1/CMakeLists.txt 2021-01-28 04:48:08.457839033 +0000
+@@ -128,7 +128,8 @@
+ TYPE OPTIONAL)
+ if(TAGLIB_FOUND)
+ add_definitions(${TAGLIB_CFLAGS})
+- include_directories(${TAGLIB_INCLUDES})
++ include_directories(${Taglib_INCLUDE_DIRS})
++ set(TAGLIB_LIBRARIES ${Taglib_LIBRARIES})
+ endif(TAGLIB_FOUND)
+
+ find_package(Yaz 2.0)