-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b398f8
commit 685310e
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
seexpr-krita |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Template file for 'seexpr-krita' | ||
pkgname=seexpr-krita | ||
version=3.4.4.0 | ||
revision=1 | ||
wrksrc="seexpr-${version}" | ||
build_style=cmake | ||
configure_args="-DBUILD_DEMOS=OFF -DUSE_PYTHON=OFF" | ||
hostmakedepends="qt5-qmake qt5-host-tools" | ||
makedepends="qt5-tools-devel" | ||
checkdepends="gtest-devel" | ||
short_desc="Embeddable expression evaluation engine (Krita fork)" | ||
maintainer="Kartik Singh <kartik.ynwa@gmail.com>" | ||
license="GPL-3.0-or-later" | ||
homepage="https://krita.org" | ||
distfiles="${KDE_SITE}/seexpr/seexpr-${version}.tar.gz" | ||
checksum=3f5b5330667d398285c9f7086cc3fd7e1363f3fa75f79b39766c34fe2e233656 | ||
|
||
if [ "$XBPS_CHECK_PKGS" ]; then | ||
configure_args+=" -DBUILD_TESTS=ON" | ||
else | ||
configure_args+=" -DBUILD_TESTS=OFF" | ||
fi | ||
|
||
do_check() { | ||
cd build | ||
# BlockTests requires llvm, we don't build it with llvm | ||
ctest -E 'BlockTests' | ||
} | ||
|
||
pre_configure() { | ||
sed -i 's#share/SeExpr2/utils#lib/SeExpr2/utils#' src/utils/CMakeLists.txt | ||
} | ||
|
||
post_install() { | ||
[ -d "${DESTDIR}/usr/share/test/SeExpr2" ] && rm -r "${DESTDIR}/usr/share/test/SeExpr2" || true | ||
} | ||
|
||
seexpr-krita-devel_package() { | ||
short_desc+=" - development files" | ||
depends="${sourcepkg}-${version}_${revision}" | ||
pkg_install() { | ||
vmove usr/include | ||
vmove usr/share/cmake | ||
vmove usr/share/pkgconfig | ||
vmove "usr/lib/*.so" | ||
} | ||
} |