summaryrefslogtreecommitdiff
path: root/user/kwin/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-05 19:24:20 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-05 19:24:20 -0500
commit5c6964cb8fbabe2e2d61eb95bcbec1f82e7f6084 (patch)
tree49800cb95c45d9bfc15f2c86dd75fd9a950c39b7 /user/kwin/APKBUILD
parentbdc6b437ce1c7ed0e10e914f538f937c0a47663a (diff)
downloadpackages-5c6964cb8fbabe2e2d61eb95bcbec1f82e7f6084.tar.gz
packages-5c6964cb8fbabe2e2d61eb95bcbec1f82e7f6084.tar.bz2
packages-5c6964cb8fbabe2e2d61eb95bcbec1f82e7f6084.tar.xz
packages-5c6964cb8fbabe2e2d61eb95bcbec1f82e7f6084.zip
user/kwin: new package
Diffstat (limited to 'user/kwin/APKBUILD')
-rw-r--r--user/kwin/APKBUILD58
1 files changed, 58 insertions, 0 deletions
diff --git a/user/kwin/APKBUILD b/user/kwin/APKBUILD
new file mode 100644
index 000000000..d684e442f
--- /dev/null
+++ b/user/kwin/APKBUILD
@@ -0,0 +1,58 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kwin
+pkgver=5.8.7
+pkgrel=0
+pkgdesc="Modern, stylish window manager (requires OpenGL)"
+url="https://www.kde.org/"
+arch="all"
+license="LGPL-2.1"
+options="!check" # Requires accelerated X11 desktop
+depends=""
+depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtscript-dev kcrash-dev
+ qt5-qtx11extras-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev
+ kglobalaccel-dev ki18n-dev kinit-dev knotifications-dev kpackage-dev
+ plasma-framework-dev kwidgetsaddons-dev kwindowsystem-dev kwayland-dev
+ kiconthemes-dev kidletime-dev kcompletion-dev kdeclarative-dev kio-dev
+ kcmutils-dev ktextwidgets-dev knewstuff-dev kservice-dev kxmlgui-dev
+ kdecoration-dev kscreenlocker-dev wayland-dev mesa-dev libepoxy-dev
+ eudev-dev libdrm-dev libx11-dev libxcb-dev xcb-util-cursor-dev
+ xcb-util-image-dev xcb-util-wm-dev libxkbcommon-dev libinput-dev
+ freetype-dev fontconfig-dev qt5-qtmultimedia-dev breeze-dev"
+makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev python3"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="http://download.kde.org/stable/plasma/$pkgver/kwin-$pkgver.tar.xz
+ kwin-5.8-stop-depending-on-qt5-internals.patch
+ kwin-5.8-respect-uint.patch"
+builddir="$srcdir/kwin-$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="f1f3b01f85378e663385887add8dd5b2f40076cfc57f7cf638e83e2424fedb576b4b431b14151422ea43c535677131e61b8d9e7fe60e5a5f4ea06520c895bd1e kwin-5.8.7.tar.xz
+7186dd317204612ba26f11315238f527949424d08f32dc0dab8c1391d642529433cfd7091dc2a057fe849976dee70eed7aab3c8be55b20b8c0655da57976b48e kwin-5.8-stop-depending-on-qt5-internals.patch
+aaefa9951ec1475adf00784b202d0ca9f92a60634a869387432411e8b7928d9f10b46968998a4ada47228834e8c7f6c9bf1c8dd988673b22619e8e1295e086c7 kwin-5.8-respect-uint.patch"