Skip to content
Snippets Groups Projects
Commit 2b0366ae authored by Bart Ribbers's avatar Bart Ribbers Committed by Leo
Browse files

community/gwenview: move from testing

parent f29967b9
No related branches found
No related tags found
No related merge requests found
...@@ -15,8 +15,15 @@ checkdepends="xvfb-run kinit" ...@@ -15,8 +15,15 @@ checkdepends="xvfb-run kinit"
source="https://download.kde.org/stable/applications/$pkgver/src/gwenview-$pkgver.tar.xz" source="https://download.kde.org/stable/applications/$pkgver/src/gwenview-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang" subpackages="$pkgname-doc $pkgname-lang"
prepare() {
default_prepare
mkdir "$builddir"/build
}
build() { build() {
cmake \ cd "$builddir"/build
cmake "$builddir" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_LIBDIR=lib
...@@ -24,12 +31,14 @@ build() { ...@@ -24,12 +31,14 @@ build() {
} }
check() { check() {
cd "$builddir"/build
# urlutilstest is broken # urlutilstest is broken
# recursivedirmodeltest requires running DBus # recursivedirmodeltest requires running DBus
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(urlutils|recursivedirmodel)test" CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(urlutils|recursivedirmodel)test"
} }
package() { package() {
cd "$builddir"/build
DESTDIR="$pkgdir" make install DESTDIR="$pkgdir" make install
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment