From eade3d53ea96b5c29e76cb2f5b765fa8c85854df Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Wed, 11 Oct 2017 17:42:52 +0000 Subject: user/liblxqt: new package --- user/liblxqt/APKBUILD | 44 +++++++++++++++++++++++++++++++++++++++++++ user/liblxqt/versioning.patch | 15 +++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 user/liblxqt/APKBUILD create mode 100644 user/liblxqt/versioning.patch (limited to 'user/liblxqt') diff --git a/user/liblxqt/APKBUILD b/user/liblxqt/APKBUILD new file mode 100644 index 000000000..beb945b19 --- /dev/null +++ b/user/liblxqt/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Kiyoshi Aman +# Maintainer: Kiyoshi Aman +pkgname=liblxqt +pkgver=0.11.1 +pkgrel=0 +pkgdesc="Core LXQt library." +url="http://lxqt.org" +arch="all" +license="LGPL-2.1+" +depends="" +depends_dev="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtx11extras-dev qt5-qttools-dev libxscrnsaver-dev libqtxdg-dev kwindowsystem-dev lxqt-build-tools $depends_dev" +install="" +subpackages="$pkgname-dev" +source="https://github.com/lxde/liblxqt/releases/download/$pkgver/liblxqt-$pkgver.tar.xz + versioning.patch" +builddir="$srcdir/liblxqt-$pkgver" +# no tests +options="!check" + +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=Release \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + -DPULL_TRANSLATIONS=False \ + ${CMAKE_CROSSOPTS} + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="c300ff6497e73d6a447b2d3ac14338cfa3e07aefafcce84dbcf22578e5d4370a1f9a5350d7a88db1f2668649f5b503378a97fbb39a238cb777e180025587eb66 liblxqt-0.11.1.tar.xz +f81766a330ef0d5404f4723003ea486725588e0dda93d7784d31ed0ff8a59b17b764bd6df89b5da14318210585fc42d9d046ed0b2db6b52cb2e450daad7e0cd0 versioning.patch" diff --git a/user/liblxqt/versioning.patch b/user/liblxqt/versioning.patch new file mode 100644 index 000000000..14d6eba24 --- /dev/null +++ b/user/liblxqt/versioning.patch @@ -0,0 +1,15 @@ +diff -Nurd liblxqt-0.11.1/CMakeLists.txt liblxqt-0.11.1.new/CMakeLists.txt +--- liblxqt-0.11.1/CMakeLists.txt 2017-01-01 21:49:10.000000000 +0000 ++++ liblxqt-0.11.1.new/CMakeLists.txt 2017-10-11 17:31:00.502689492 +0000 +@@ -6,6 +6,11 @@ + set(QTXDG_MINIMUM_VERSION "2.0.0") + set(LXQTBT_MINIMUM_VERSION "0.3.1") + ++set(LXQT_MAJOR_VERSION 0) ++set(LXQT_MINOR_VERSION 11) ++set(LXQT_PATCH_VERSION 1) ++set(LXQT_VERSION ${LXQT_MAJOR_VERSION}.${LXQT_MINOR_VERSION}.${LXQT_PATCH_VERSION}) ++ + include(CMakePackageConfigHelpers) + include(GNUInstallDirs) # Standard directories for installation + -- cgit v1.2.3-70-g09d2 From e4b59d4a0b87233f2ca36308c899a109d0e0eca0 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Thu, 12 Oct 2017 18:33:09 +0000 Subject: pkgdesc consistency fixes. --- user/compton-conf/APKBUILD | 2 +- user/liblxqt/APKBUILD | 2 +- user/libqtxdg/APKBUILD | 2 +- user/libsysstat/APKBUILD | 2 +- user/lxqt-admin/APKBUILD | 2 +- user/lxqt-build-tools/APKBUILD | 2 +- user/lxqt-l10n/APKBUILD | 2 +- user/lxqt-openssh-askpass/APKBUILD | 2 +- user/lxqt-policykit/APKBUILD | 2 +- user/lxqt-powermanagement/APKBUILD | 2 +- user/lxqt-qtplugin/APKBUILD | 2 +- user/lxqt-themes/APKBUILD | 2 +- user/qtermwidget/APKBUILD | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) (limited to 'user/liblxqt') diff --git a/user/compton-conf/APKBUILD b/user/compton-conf/APKBUILD index 7445c6074..a3688ec97 100644 --- a/user/compton-conf/APKBUILD +++ b/user/compton-conf/APKBUILD @@ -3,7 +3,7 @@ pkgname=compton-conf pkgver=0.3.0 pkgrel=0 -pkgdesc="GUI configuration tool for the compton X compositor." +pkgdesc="GUI configuration tool for the compton X compositor" url="http://lxqt.org" arch="all" license="LGPL-2.1+" diff --git a/user/liblxqt/APKBUILD b/user/liblxqt/APKBUILD index beb945b19..9ba79a4d1 100644 --- a/user/liblxqt/APKBUILD +++ b/user/liblxqt/APKBUILD @@ -3,7 +3,7 @@ pkgname=liblxqt pkgver=0.11.1 pkgrel=0 -pkgdesc="Core LXQt library." +pkgdesc="Core LXQt library" url="http://lxqt.org" arch="all" license="LGPL-2.1+" diff --git a/user/libqtxdg/APKBUILD b/user/libqtxdg/APKBUILD index b42af0eb8..edde815e9 100644 --- a/user/libqtxdg/APKBUILD +++ b/user/libqtxdg/APKBUILD @@ -3,7 +3,7 @@ pkgname=libqtxdg pkgver=3.0.0 pkgrel=0 -pkgdesc="Qt5-based library implementing the XDG spec." +pkgdesc="Qt5-based library implementing the XDG spec" url="http://lxqt.org" arch="all" license="LGPL-2.1+" diff --git a/user/libsysstat/APKBUILD b/user/libsysstat/APKBUILD index e190c09f4..e9e50c8be 100644 --- a/user/libsysstat/APKBUILD +++ b/user/libsysstat/APKBUILD @@ -3,7 +3,7 @@ pkgname=libsysstat pkgver=0.4.0 pkgrel=0 -pkgdesc="Library for querying system information & statistics." +pkgdesc="Library for querying system information & statistics" url="http://lxqt.org" arch="all" license="LGPL-2.1+" diff --git a/user/lxqt-admin/APKBUILD b/user/lxqt-admin/APKBUILD index 8af1a159b..b9f8d2a18 100644 --- a/user/lxqt-admin/APKBUILD +++ b/user/lxqt-admin/APKBUILD @@ -3,7 +3,7 @@ pkgname=lxqt-admin pkgver=0.11.1 pkgrel=0 -pkgdesc="Administrative tools for LXQt." +pkgdesc="Administrative tools for LXQt" url="http://lxqt.org" arch="all" license="LGPL-2.1+" diff --git a/user/lxqt-build-tools/APKBUILD b/user/lxqt-build-tools/APKBUILD index b54e88ab3..516392d48 100644 --- a/user/lxqt-build-tools/APKBUILD +++ b/user/lxqt-build-tools/APKBUILD @@ -3,7 +3,7 @@ pkgname=lxqt-build-tools pkgver=0.4.0 pkgrel=0 -pkgdesc="Toolchain for building & packaging LXQt." +pkgdesc="Toolchain for building & packaging LXQt" url="http://lxqt.org" arch="noarch" license="BSD-3-Clause" diff --git a/user/lxqt-l10n/APKBUILD b/user/lxqt-l10n/APKBUILD index f80caf47b..2e5f97efb 100644 --- a/user/lxqt-l10n/APKBUILD +++ b/user/lxqt-l10n/APKBUILD @@ -3,7 +3,7 @@ pkgname=lxqt-l10n pkgver=0.11.99 pkgrel=0 -pkgdesc="Localization files for LXQt." +pkgdesc="Localization files for LXQt" url="http://lxqt.org" arch="noarch" license="LGPL-2.1+" diff --git a/user/lxqt-openssh-askpass/APKBUILD b/user/lxqt-openssh-askpass/APKBUILD index 07211bcd9..ceccaf625 100644 --- a/user/lxqt-openssh-askpass/APKBUILD +++ b/user/lxqt-openssh-askpass/APKBUILD @@ -3,7 +3,7 @@ pkgname=lxqt-openssh-askpass pkgver=0.11.1 pkgrel=0 -pkgdesc="Graphical LXQt utility for querying for passwords on behalf of SSH agents." +pkgdesc="Graphical LXQt utility for querying for passwords on behalf of SSH agents" url="http://lxqt.org" arch="all" license="LGPL-2.1+" diff --git a/user/lxqt-policykit/APKBUILD b/user/lxqt-policykit/APKBUILD index efb146d0e..5ac04325e 100644 --- a/user/lxqt-policykit/APKBUILD +++ b/user/lxqt-policykit/APKBUILD @@ -3,7 +3,7 @@ pkgname=lxqt-policykit pkgver=0.11.1 pkgrel=0 -pkgdesc="PolicyKit agent for LXQT." +pkgdesc="PolicyKit agent for LXQT" url="http://lxqt.org" arch="all" license="LGPL-2.1+" diff --git a/user/lxqt-powermanagement/APKBUILD b/user/lxqt-powermanagement/APKBUILD index c7a28b14f..d7d6b7667 100644 --- a/user/lxqt-powermanagement/APKBUILD +++ b/user/lxqt-powermanagement/APKBUILD @@ -3,7 +3,7 @@ pkgname=lxqt-powermanagement pkgver=0.11.1 pkgrel=0 -pkgdesc="Power management utilities for LXQt." +pkgdesc="Power management utilities for LXQt" url="http://lxqt.org" arch="all" license="LGPL-2.1+" diff --git a/user/lxqt-qtplugin/APKBUILD b/user/lxqt-qtplugin/APKBUILD index 75763f36a..b6e2984c3 100644 --- a/user/lxqt-qtplugin/APKBUILD +++ b/user/lxqt-qtplugin/APKBUILD @@ -3,7 +3,7 @@ pkgname=lxqt-qtplugin pkgver=0.11.1 pkgrel=0 -pkgdesc="Qt plugin for platform integration with LXQt." +pkgdesc="Qt plugin for platform integration with LXQt" url="http://lxqt.org" arch="all" license="LGPL-2.1+" diff --git a/user/lxqt-themes/APKBUILD b/user/lxqt-themes/APKBUILD index 249be3109..24a86414e 100644 --- a/user/lxqt-themes/APKBUILD +++ b/user/lxqt-themes/APKBUILD @@ -3,7 +3,7 @@ pkgname=lxqt-themes pkgver=0.12.0 pkgrel=0 -pkgdesc="Core themes for LXQt." +pkgdesc="Core themes for LXQt" url="http://lxqt.org" arch="noarch" license="LGPL-2.1+" diff --git a/user/qtermwidget/APKBUILD b/user/qtermwidget/APKBUILD index 9396b9e95..42d6400ae 100644 --- a/user/qtermwidget/APKBUILD +++ b/user/qtermwidget/APKBUILD @@ -3,7 +3,7 @@ pkgname=qtermwidget pkgver=0.7.1 pkgrel=0 -pkgdesc="A Qt-based terminal widget, used in QTerminal." +pkgdesc="A Qt-based terminal widget, used in QTerminal" url="http://lxqt.org" arch="all" license="GPL-2.0+" -- cgit v1.2.3-70-g09d2