diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-12-11 20:31:41 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-12-11 20:31:41 -0600 |
commit | e0a56660c7c9246ff2711b2daebb2c55c0c92bfb (patch) | |
tree | 67c673e34ca343729e2afb5a0059803adefb54c7 /user | |
parent | 3b0721e01962981b7a2f7aab640bcb1266d3bb00 (diff) | |
parent | fd46b10b659a53d8a9f83c4b058343cab39d8af7 (diff) | |
download | packages-e0a56660c7c9246ff2711b2daebb2c55c0c92bfb.tar.gz packages-e0a56660c7c9246ff2711b2daebb2c55c0c92bfb.tar.bz2 packages-e0a56660c7c9246ff2711b2daebb2c55c0c92bfb.tar.xz packages-e0a56660c7c9246ff2711b2daebb2c55c0c92bfb.zip |
Merge lxqt-panel from @Aerdan
Diffstat (limited to 'user')
-rw-r--r-- | user/lxqt-panel/APKBUILD | 45 |
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" |