diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2017-10-13 09:21:27 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2017-10-13 09:21:27 +0000 |
commit | a49938932200b2972ba51a9c608a691ec87e37c8 (patch) | |
tree | 488306d1d5b86aca9cae224c1a31a1a031f934dd | |
parent | a93ebdadb41bd21db865f4b90a6fb0810a52a966 (diff) | |
parent | c75e4e0576fa24557efa0ef018646bf3dc51019b (diff) | |
download | packages-a49938932200b2972ba51a9c608a691ec87e37c8.tar.gz packages-a49938932200b2972ba51a9c608a691ec87e37c8.tar.bz2 packages-a49938932200b2972ba51a9c608a691ec87e37c8.tar.xz packages-a49938932200b2972ba51a9c608a691ec87e37c8.zip |
Merge LXQt desktop from @Aerdan
See merge request !3 for more details.
24 files changed, 979 insertions, 0 deletions
diff --git a/user/compton-conf/APKBUILD b/user/compton-conf/APKBUILD new file mode 100644 index 000000000..a3688ec97 --- /dev/null +++ b/user/compton-conf/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=compton-conf +pkgver=0.3.0 +pkgrel=0 +pkgdesc="GUI configuration tool for the compton X compositor" +url="http://lxqt.org" +arch="all" +license="LGPL-2.1+" +depends="" +depends_dev="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qttools-dev libconfig-dev liblxqt-dev lxqt-build-tools $depends_dev" +install="" +subpackages="" +source="https://github.com/lxde/compton-conf/releases/download/$pkgver/compton-conf-$pkgver.tar.xz" +builddir="$srcdir/compton-conf-$pkgver" +# no tests provided +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="1f555dd81f6d12b2440a8af2ad0aea465480c08866a014ca7e34d1ef6aeb34d4953abd53189f6b3354a72818a2cc6d1262704fc20e824e206d5fc693044a7b5e compton-conf-0.3.0.tar.xz" diff --git a/user/libfm-qt/APKBUILD b/user/libfm-qt/APKBUILD new file mode 100644 index 000000000..f69e6a700 --- /dev/null +++ b/user/libfm-qt/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=libfm-qt +pkgver=0.11.2 +pkgrel=0 +pkgdesc="Qt library for file management and bindings for libfm" +url="http://lxqt.org" +arch="all" +license="LGPL-2.1+" +depends="" +depends_dev="libfm-dev menu-cache-dev" +makedepends="cmake extra-cmake-modules lxqt-build-tools qt5-qtx11extras-dev qt5-qttools-dev $depends_dev" +install="" +subpackages="$pkgname-dev" +source="https://github.com/lxde/libfm-qt/releases/download/$pkgver/libfm-qt-$pkgver.tar.xz + libfm-qt-0.11.2-const-fixes.patch" +builddir="$srcdir/libfm-qt-$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="f31ec46bb7b6aa98bdbf619dba6d18f6180603a88ef841d7330565dab9d604714406075ab20d35c8356ff93eca84478d98e835f2057f5d4cc0339fa448f05570 libfm-qt-0.11.2.tar.xz +80a92f55832bd69ad9c7b8e14e72fc2c5a0f8d659cc60efca23eb29577180ac9c11b931a500262d4e6ebb290af28effa71ec6255ed77660f7fb14e6ff455fa45 libfm-qt-0.11.2-const-fixes.patch" diff --git a/user/libfm-qt/libfm-qt-0.11.2-const-fixes.patch b/user/libfm-qt/libfm-qt-0.11.2-const-fixes.patch new file mode 100644 index 000000000..f9732fce2 --- /dev/null +++ b/user/libfm-qt/libfm-qt-0.11.2-const-fixes.patch @@ -0,0 +1,22 @@ +--- libfm-qt-0.11.2/src/folderview.cpp.old 2016-12-21 11:44:23.000000000 -0600 ++++ libfm-qt-0.11.2/src/folderview.cpp 2017-10-12 19:33:06.121769699 -0500 +@@ -727,7 +727,7 @@ + if(!selIndexes.isEmpty()) { + PathList paths; + QModelIndexList::const_iterator it; +- for(it = selIndexes.begin(); it != selIndexes.end(); ++it) { ++ for(it = selIndexes.constBegin(); it != selIndexes.constEnd(); ++it) { + FmFileInfo* file = model_->fileInfoFromIndex(*it); + paths.pushTail(fm_file_info_get_path(file)); + } +--- libfm-qt-0.11.2/src/utilities.cpp.old 2016-12-21 11:44:23.000000000 -0600 ++++ libfm-qt-0.11.2/src/utilities.cpp 2017-10-12 19:39:07.683967576 -0500 +@@ -40,7 +40,7 @@ + QList<QUrl>::const_iterator it; + FmPathList* pathList = fm_path_list_new(); + +- for(it = urls.begin(); it != urls.end(); ++it) { ++ for(it = urls.constBegin(); it != urls.constEnd(); ++it) { + QUrl url = *it; + FmPath* path = fm_path_new_for_uri(url.toString().toUtf8()); + fm_path_list_push_tail(pathList, path); diff --git a/user/liblxqt/APKBUILD b/user/liblxqt/APKBUILD new file mode 100644 index 000000000..9ba79a4d1 --- /dev/null +++ b/user/liblxqt/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +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 + diff --git a/user/libqtxdg/APKBUILD b/user/libqtxdg/APKBUILD new file mode 100644 index 000000000..edde815e9 --- /dev/null +++ b/user/libqtxdg/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=libqtxdg +pkgver=3.0.0 +pkgrel=0 +pkgdesc="Qt5-based library implementing the XDG spec" +url="http://lxqt.org" +arch="all" +license="LGPL-2.1+" +depends="" +depends_dev="" +makedepends="cmake qt5-qtbase-dev qt5-qtsvg-dev extra-cmake-modules $depends_dev" +install="" +subpackages="$pkgname-dev" +source="https://github.com/lxde/libqtxdg/releases/download/$pkgver/libqtxdg-$pkgver.tar.xz" +builddir="$srcdir/libqtxdg-$pkgver" +# tests require X +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" \ + -DBUILD_TESTS=True \ + -DBUILD_DEV_UTILS=True \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="de3ca26c1f682f3ec3409dd81a397ec573f981ac71e7eab6f410bba18df7d45c6e0d7a037990cccd04901eda8de99aa059c5e090c26f59b560b7f61a4630ae23 libqtxdg-3.0.0.tar.xz" diff --git a/user/libsysstat/APKBUILD b/user/libsysstat/APKBUILD new file mode 100644 index 000000000..e9e50c8be --- /dev/null +++ b/user/libsysstat/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=libsysstat +pkgver=0.4.0 +pkgrel=0 +pkgdesc="Library for querying system information & statistics" +url="http://lxqt.org" +arch="all" +license="LGPL-2.1+" +depends="" +depends_dev="" +makedepends="cmake extra-cmake-modules lxqt-build-tools qt5-qtbase-dev $depends_dev" +install="" +subpackages="$pkgname-dev" +source="https://github.com/lxde/libsysstat/releases/download/$pkgver/libsysstat-$pkgver.tar.xz" +builddir="$srcdir/libsysstat-$pkgver" +# no tests provided +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" \ + ${CMAKE_CROSSOPTS} + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="1427d7509925121c880091ca4b2dc85654732e5d69dfa651862c810154a3d7cceeca5bfdbd562c6a013e70c852bed1d6ba2210be2d7d2104681d07b6a970430f libsysstat-0.4.0.tar.xz" diff --git a/user/lximage-qt/APKBUILD b/user/lximage-qt/APKBUILD new file mode 100644 index 000000000..a47a76c4b --- /dev/null +++ b/user/lximage-qt/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=lximage-qt +pkgver=0.5.1 +pkgrel=0 +pkgdesc="Image viewer & screenshot tool for LXQt" +url="http://lxqt.org" +arch="all" +license="GPL-2.0+" +depends="" +depends_dev="" +makedepends="cmake extra-cmake-modules lxqt-build-tools libfm-qt-dev libexif-dev qt5-qtx11extras-dev qt5-qttools-dev qt5-qtsvg-dev kwindowsystem-dev $depends_dev" +install="" +subpackages="" +source="https://github.com/lxde/lximage-qt/releases/download/$pkgver/lximage-qt-$pkgver.tar.xz + lximage-qt-0.5.1-const-iterator-fix.patch" +builddir="$srcdir/lximage-qt-$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=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="d74adacfc11dee3795db73f813aabcefb95dcf7f93a51dc4e76a8855aa903218fa36876ac835a9f4ac8b3a640f658e20eee8bda033126919251d7dfd2b4466f9 lximage-qt-0.5.1.tar.xz +62733b0603aa43b8f3d111441ddeea47392c3ae96b967bfd6878ebc3a524bd442acb9e2c5357cafe66e2f082ee15e6e6a4d3e46e2ad15227b33ef08abe2d1a1f lximage-qt-0.5.1-const-iterator-fix.patch" diff --git a/user/lximage-qt/lximage-qt-0.5.1-const-iterator-fix.patch b/user/lximage-qt/lximage-qt-0.5.1-const-iterator-fix.patch new file mode 100644 index 000000000..0a6d20307 --- /dev/null +++ b/user/lximage-qt/lximage-qt-0.5.1-const-iterator-fix.patch @@ -0,0 +1,24 @@ +From 988a5f40479c23984853fe485a24d356a91343b8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Lu=C3=ADs=20Pereira?= <luis.artur.pereira@gmail.com> +Date: Tue, 17 Jan 2017 17:39:53 +0000 +Subject: [PATCH] Use const iterators + +Avoid assignment of a non-const pointer to a const pointer and the +consequent container detach. +--- + src/preferencesdialog.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/preferencesdialog.cpp b/src/preferencesdialog.cpp +index 123345c..c35183b 100644 +--- a/src/preferencesdialog.cpp ++++ b/src/preferencesdialog.cpp +@@ -111,7 +111,7 @@ void PreferencesDialog::initIconThemes(Settings& settings) { + + iconThemes.remove("hicolor"); // remove hicolor, which is only a fallback + QHash<QString, QString>::const_iterator it; +- for(it = iconThemes.begin(); it != iconThemes.end(); ++it) { ++ for(it = iconThemes.constBegin(); it != iconThemes.constEnd(); ++it) { + ui.iconTheme->addItem(it.value(), it.key()); + } + ui.iconTheme->model()->sort(0); // sort the list of icon theme names diff --git a/user/lxqt-admin/APKBUILD b/user/lxqt-admin/APKBUILD new file mode 100644 index 000000000..b9f8d2a18 --- /dev/null +++ b/user/lxqt-admin/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=lxqt-admin +pkgver=0.11.1 +pkgrel=0 +pkgdesc="Administrative tools for LXQt" +url="http://lxqt.org" +arch="all" +license="LGPL-2.1+" +depends="" +depends_dev="" +makedepends="cmake extra-cmake-modules qt5-qttools-dev kwindowsystem-dev lxqt-build-tools liblxqt-dev polkit-qt-1-dev $depends_dev" +install="" +subpackages="" +source="https://github.com/lxde/lxqt-admin/releases/download/$pkgver/lxqt-admin-$pkgver.tar.xz" +builddir="$srcdir/lxqt-admin-$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=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + -DPULL_TRANSLATIONS=False \ + ${CMAKE_CROSSOPTS} + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="87464f4566d3080eb6d066756ae8da1420a2c93863c02d1abe6443d7b76438aadd3689d82677dbc0286f4b088b602bcb0c4bc2e82e380db4ead2992625852dc7 lxqt-admin-0.11.1.tar.xz" diff --git a/user/lxqt-build-tools/APKBUILD b/user/lxqt-build-tools/APKBUILD new file mode 100644 index 000000000..516392d48 --- /dev/null +++ b/user/lxqt-build-tools/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=lxqt-build-tools +pkgver=0.4.0 +pkgrel=0 +pkgdesc="Toolchain for building & packaging LXQt" +url="http://lxqt.org" +arch="noarch" +license="BSD-3-Clause" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev" +install="" +subpackages="" +source="lxqt-build-tools-$pkgver.tar.gz::https://github.com/lxde/lxqt-build-tools/archive/$pkgver.tar.gz" +builddir="$srcdir/lxqt-build-tools-$pkgver" +# no tests to run; this package just provides a common base for scaffolding. +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" \ + ${CMAKE_CROSSOPTS} + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="4169080fb3c2ed986ec30d24106f5b61df081c7531ff259b3667497526f6cde4140cc3a09509220da5207e9383b8ac4b865c8f32380d19a9dc5d12d0ac15e381 lxqt-build-tools-0.4.0.tar.gz" diff --git a/user/lxqt-l10n/APKBUILD b/user/lxqt-l10n/APKBUILD new file mode 100644 index 000000000..2e5f97efb --- /dev/null +++ b/user/lxqt-l10n/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=lxqt-l10n +pkgver=0.11.99 +pkgrel=0 +pkgdesc="Localization files for LXQt" +url="http://lxqt.org" +arch="noarch" +license="LGPL-2.1+" +depends="" +makedepends="cmake extra-cmake-modules qt5-qttools-dev liblxqt-dev libqtxdg-dev lxqt-build-tools" +install="" +subpackages="" +source="https://github.com/lxde/lxqt-l10n/releases/download/$pkgver/lxqt-l10n-$pkgver.tar.xz" +builddir="$srcdir/lxqt-l10n-$pkgver" +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=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="02c3edb4a6c43d90e06a44b761f318cb32fa9908985a0b39a0024d18fc1d31f9e9190ebf15672b2f7aac77bd565aac6306bce9fada0848acf555bc548eab4e96 lxqt-l10n-0.11.99.tar.xz" diff --git a/user/lxqt-openssh-askpass/APKBUILD b/user/lxqt-openssh-askpass/APKBUILD new file mode 100644 index 000000000..ceccaf625 --- /dev/null +++ b/user/lxqt-openssh-askpass/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=lxqt-openssh-askpass +pkgver=0.11.1 +pkgrel=0 +pkgdesc="Graphical LXQt utility for querying for passwords on behalf of SSH agents" +url="http://lxqt.org" +arch="all" +license="LGPL-2.1+" +depends="" +depends_dev="" +makedepends="cmake extra-cmake-modules lxqt-build-tools liblxqt-dev qt5-qttools-dev kwindowsystem-dev $depends_dev" +install="" +subpackages="" +source="https://github.com/lxde/lxqt-openssh-askpass/releases/download/$pkgver/lxqt-openssh-askpass-$pkgver.tar.xz" +builddir="$srcdir/lxqt-openssh-askpass-$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=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="573840a16c9645979327af5448c628caad33a56b1d941d5b6a57e03f687666763faf997b85385befc4ceef9a4a6b5ea41fb6230da4efa2c7b56a34add5718d57 lxqt-openssh-askpass-0.11.1.tar.xz" diff --git a/user/lxqt-policykit/APKBUILD b/user/lxqt-policykit/APKBUILD new file mode 100644 index 000000000..5ac04325e --- /dev/null +++ b/user/lxqt-policykit/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=lxqt-policykit +pkgver=0.11.1 +pkgrel=0 +pkgdesc="PolicyKit agent for LXQT" +url="http://lxqt.org" +arch="all" +license="LGPL-2.1+" +depends="" +depends_dev="" +makedepends="cmake extra-cmake-modules liblxqt-dev lxqt-build-tools qt5-qttools-dev kwindowsystem-dev polkit-qt-1-dev $depends_dev" +install="" +subpackages="" +source="https://github.com/lxde/lxqt-policykit/releases/download/$pkgver/lxqt-policykit-$pkgver.tar.xz" +builddir="$srcdir/lxqt-policykit-$pkgver" +# no useful 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=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="55c9b0e01b1dc1080c79ec6e2baca4b8262fcb772c4654cf0168c5fe7ee37c1f0624d13be42541f4398ae8db7a7f76ed55a9f624c239b9110893cdb914078fda lxqt-policykit-0.11.1.tar.xz" diff --git a/user/lxqt-powermanagement/APKBUILD b/user/lxqt-powermanagement/APKBUILD new file mode 100644 index 000000000..d7d6b7667 --- /dev/null +++ b/user/lxqt-powermanagement/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=lxqt-powermanagement +pkgver=0.11.1 +pkgrel=0 +pkgdesc="Power management utilities for LXQt" +url="http://lxqt.org" +arch="all" +license="LGPL-2.1+" +depends="" +depends_dev="" +makedepends="cmake extra-cmake-modules lxqt-build-tools liblxqt-dev upower-dev kidletime-dev qt5-qtsvg-dev qt5-qttools-dev kwindowsystem-dev solid-dev $depends_dev" +install="" +subpackages="" +source="https://github.com/lxde/lxqt-powermanagement/releases/download/$pkgver/lxqt-powermanagement-$pkgver.tar.xz" +builddir="$srcdir/lxqt-powermanagement-$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="4e75075bee9c5d1daedfa001a0e3c4743cb21342c4eec663965e408e4d0ffee7d1ddf6db298bfae4337d6f75127c9f31f054f09231df5b6284247d755033bf1f lxqt-powermanagement-0.11.1.tar.xz" diff --git a/user/lxqt-qtplugin/APKBUILD b/user/lxqt-qtplugin/APKBUILD new file mode 100644 index 000000000..b6e2984c3 --- /dev/null +++ b/user/lxqt-qtplugin/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=lxqt-qtplugin +pkgver=0.11.1 +pkgrel=0 +pkgdesc="Qt plugin for platform integration with LXQt" +url="http://lxqt.org" +arch="all" +license="LGPL-2.1+" +depends="" +depends_dev="" +makedepends="cmake libdbusmenu-qt-dev liblxqt-dev qt5-qttools-dev lxqt-build-tools $depends_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="573cfbf5d1b85b6141bb7145b622edf6f1497cc62fca775078bbac6002d9fb1a7eb63bedaeecf0d050da0bad0c983ae0ce69d06687a2e804b0c31b742753dee1 lxqt-qtplugin-0.11.1.tar.xz" diff --git a/user/lxqt-session/APKBUILD b/user/lxqt-session/APKBUILD new file mode 100644 index 000000000..e70853245 --- /dev/null +++ b/user/lxqt-session/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=lxqt-session +pkgver=0.11.1 +pkgrel=0 +pkgdesc="Session management utilities for LXQt" +url="http://lxqt.org" +arch="all" +license="LGPL-2.1+" +depends="xdg-user-dirs" +depends_dev="" +makedepends="cmake extra-cmake-modules lxqt-build-tools liblxqt-dev eudev-dev qt5-qttools-dev kwindowsystem-dev $depends_dev" +install="" +subpackages="$pkgname-doc" +source="https://github.com/lxde/lxqt-session/releases/download/$pkgver/lxqt-session-$pkgver.tar.xz" +builddir="$srcdir/lxqt-session-$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="0ce9adc1210f457e11466ddc4b4d6197534512721f6b2bcc25dd2b384a21a0ca723eab66bcc9f9bbb6efc377a12954d74f2e7bfa32b4a333788a89048d077776 lxqt-session-0.11.1.tar.xz" diff --git a/user/lxqt-sudo/APKBUILD b/user/lxqt-sudo/APKBUILD new file mode 100644 index 000000000..8a7df75ed --- /dev/null +++ b/user/lxqt-sudo/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=lxqt-sudo +pkgver=0.11.1 +pkgrel=0 +pkgdesc="Graphical LXQt utility for sudo/su" +url="http://lxqt.org" +arch="all" +license="LGPL-2.1+" +depends="sudo" +depends_dev="" +makedepends="cmake extra-cmake-modules lxqt-build-tools liblxqt-dev qt5-qtbase-dev qt5-qttools-dev kwindowsystem-dev $depends_dev" +install="" +subpackages="$pkgname-doc" +source="https://github.com/lxde/lxqt-sudo/releases/download/$pkgver/lxqt-sudo-$pkgver.tar.xz" +builddir="$srcdir/lxqt-sudo-$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=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="54d1449e62489f540d4d54898c44779b8af7618ac2a7252115e5a4eb28f6e1bfc8e04f5cfa11d76a3b8b08bdf6e8e751ae460d12eaf0c7fc8e25b39aa6e76d0f lxqt-sudo-0.11.1.tar.xz" diff --git a/user/lxqt-themes/APKBUILD b/user/lxqt-themes/APKBUILD new file mode 100644 index 000000000..24a86414e --- /dev/null +++ b/user/lxqt-themes/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=lxqt-themes +pkgver=0.12.0 +pkgrel=0 +pkgdesc="Core themes for LXQt" +url="http://lxqt.org" +arch="noarch" +license="LGPL-2.1+" +depends="" +makedepends="cmake lxqt-build-tools" +install="" +subpackages="" +source="https://github.com/lxde/lxqt-themes/releases/download/$pkgver/lxqt-themes-$pkgver.tar.xz" +builddir="$srcdir/lxqt-themes-$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=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="1ecbc0d3cf480361fd5b860ed5ae26f5d05ce9a4863a91d0e95516869360f59303ccb928fb3037e8843b2ff5e6e46252962485619c07e95f21b966bf3608d367 lxqt-themes-0.12.0.tar.xz" diff --git a/user/pavucontrol-qt/APKBUILD b/user/pavucontrol-qt/APKBUILD new file mode 100644 index 000000000..4b30ef13b --- /dev/null +++ b/user/pavucontrol-qt/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=pavucontrol-qt +pkgver=0.3.0 +pkgrel=0 +pkgdesc="Qt port of pavucontrol, a PulseAudio mixer" +url="http://lxqt.org" +arch="all" +license="GPL-2.0+" +depends="" +depends_dev="" +makedepends="cmake pulseaudio-dev qt5-qtbase-dev liblxqt-dev lxqt-build-tools qt5-qttools-dev $depends_dev" +install="" +subpackages="" +source="https://github.com/lxde/pavucontrol-qt/releases/download/$pkgver/pavucontrol-qt-$pkgver.tar.xz" +builddir="$srcdir/pavucontrol-qt-$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=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + -DPULL_TRANSLATIONS=False \ + ${CMAKE_CROSSOPTS} + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="689292049557425d70ecabb42112422737f8a26bfa5416d3018d69f2d2cde20d95a752a0750fe3ced26d71c1051d5bb8a13208396f48ce9d0027b7591e4bdef5 pavucontrol-qt-0.3.0.tar.xz" diff --git a/user/pcmanfm-qt/APKBUILD b/user/pcmanfm-qt/APKBUILD new file mode 100644 index 000000000..616be857a --- /dev/null +++ b/user/pcmanfm-qt/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=pcmanfm-qt +pkgver=0.11.3 +pkgrel=0 +pkgdesc="File manager and desktop icon manager for LXQt" +url="http://lxqt.org" +arch="all" +license="GPL-2.0+" +depends="" +depends_dev="" +makedepends="cmake extra-cmake-modules lxqt-build-tools libfm-qt-dev liblxqt-dev qt5-qtx11extras-dev qt5-qttools-dev kwindowsystem-dev $depends_dev" +install="" +subpackages="$pkgname-doc" +source="https://github.com/lxde/pcmanfm-qt/releases/download/$pkgver/pcmanfm-qt-$pkgver.tar.xz + pcmanfm-qt-0.11.3-const-iterator-fixes.patch" +builddir="$srcdir/pcmanfm-qt-$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=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="168012e022da30d4c2821e34f47372fae421b8b400cc3b2b0c16046f31bbdcb08814d0dd2ea2f0b615fafee4ac8af53ffa5fc0ceb170ccaa29468eec8b30de6d pcmanfm-qt-0.11.3.tar.xz +127eca77c12c2b32b6106ae71b306d8d5fd85d8a2a3c25742f230054cfd7940f43f8d7dda5cc8009cae12a46adb62a6037af9dea0bb00b36b680d249b9e3278c pcmanfm-qt-0.11.3-const-iterator-fixes.patch" diff --git a/user/pcmanfm-qt/pcmanfm-qt-0.11.3-const-iterator-fixes.patch b/user/pcmanfm-qt/pcmanfm-qt-0.11.3-const-iterator-fixes.patch new file mode 100644 index 000000000..b52ce1a9f --- /dev/null +++ b/user/pcmanfm-qt/pcmanfm-qt-0.11.3-const-iterator-fixes.patch @@ -0,0 +1,26 @@ +diff -Nurd pcmanfm-qt-0.11.3/pcmanfm/mainwindow.cpp pcmanfm-qt-0.11.3.new/pcmanfm/mainwindow.cpp +--- pcmanfm-qt-0.11.3/pcmanfm/mainwindow.cpp 2017-01-14 02:13:45.000000000 +0000 ++++ pcmanfm-qt-0.11.3.new/pcmanfm/mainwindow.cpp 2017-10-12 20:44:25.731044585 +0000 +@@ -970,8 +970,8 @@ + void MainWindow::onBookmarksChanged(FmBookmarks* bookmarks, MainWindow* pThis) { + // delete existing items + QList<QAction*> actions = pThis->ui.menu_Bookmarks->actions(); +- QList<QAction*>::const_iterator it = actions.begin(); +- QList<QAction*>::const_iterator last_it = actions.end() - 2; ++ QList<QAction*>::const_iterator it = actions.constBegin(); ++ QList<QAction*>::const_iterator last_it = actions.constEnd() - 2; + + while(it != last_it) { + QAction* action = *it; +diff -Nurd pcmanfm-qt-0.11.3/pcmanfm/preferencesdialog.cpp pcmanfm-qt-0.11.3.new/pcmanfm/preferencesdialog.cpp +--- pcmanfm-qt-0.11.3/pcmanfm/preferencesdialog.cpp 2017-01-14 02:13:45.000000000 +0000 ++++ pcmanfm-qt-0.11.3.new/pcmanfm/preferencesdialog.cpp 2017-10-12 20:45:17.324377059 +0000 +@@ -90,7 +90,7 @@ + + iconThemes.remove("hicolor"); // remove hicolor, which is only a fallback + QHash<QString, QString>::const_iterator it; +- for(it = iconThemes.begin(); it != iconThemes.end(); ++it) { ++ for(it = iconThemes.constBegin(); it != iconThemes.constEnd(); ++it) { + ui.iconTheme->addItem(it.value(), it.key()); + } + ui.iconTheme->model()->sort(0); // sort the list of icon theme names diff --git a/user/qterminal/APKBUILD b/user/qterminal/APKBUILD new file mode 100644 index 000000000..82f3ee641 --- /dev/null +++ b/user/qterminal/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=qterminal +pkgver=0.7.1 +pkgrel=0 +pkgdesc="Qt-based terminal for LXQt" +url="http://lxqt.org" +arch="all" +license="GPL-2.0+" +depends="" +depends_dev="" +makedepends="cmake extra-cmake-modules lxqt-build-tools qtermwidget-dev qt5-qttools-dev kwindowsystem-dev $depends_dev" +install="" +subpackages="" +source="https://github.com/lxde/qterminal/releases/download/$pkgver/qterminal-$pkgver.tar.xz" +builddir="$srcdir/qterminal-$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=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="45f83a4179a90379678b7875de386e04c77505d89d8c0c447a0892a279bc1776d0847a54683d43af085bcb306cc0e4d0858f1c49dc6e0e08f549d7350584625d qterminal-0.7.1.tar.xz" diff --git a/user/qtermwidget/APKBUILD b/user/qtermwidget/APKBUILD new file mode 100644 index 000000000..42d6400ae --- /dev/null +++ b/user/qtermwidget/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=qtermwidget +pkgver=0.7.1 +pkgrel=0 +pkgdesc="A Qt-based terminal widget, used in QTerminal" +url="http://lxqt.org" +arch="all" +license="GPL-2.0+" +depends="" +depends_dev="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev lxqt-build-tools $depends_dev" +install="" +subpackages="$pkgname-dev" +source="https://github.com/lxde/qtermwidget/releases/download/$pkgver/qtermwidget-$pkgver.tar.xz" +builddir="$srcdir/qtermwidget-$pkgver" +# tests can't be built due to CMakeLists.txt errors behind the flag. +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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="a8660ca5355103cf9d9f72ec5213f3c04d02dff44ceaa26297960def07335596eba6b125a7b3ca1a02f8c19a99edffdee68c57ff0c3f357cc3df149d3e9c5c99 qtermwidget-0.7.1.tar.xz" |