blob: 789ea58dfcc7859e974ccc2cbafb2472f496da7d (
plain) (
tree)
|
|
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=lxqt-qtplugin
pkgver=0.12.0
pkgrel=0
pkgdesc="Qt plugin for platform integration with LXQt"
url="http://lxqt.org"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="cmake extra-cmake-modules lxqt-build-tools libdbusmenu-qt-dev liblxqt-dev libfm-qt-dev qt5-qttools-dev"
install=""
subpackages=""
source="https://github.com/lxde/lxqt-qtplugin/releases/download/$pkgver/lxqt-qtplugin-$pkgver.tar.xz"
builddir="$srcdir/lxqt-qtplugin-$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="ea060e600ab5c19e43bcbf77c17797f77050fbd7a532b7ff3fa3d77005064c59b0e553f3dd6819ca4206056af709cea9a8ad892c37454191f6f9ddc509f3f119 lxqt-qtplugin-0.12.0.tar.xz"
|