summaryrefslogtreecommitdiff
path: root/user/krfb/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-12-12 01:13:15 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-12-12 01:13:15 -0600
commit596860c30a1e339a9bfb790a7bc21eb12876cfa7 (patch)
tree479a76d3cb36549816e9d6a59e8938bc7fc8bf9d /user/krfb/APKBUILD
parent6e2a78215a4eee32e150b875f4dec05ba0c1559e (diff)
downloadpackages-596860c30a1e339a9bfb790a7bc21eb12876cfa7.tar.gz
packages-596860c30a1e339a9bfb790a7bc21eb12876cfa7.tar.bz2
packages-596860c30a1e339a9bfb790a7bc21eb12876cfa7.tar.xz
packages-596860c30a1e339a9bfb790a7bc21eb12876cfa7.zip
user/krfb: new package
Diffstat (limited to 'user/krfb/APKBUILD')
-rw-r--r--user/krfb/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/user/krfb/APKBUILD b/user/krfb/APKBUILD
new file mode 100644
index 000000000..15e748b89
--- /dev/null
+++ b/user/krfb/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=krfb
+pkgver=17.08.2
+pkgrel=0
+pkgdesc="Share your screen with others for remote watching or assistance"
+url="https://www.kde.org/applications/system/krfb/"
+arch="all"
+license="GPL-2.0"
+depends=""
+makedepends="cmake qt5-qtbase-dev qt5-qtx11extras-dev extra-cmake-modules
+ ki18n-dev kcompletion-dev kconfig-dev kcoreaddons-dev kcrash-dev
+ kdbusaddons-dev kdnssd-dev kdoctools-dev knotifications-dev kwallet-dev
+ kwidgetsaddons-dev kxmlgui-dev xcb-util-image-dev libvncserver-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="http://download.kde.org/stable/applications/$pkgver/src/krfb-$pkgver.tar.xz"
+builddir="$srcdir/krfb-$pkgver"
+
+build() {
+ cd "$builddir"
+ 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() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="4aa3f02403c399fd0cca9112c63e90a3c057ed48a8265af91e38f88f8cb8e58a7d78869e8a25c73d500c9700ba51db3ba07edc6054045fa04764c4de3b9db9b0 krfb-17.08.2.tar.xz"