50 lines
1.8 KiB
Bash
50 lines
1.8 KiB
Bash
# Template file for 'digikam'
|
|
pkgname=digikam
|
|
version=7.10.0
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules gettext pkg-config bison flex qt5-qmake
|
|
qt5-host-tools kcoreaddons"
|
|
makedepends="qt5-devel libjpeg-turbo-devel qt5-plugin-mysql qt5-plugin-odbc
|
|
qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds qt5-xmlpatterns-devel
|
|
qt5-webkit-devel qt5-webview-devel qt5-declarative-devel kxmlgui-devel
|
|
kcoreaddons-devel kconfig-devel kservice-devel kwindowsystem-devel
|
|
ksolid-devel ki18n-devel kio-devel kiconthemes-devel kfilemetadata5-devel
|
|
knotifyconfig-devel knotifications-devel threadweaver-devel
|
|
akonadi-contacts-devel libksane-devel kcalendarcore-devel tiff-devel
|
|
lcms2-devel qtav libopencv-devel liblqr-devel marble5-devel libgphoto2-devel
|
|
lensfun-devel eigen jasper-devel MesaLib-devel glu-devel qt5-webchannel-devel
|
|
kconfigwidgets-devel kwidgetsaddons-devel libheif-devel"
|
|
short_desc="Advanced digital photo management application"
|
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://www.digikam.org"
|
|
distfiles="${KDE_SITE}/digikam/${version}/digiKam-${version}.tar.xz"
|
|
checksum=a3f30f01b7d1b6d585822bcd5ebf8df69e0ff024563a72462ebf8069dbda22e1
|
|
|
|
CXXFLAGS="-Wl,-lpthread"
|
|
|
|
build_options="webengine"
|
|
desc_option_webengine="Build with Qt5 WebEngine"
|
|
|
|
if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
|
|
if [ "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then
|
|
build_options_default="webengine"
|
|
fi
|
|
fi
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
LDFLAGS+=" -latomic"
|
|
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
|
fi
|
|
|
|
|
|
if [ "$build_option_webengine" ]; then
|
|
makedepends+=" qt5-webengine-devel"
|
|
else
|
|
makedepends+=" qt5-webkit-devel"
|
|
configure_args+=" -DENABLE_QWEBENGINE=OFF"
|
|
fi
|