summaryrefslogtreecommitdiff
path: root/user/kamoso
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-19 00:05:59 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-19 00:05:59 +0000
commit4ed149280efc12bd1263cf6ce1e19656261f7a69 (patch)
treea9d0abe51570cd9d54becc6b943497acbb7ded5f /user/kamoso
parentbfcf0fa27c06e3ebbfc703bf0fbe70e0673212ce (diff)
downloadpackages-4ed149280efc12bd1263cf6ce1e19656261f7a69.tar.gz
packages-4ed149280efc12bd1263cf6ce1e19656261f7a69.tar.bz2
packages-4ed149280efc12bd1263cf6ce1e19656261f7a69.tar.xz
packages-4ed149280efc12bd1263cf6ce1e19656261f7a69.zip
user/kamoso: New package
Diffstat (limited to 'user/kamoso')
-rw-r--r--user/kamoso/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/user/kamoso/APKBUILD b/user/kamoso/APKBUILD
new file mode 100644
index 000000000..e87d3f305
--- /dev/null
+++ b/user/kamoso/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kamoso
+pkgver=20.04.3
+pkgrel=0
+pkgdesc="KDE camera software"
+url="https://kde.org/applications/multimedia/org.kde.kamoso"
+arch="all"
+license="GPL-2.0+"
+depends="gst-plugins-base qt5-qtgraphicaleffects qt5-qtquickcontrols
+ qt5-qtquickcontrols2"
+makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev cmake extra-cmake-modules
+ kauth-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev
+ kcoreaddons-dev kdoctools-dev ki18n-dev kio-dev kitemviews-dev
+ kjobwidgets-dev knotifications-dev kservice-dev kwidgetsaddons-dev
+ kwindowsystem-dev kxmlgui-dev purpose-dev solid-dev gstreamer-dev
+ gst-plugins-base-dev kirigami2-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://download.kde.org/stable/release-service/$pkgver/src/kamoso-$pkgver.tar.xz"
+
+build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS} \
+ .
+ make
+}
+
+check() {
+ QT_QPA_PLATFORM=offscreen CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="7da5f635cd5744215e7d3c3332729c149786b10a50ecb6c1e63843da8756da2dd2b355b837d24bed670c52990c7f5322b52d703ca61c5c6ec87d89de04458e80 kamoso-20.04.3.tar.xz"