summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlilac2021-02-25 00:20:51 +0800
committerlilac2021-02-25 00:20:51 +0800
commitf921426afaf331c5791bcd84e9a5391304c69fef (patch)
treeb6b1ffca0d9038ea45d03e7504ab6b0b149bb86b
parent5df4a602103874f8be400fab7734a6c8cd608661 (diff)
downloadaur-f921426afaf3.tar.gz
[lilac] updated to 4.11.20200930-9
-rw-r--r--.SRCINFO3
-rw-r--r--3dslicer.desktop10
-rw-r--r--PKGBUILD6
3 files changed, 7 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 754befc3f84..fa9e4b9ae64 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = 3dslicer
pkgdesc = A multi-platform, free and open source software package for visualization and medical image computing
pkgver = 4.11.20200930
- pkgrel = 7
+ pkgrel = 9
url = https://www.slicer.org/
arch = x86_64
license = BSD
@@ -13,6 +13,7 @@ pkgbase = 3dslicer
depends = bzip2
depends = curl
depends = dcmtk
+ depends = libarchive
depends = libxt
depends = openssl
depends = qt5-base
diff --git a/3dslicer.desktop b/3dslicer.desktop
deleted file mode 100644
index afb09271c60..00000000000
--- a/3dslicer.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Name=3D Slicer
-Comment=Start 3D Slicer
-Exec=Slicer
-Type=Application
-Icon=3dslicer.png
-StartupNotify=true
-Categories=Graphics;MedicalSoftware;Science;
-X-Desktop-File-Install-Version=
-MimeType=
diff --git a/PKGBUILD b/PKGBUILD
index cd2a2a685a5..127246c584d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=3dslicer
pkgver=4.11.20200930
-pkgrel=7
+pkgrel=9
pkgdesc="A multi-platform, free and open source software package for visualization and medical image computing"
arch=('x86_64')
url="https://www.slicer.org/"
@@ -11,6 +11,7 @@ depends=(
bzip2
curl
dcmtk
+ libarchive
libxt
openssl
qt5-base
@@ -41,6 +42,8 @@ sha512sums=('SKIP'
prepare() {
# find sqlite with cmake's FindSQLite3
sed -i 's/find_package(${proj} REQUIRED)/find_package(SQLite3 REQUIRED)/' "${srcdir}/${pkgname}-${pkgver}/SuperBuild/External_sqlite.cmake"
+ # fix building with system teem
+ sed -i '/ExternalProject_Add_Empty/d' "${srcdir}/${pkgname}-${pkgver}/SuperBuild/External_teem.cmake"
echo "Creating desktop file"
gendesk -f -n --pkgname ${pkgname} \
@@ -63,6 +66,7 @@ build() {
-DSlicer_USE_SYSTEM_bzip2=ON \
-DSlicer_USE_SYSTEM_curl=ON \
-DSlicer_USE_SYSTEM_DCMTK=ON \
+ -DSlicer_USE_SYSTEM_LibArchive=ON \
-DSlicer_USE_SYSTEM_LZMA=ON \
-DSlicer_USE_SYSTEM_OpenSSL=ON \
-DSlicer_USE_SYSTEM_QT=ON \