709e3c5bfb
This was a circular dependency, because plasma-framework depends on kirigami2-dev. Furthermore it broke building, because the old plasma-framework-dev could not be used as it depended on a package that has been renamed.
42 lines
1.2 KiB
Text
42 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kirigami2
|
|
pkgver=5.45.0
|
|
pkgrel=1
|
|
pkgdesc='A QtQuick based components set'
|
|
arch="all"
|
|
url='https://community.kde.org/Frameworks'
|
|
license="LGPL"
|
|
depends="qt5-qtgraphicaleffects"
|
|
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev
|
|
kpackage-dev kcoreaddons-dev kservice-dev kconfig-dev kwindowsystem-dev"
|
|
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-libs $pkgname-lang"
|
|
options="!check"
|
|
builddir="$srcdir/build"
|
|
|
|
prepare() {
|
|
mkdir "$builddir"
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
cmake "$srcdir"/$pkgname-$pkgver \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_EXAMPLES=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="8518642a5bed89fbd53e8994bbaf3fa1ff46ad10c456d64e2bab86d279255516fbff4c14fc245b756a7c0f426c09835b357fec8aff564f64a8d047ca0605d725 kirigami2-5.45.0.tar.xz"
|