summaryrefslogtreecommitdiff
path: root/user/lxqt-panel
diff options
context:
space:
mode:
Diffstat (limited to 'user/lxqt-panel')
-rw-r--r--user/lxqt-panel/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/user/lxqt-panel/APKBUILD b/user/lxqt-panel/APKBUILD
new file mode 100644
index 000000000..a6af945c3
--- /dev/null
+++ b/user/lxqt-panel/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=lxqt-panel
+pkgver=0.12.0
+pkgrel=0
+pkgdesc="Panel for LXQt desktop"
+url="http://lxqt.org"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+depends_dev=""
+makedepends="cmake extra-cmake-modules lxqt-build-tools libdbusmenu-qt-dev kguiaddons-dev kwindowsystem-dev solid-dev menu-cache-dev lxmenu-data liblxqt-dev lxqt-globalkeys-dev alsa-lib-dev pulseaudio-dev lm_sensors-dev libstatgrab-dev libsysstat-dev qt5-qttools-dev libxkbcommon-dev libxcomposite-dev $depends_dev"
+subpackages="$pkgname-doc"
+install=""
+source="https://github.com/lxde/lxqt-panel/releases/download/$pkgver/lxqt-panel-$pkgver.tar.xz"
+builddir="$srcdir/lxqt-panel-$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" \
+ -DPULL_TRANSLATIONS=False \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="bf6307b5e2b1f8063a10c50c8cb187ee4bee8f57031228da256ab6e52ce6b2af4fc2e2cba304468e28000c19e8c907a3f45481dc3887ee6cfac0744c13a3eec2 lxqt-panel-0.12.0.tar.xz"