New package: gwenview-17.12.0
This commit is contained in:
parent
39ace89963
commit
cdb708578f
2 changed files with 27 additions and 0 deletions
25
srcpkgs/gwenview/template
Normal file
25
srcpkgs/gwenview/template
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'gwenview'
|
||||
pkgname=gwenview
|
||||
version=17.12.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="extra-cmake-modules pkg-config qt5-qmake qt5-host-tools python kdoctools kconfig"
|
||||
makedepends="qt5-devel qt5-svg-devel phonon-qt5-devel kio-devel kactivities5-devel
|
||||
kitemmodels-devel ki18n-devel kdoctools-devel kparts-devel kwindowsystem-devel
|
||||
kiconthemes-devel knotifications-devel libjpeg-turbo-devel exiv2-devel
|
||||
libkipi5-devel lcms2-devel baloo5-devel libkdcraw5-devel cfitsio"
|
||||
short_desc="Fast and easy to use image viewer by KDE"
|
||||
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
||||
license="GPL-2"
|
||||
homepage="https://www.kde.org/applications/graphics/gwenview"
|
||||
distfiles="https://download.kde.org/stable/applications/${version}/src/${pkgname}-${version}.tar.xz"
|
||||
checksum=3f41bda6ef857269bb0b8658ebd4f27844d3a11ac118c31eb124c571ec643bd5
|
||||
|
||||
pre_configure() {
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
mkdir build
|
||||
_libjpeg_version=$(grep 'define JPEG_LIB_VERSION' /usr/${XBPS_CROSS_TRIPLET}/include/jconfig.h | awk '{print $3}')
|
||||
echo "JPEGLIB_RUN_RESULT:STRING=${_libjpeg_version}" >> build/CMakeCache.txt
|
||||
echo "JPEGLIB_RUN_RESULT__TRYRUN_OUTPUT:STRING=${_libjpeg_version}" >> build/CMakeCache.txt
|
||||
fi
|
||||
}
|
2
srcpkgs/gwenview/update
Normal file
2
srcpkgs/gwenview/update
Normal file
|
@ -0,0 +1,2 @@
|
|||
site="https://download.kde.org/stable/applications/"
|
||||
pattern='href="\K[\d\.]+(?=/")'
|
Loading…
Reference in a new issue