diff options
26 files changed, 1033 insertions, 2 deletions
diff --git a/user/akonadi-contacts/APKBUILD b/user/akonadi-contacts/APKBUILD new file mode 100644 index 000000000..72e0ac6ab --- /dev/null +++ b/user/akonadi-contacts/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=akonadi-contacts +pkgver=17.08.1.55 +realpkgver=${pkgver/.55/-55} +pkgrel=0 +pkgdesc="Library for integrating contact lists with Akonadi" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1 GPL-2.0 BSD-2" +depends="" +depends_dev="qt5-qtbase-dev kio-dev kcontacts-dev kmime-dev akonadi-mime-dev + prison-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev" +source="https://distfiles.adelielinux.org/source/akonadi-contacts-$realpkgver.tar.xz + build-without-trunk.patch" +builddir="$srcdir/akonadi-contacts-$realpkgver" + +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 +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="37bb7fa73efbbdcc59e5832b4e956eb9051d13de3232eb9bb812e4a8c37d326f99874b2f9e9653c36234d6c2c606fadeca1ab2b030eee1160dd1934b44e7d3b0 akonadi-contacts-17.08.1-55.tar.xz +f47a7c2f2c844d691dc688e953bdbf241f89bcda590fb066102a633babdd850eee53fedb04de8f172410266c29e224ca42ef01f1810ad6a128215e44193bb054 build-without-trunk.patch" diff --git a/user/akonadi-contacts/build-without-trunk.patch b/user/akonadi-contacts/build-without-trunk.patch new file mode 100644 index 000000000..9354bba96 --- /dev/null +++ b/user/akonadi-contacts/build-without-trunk.patch @@ -0,0 +1,17 @@ +--- akonadi-contacts-17.08.1-55/CMakeLists.txt.old 2017-10-11 17:15:27.000000000 -0500 ++++ akonadi-contacts-17.08.1-55/CMakeLists.txt 2017-10-11 17:31:53.667300461 -0500 +@@ -25,10 +25,10 @@ + + + set(AKONADI_CONTACTS_VERSION ${PIM_VERSION}) +-set(AKONADI_MIME_VERSION "5.6.40") +-set(KCONTACTS_VERSION "5.6.40") +-set(KMIMELIB_VERSION "5.6.40") +-set(AKONADI_VERSION "5.6.40") ++set(AKONADI_MIME_VERSION "5.6.1") ++set(KCONTACTS_VERSION "5.6.1") ++set(KMIMELIB_VERSION "5.6.1") ++set(AKONADI_VERSION "5.6.1") + + set(QT_REQUIRED_VERSION "5.8.0") + find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Test) diff --git a/user/akonadi-mime/APKBUILD b/user/akonadi-mime/APKBUILD new file mode 100644 index 000000000..d91c8fcef --- /dev/null +++ b/user/akonadi-mime/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=akonadi-mime +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Libraries to implement basic MIME message handling" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kmime-dev kdbusaddons-dev kio-dev kitemmodels-dev + akonadi-dev kconfig-dev kxmlgui-dev" +makedepends="$depends_dev cmake extra-cmake-modules libxslt-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/akonadi-mime-$pkgver.tar.xz" +builddir="$srcdir/akonadi-mime-$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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="6d60495fb19772b91993472b6b09a2582b8ee2196cee1a6d1c131bbe9249a066e39d390fb5c7b9f9c2766bf900955a5878dcfde65ab74d495b44f877d5828b5f akonadi-mime-17.08.1.tar.xz" diff --git a/user/akonadi-notes/APKBUILD b/user/akonadi-notes/APKBUILD new file mode 100644 index 000000000..02d777aba --- /dev/null +++ b/user/akonadi-notes/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=akonadi-notes +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Library for integrating notes into Akonadi" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev ki18n-dev kmime-dev akonadi-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/akonadi-notes-$pkgver.tar.xz" +builddir="$srcdir/akonadi-notes-$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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="679af7c116a7bdd084fb39f3b678f194531bd14f09b7e815dc902552f2166832aaa64322fb143ed6b46afef13b2199dd9c1a919e69ba84ef607b081879904e6a akonadi-notes-17.08.1.tar.xz" diff --git a/user/akonadi/APKBUILD b/user/akonadi/APKBUILD new file mode 100644 index 000000000..de897692d --- /dev/null +++ b/user/akonadi/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=akonadi +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Libraries and storage system for PIM data" +url="https://community.kde.org/KDE_PIM/Akonadi" +arch="all" +license="LGPL-2.1" +options="!check" # Test suite requires running D-Bus session. +depends="qt5-qtbase-postgresql" +depends_dev="qt5-qtbase-dev qt5-qttools-dev ki18n-dev kcompletion-dev kio-dev + kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev boost-dev + kiconthemes-dev kitemmodels-dev kitemviews-dev kwidgetsaddons-dev + kwindowsystem-dev kxmlgui-dev kcrash-dev kdesignerplugin-dev" +makedepends="$depends_dev cmake extra-cmake-modules sqlite-dev libxml2-dev + libxslt-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/akonadi-$pkgver.tar.xz + akonadiserverrc" +builddir="$srcdir/akonadi-$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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + + mkdir -p "$pkgdir"/usr/share/config/akonadi + install -m 644 "$srcdir"/akonadiserverrc \ + "$pkgdir"/usr/share/config/akonadi +} + +sha512sums="46e014377a908c7bde849fa55f1ba4990657e7011455423772236719cc86705f0d51420818e9cdbe2dffd49ad9c5b7aca9153416ce9ee7b4af3f9309741c1e4e akonadi-17.08.1.tar.xz +b0c333508da8ba5c447827b2bad5f36e3dc72bef8303b1526043b09c75d3055790908ac9cbb871e61319cfd4b405f4662d62d2d347e563c9956f4c8159fca9ab akonadiserverrc" diff --git a/user/akonadi/akonadiserverrc b/user/akonadi/akonadiserverrc new file mode 100644 index 000000000..4f5b32955 --- /dev/null +++ b/user/akonadi/akonadiserverrc @@ -0,0 +1,2 @@ +[%General] +Driver=QPSQL diff --git a/user/grantlee/APKBUILD b/user/grantlee/APKBUILD new file mode 100644 index 000000000..c8cfbec90 --- /dev/null +++ b/user/grantlee/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=grantlee +pkgver=5.1.0 +pkgrel=0 +pkgdesc="Libraries for text templating with Qt" +url="https://github.com/steveire/grantlee/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="cmake $depends_dev doxygen graphviz" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="grantlee-$pkgver.tar.gz::https://github.com/steveire/grantlee/archive/v$pkgver.tar.gz" +builddir="$srcdir/grantlee-$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 \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} + make all docs +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +doc() { + pkgdesc="$pkgdesc (documentation)" + install_if="docs $pkgname=$pkgver-r$pkgrel" + mkdir -p "$subpkgdir"/usr/share/doc/grantlee + mv "$builddir"/apidox "$subpkgdir"/usr/share/doc/grantlee/ +} + +sha512sums="8a4906979f160abf21481d364f0318789c8b5340c62bff06cc62e6714dbf2c52cbfe577a24490052ac25d94f4cc59e11764204236bc7532bd7f1fd5188baa41a grantlee-5.1.0.tar.gz" diff --git a/user/kalarmcal/APKBUILD b/user/kalarmcal/APKBUILD new file mode 100644 index 000000000..9908653f7 --- /dev/null +++ b/user/kalarmcal/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kalarmcal +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Calendar library to integrate with your alarm clock" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kcalcore-dev kidentitymanagement-dev kholidays-dev + kdelibs4support-dev akonadi-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kalarmcal-$pkgver.tar.xz" +builddir="$srcdir/kalarmcal-$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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="dabe0f3c2297c11a24a4e7cb33262e7a1102e0fdb794e1ad1d02b4432889bb5de5c1bb70a17c2992ab9d35e5df4f3c4643a1ede0aaaf1ea420fd3d7eac4a950c kalarmcal-17.08.1.tar.xz" diff --git a/user/kcalcore/APKBUILD b/user/kcalcore/APKBUILD new file mode 100644 index 000000000..3e7b2700d --- /dev/null +++ b/user/kcalcore/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kcalcore +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Library for managing a calendar of events" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.0" +depends="" +depends_dev="qt5-qtbase-dev kconfig-dev kdelibs4support-dev libical-dev" +makedepends="$depends_dev cmake extra-cmake-modules bison" +checkdepends="tzdata" +install="" +subpackages="$pkgname-dev" +source="http://download.kde.org/stable/applications/$pkgver/src/kcalcore-$pkgver.tar.xz + posix-header.patch" +builddir="$srcdir/kcalcore-$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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E RecursOn-RFC2445_RRULETest39.ics +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="e4602de6a2482b5c6f54dc5247638e0d440813dd964582b42e4c3e2d9865370ad82e24539e01db3c70f24649d5c4116407aabb2b1fab5bb954d95cf8b867c834 kcalcore-17.08.1.tar.xz +d911c2a03b1db1f9f3b19e7087ae5cbee59ced24ded3b43f2d3286651d13e5f531d171cf7dc6c26906116d4b51a79f2801828956fa1f4e7094fa2f53fe2b888f posix-header.patch" diff --git a/user/kcalcore/posix-header.patch b/user/kcalcore/posix-header.patch new file mode 100644 index 000000000..27522ae35 --- /dev/null +++ b/user/kcalcore/posix-header.patch @@ -0,0 +1,37 @@ +From b8a362ea78d945e54155b2538dcc1df8dd64d533 Mon Sep 17 00:00:00 2001 +From: "A. Wilcox" <AWilcox@Wilcox-Tech.com> +Date: Wed, 11 Oct 2017 20:51:27 -0500 +Subject: [PATCH] versit: include strings.h for strcasecmp + +--- + src/versit/vcc.y | 1 + + src/versit/vobject.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/src/versit/vcc.y b/src/versit/vcc.y +index b9fbb0f..3e68795 100644 +--- a/src/versit/vcc.y ++++ b/src/versit/vcc.y +@@ -99,6 +99,7 @@ DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable. + #endif + + #include <string.h> ++#include <strings.h> + #include <stdio.h> + #include <stdlib.h> + #include <ctype.h> +diff --git a/src/versit/vobject.c b/src/versit/vobject.c +index db13f9e..a57c417 100644 +--- a/src/versit/vobject.c ++++ b/src/versit/vobject.c +@@ -46,6 +46,7 @@ DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable. + + #include "vobject.h" + #include <string.h> ++#include <strings.h> + #include <stdio.h> + + #define NAME_OF(o) o->id +-- +2.10.0 + diff --git a/user/kcalutils/APKBUILD b/user/kcalutils/APKBUILD new file mode 100644 index 000000000..2e46cfceb --- /dev/null +++ b/user/kcalutils/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kcalutils +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Utility library for managing a calendar of events" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev kconfig-dev ki18n-dev kcodecs-dev + kdelibs4support-dev grantlee-dev kcalcore-dev kidentitymanagement-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kcalutils-$pkgver.tar.xz" +builddir="$srcdir/kcalutils-$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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + # Missing template + CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E kcalutils-testincidenceformatter +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="884fdb012ee10605074168f1e8509d0d24f9788a4527bf9c6c94c5a7ca95d21e8778fbc5f5c1281fcf57cd46f7b67c4c558a2ea8914e1edb0920738f2e944026 kcalutils-17.08.1.tar.xz" diff --git a/user/kcontacts/APKBUILD b/user/kcontacts/APKBUILD new file mode 100644 index 000000000..7e5fe556b --- /dev/null +++ b/user/kcontacts/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kcontacts +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Library for working with contact information" +url="https://www.kde.org" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev ki18n-dev kconfig-dev kcodecs-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kcontacts-$pkgver.tar.xz" +builddir="$srcdir/kcontacts-$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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + # addresstest requires the library to already be installed. + CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E addresstest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="9be8c913fd8f0f62a7a0c7fd4060fd85b28b34cc32c5349fbd976b95bccec9b8ce409b483c343214e3b6dbbb0832b421cf81486df912b0cd733e25b8303a05f0 kcontacts-17.08.1.tar.xz" diff --git a/user/kde-utilities/APKBUILD b/user/kde-utilities/APKBUILD new file mode 100644 index 000000000..4a8ce2768 --- /dev/null +++ b/user/kde-utilities/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kde-utilities +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Desktop utiltiies from the KDE Software Collection" +url="https://www.kde.org/applications/utilities/" +arch="noarch" +license="NCSA" +options="!check" # Empty meta package, no point in testing. +# KAlarm, KNotes, and Zanshin are in kde-pim due to Akonadi deps. +depends="ark kate kcalc kcharselect kfind kgpg kleopatra kmag kmousetool + kronometer krusader ktimer okteta rsibreak xdg-utils" +makedepends="" +install="" +subpackages="" +source="https://distfiles.adelielinux.org/source/meta/kde-utilities-$pkgver.tar.xz" +build() { + cd "$builddir" +} + +package() { + cd "$builddir" + mkdir -p "$pkgdir"/usr/share/applications + cp -pr *.desktop "$pkgdir"/usr/share/applications/ +} + +sha512sums="ac7f2534ef34f35ee854544128ce0f8b2b3c38d2087343b22b649ce376876a56c06674e7e8b287b8495dcf477145f6b4e1f4db280d45fa06df9ce6b18280001c kde-utilities-17.08.1.tar.xz" diff --git a/user/kdesignerplugin/APKBUILD b/user/kdesignerplugin/APKBUILD index 1ee5522ca..8ce6bcd5d 100644 --- a/user/kdesignerplugin/APKBUILD +++ b/user/kdesignerplugin/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=kdesignerplugin pkgver=5.38.0 -pkgrel=0 +pkgrel=1 pkgdesc="Qt Designer plugin for KDE widgets" url="https://www.kde.org/" arch="all" @@ -12,7 +12,7 @@ depends="" depends_dev="qt5-qtbase-dev kcoreaddons-dev kconfig-dev kcompletion-dev kconfigwidgets-dev kiconthemes-dev kio-dev kitemviews-dev ktextwidgets-dev kwidgetsaddons-dev kxmlgui-dev sonnet-dev - kplotting-dev" + kplotting-dev kdesignerplugin" makedepends="$depends_dev cmake extra-cmake-modules kdoctools-dev qt5-qttools-dev" install="" diff --git a/user/kgpg/APKBUILD b/user/kgpg/APKBUILD new file mode 100644 index 000000000..f151d6e40 --- /dev/null +++ b/user/kgpg/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kgpg +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Simple interface for GnuPG, a powerful encryption utility" +url="http://utils.kde.org/projects/kgpg/" +arch="all" +license="GPL-2.0" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev karchive-dev kcodecs-dev + kdoctools-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev ki18n-dev + kiconthemes-dev kjobwidgets-dev kio-dev knotifications-dev kservice-dev + ktextwidgets-dev kxmlgui-dev kwidgetsaddons-dev kwindowsystem-dev + akonadi-contacts-dev kcontacts-dev gpgme-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kgpg-$pkgver.tar.xz" +builddir="$srcdir/kgpg-$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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="ad3ce4ee4f7816411df24c67286b4da4ccce7c9d161cd2dc7695a00974c649ac80f86b0463a7068866a218848c6cf91ef7ba7eb77ce742d543d301739dff7199 kgpg-17.08.1.tar.xz" diff --git a/user/kidentitymanagement/APKBUILD b/user/kidentitymanagement/APKBUILD new file mode 100644 index 000000000..eed6802db --- /dev/null +++ b/user/kidentitymanagement/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kidentitymanagement +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Library for managing user identities" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Test requires X11 desktop running. +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev kcompletion-dev ktextwidgets-dev + kxmlgui-dev kio-dev kconfig-dev kcodecs-dev kiconthemes-dev + kpimtextedit-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kidentitymanagement-$pkgver.tar.xz" +builddir="$srcdir/kidentitymanagement-$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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="2ac5ce30961cad6c3404a2a86fdadc768e9428afbe42d046ec951f2557ac926ac4bc3326e4d35f3d526fd0e5d9c081918cff9e0e2a276403753bcd6511f0ce7b kidentitymanagement-17.08.1.tar.xz" diff --git a/user/kleopatra/APKBUILD b/user/kleopatra/APKBUILD new file mode 100644 index 000000000..8da0ff57d --- /dev/null +++ b/user/kleopatra/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kleopatra +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Certificate manager and cryptography GUI" +url="https://www.kde.org/applications/utilities/kleopatra/" +arch="all" +license="GPL-2.0" +options="!check" # Test requires D-Bus session bus. +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev kcmutils-dev + kitemmodels-dev gpgme-dev libkleo-dev kmime-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kleopatra-$pkgver.tar.xz" +builddir="$srcdir/kleopatra-$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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="2ecfbeb313d760ac21394a32564d019f8032fa8c3e4ef58d9dfa07da875a22e72cb16793b3b6810ded1068cfc6287986ffd0737bdfb85ff3ce1821ff06ff27e2 kleopatra-17.08.1.tar.xz" diff --git a/user/kmousetool/APKBUILD b/user/kmousetool/APKBUILD new file mode 100644 index 000000000..91eabc57d --- /dev/null +++ b/user/kmousetool/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kmousetool +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Tool to assist with clicking the mouse button" +url="https://userbase.kde.org/KMouseTool" +arch="all" +license="LGPL-2.1" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev kdbusaddons-dev ki18n-dev + kdoctools-dev kiconthemes-dev knotifications-dev kxmlgui-dev phonon-dev + libxtst-dev libxt-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kmousetool-$pkgver.tar.xz" +builddir="$srcdir/kmousetool-$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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="8147555a752caae592b9f6bfa0ef7eedc21e798add44c457d5d7e3a1cda8a3635e6166f1284c7d3809cd8ba9b0f51edbc05d6c43448d1e45ab6005d4f66c9ff4 kmousetool-17.08.1.tar.xz" diff --git a/user/kpimtextedit/APKBUILD b/user/kpimtextedit/APKBUILD new file mode 100644 index 000000000..39440f13f --- /dev/null +++ b/user/kpimtextedit/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=kpimtextedit +pkgver=17.08.1 +pkgrel=0 +pkgdesc="Text editor for Personal Information Managers (PIMs)" +url="https://pim.kde.org/" +arch="all" +license="LGPL-2.1" +options="!check" # Test suite requires X11 running. +depends="" +depends_dev="qt5-qtbase-dev grantlee-dev syntax-highlighting-dev kcodecs-dev + kconfig-dev kconfigwidgets-dev kcoreaddons-dev kemoticons-dev ki18n-dev + kiconthemes-dev kio-dev sonnet-dev kwidgetsaddons-dev kxmlgui-dev + kdesignerplugin-dev ktextwidgets-dev" +makedepends="$depends_dev cmake extra-cmake-modules qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/kpimtextedit-$pkgver.tar.xz" +builddir="$srcdir/kpimtextedit-$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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="7df541ed6af130cef94d448a61d3cb6d1b95121a827d56e1ba213a162ee1fd7740391f7660ddf0c4575c4e4e5289cfdd6f91e98a18d35dc8efa72e055aa9efcb kpimtextedit-17.08.1.tar.xz" diff --git a/user/krusader/APKBUILD b/user/krusader/APKBUILD new file mode 100644 index 000000000..a141befdb --- /dev/null +++ b/user/krusader/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=krusader +pkgver=2.6.0 +pkgrel=0 +pkgdesc="Advanced, twin-panel (commander style) file manager" +url="https://krusader.org/" +arch="all" +license="GPL-2.0" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev karchive-dev kcodecs-dev + kbookmarks-dev kcompletion-dev kcoreaddons-dev kconfig-dev kdoctools-dev + ki18n-dev kiconthemes-dev kitemviews-dev kio-dev knotifications-dev + kparts-dev solid-dev ktextwidgets-dev kwallet-dev kwidgetsaddons-dev + kwindowsystem-dev kxmlgui-dev kguiaddons-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/krusader/$pkgver/krusader-$pkgver.tar.xz + posix-headers.patch" +builddir="$srcdir/krusader-$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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="d7ae1696e77ddbd8b18043e8497356151ddaa69192a89dbf1f4381216318aaca97a0be4e44595e51007f1eccf73eec55c3bd9f694aaacfa138aa3391f1f5d898 krusader-2.6.0.tar.xz +6df1a858c896d91d2f09a0cf49a90177655cf21bd7fe18c5b82e0805f81d3c121978b932a2f139d2e0e4ca8d9741d181274b968628e905f87557b6ad43f05a59 posix-headers.patch" diff --git a/user/krusader/posix-headers.patch b/user/krusader/posix-headers.patch new file mode 100644 index 000000000..c52d63656 --- /dev/null +++ b/user/krusader/posix-headers.patch @@ -0,0 +1,20 @@ +--- krusader-2.6.0/krusader/FileSystem/krpermhandler.h.old 2017-04-11 12:32:08.000000000 -0500 ++++ krusader-2.6.0/krusader/FileSystem/krpermhandler.h 2017-10-12 18:55:51.447922274 -0500 +@@ -39,6 +39,7 @@ + + #include <KIO/Global> + ++#include <sys/types.h> + #include <time.h> + #include <stdlib.h> + #include <unistd.h> +--- krusader-2.6.0/krusader/DiskUsage/filelightParts/fileTree.h.old 2017-04-11 12:32:08.000000000 -0500 ++++ krusader-2.6.0/krusader/DiskUsage/filelightParts/fileTree.h 2017-10-12 18:56:22.954502133 -0500 +@@ -23,6 +23,7 @@ + + #include <KIO/Global> + ++#include <sys/types.h> + #include <time.h> + #include <stdlib.h> + #include <unistd.h> diff --git a/user/libdmtx/APKBUILD b/user/libdmtx/APKBUILD new file mode 100644 index 000000000..3d37f653f --- /dev/null +++ b/user/libdmtx/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libdmtx +pkgver=0.7.4 +pkgrel=0 +pkgdesc="Library for creating and reading Data Matrix barcodes" +url="http://libdmtx.sourceforge.net/" +arch="all" +license="2-BSD" +depends="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://downloads.sourceforge.net/libdmtx/libdmtx-$pkgver.tar.gz" +builddir="$srcdir/libdmtx-$pkgver" + +prepare() { + cd "$builddir" + update_config_sub + default_prepare +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-static + make +} + +check() { + cd "$builddir" + make check + test/simple_test/simple_test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="307aeb30506e60fc44550d1bb86081634f0718d53e7b878b45b0e704e75c5996e27285a16881b7c3a93cafa9a9b125175dadc0f0c2c2f976878666eb652108ae libdmtx-0.7.4.tar.gz" diff --git a/user/libkleo/APKBUILD b/user/libkleo/APKBUILD new file mode 100644 index 000000000..aa63a757f --- /dev/null +++ b/user/libkleo/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libkleo +pkgver=17.08.1 +pkgrel=0 +pkgdesc="KDE encryption library" +url="https://www.kde.org/" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev ki18n-dev kconfig-dev kwidgetsaddons-dev gpgme-dev + kcompletion-dev kwindowsystem-dev kcoreaddons-dev kcodecs-dev + kitemmodels-dev kpimtextedit-dev boost-dev" +makedepends="$depends_dev cmake extra-cmake-modules" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/libkleo-$pkgver.tar.xz" +builddir="$srcdir/libkleo-$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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="8f19573b25d67c3472073f1460f0ceba19bceb82c3ab5eaaa1d63e3aefabf4eb43a9551ad57c2213ace3d0487367ed90f9af559d2c1026f409c17f3022c7a3d3 libkleo-17.08.1.tar.xz" diff --git a/user/prison/APKBUILD b/user/prison/APKBUILD new file mode 100644 index 000000000..2b28541f5 --- /dev/null +++ b/user/prison/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=prison +pkgver=5.38.0 +pkgrel=0 +pkgdesc="Qt Barcode library for programatically creating QR codes" +url="https://www.kde.org/" +arch="all" +license="MIT" +depends="" +depends_dev="qt5-qtbase-dev libqrencode-dev libdmtx-dev" +makedepends="$depends_dev cmake extra-cmake-modules doxygen graphviz + qt5-qttools-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://download.kde.org/stable/frameworks/5.38/prison-$pkgver.tar.xz" +builddir="$srcdir/prison-$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" \ + -DBUILD_QCH:BOOL=ON \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="26ed107c2971ca1932a7b75994f1b313989aee4ff7d84037afb7b5d45a1a52858bb72b1ede947bf01d87eb7a292f7a17f0475d53ad47d59af09e7c9fefe7099c prison-5.38.0.tar.xz" diff --git a/user/rsibreak/APKBUILD b/user/rsibreak/APKBUILD new file mode 100644 index 000000000..82ed15128 --- /dev/null +++ b/user/rsibreak/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=rsibreak +pkgver=0.12.7 +pkgrel=0 +pkgdesc="Helps you avoid wrist injury by telling you when to stop for a rest" +url="https://www.kde.org/applications/utilities/rsibreak/" +arch="all" +license="GPL-2.0" +depends="" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev kconfig-dev kcrash-dev + kconfigwidgets-dev kdbusaddons-dev kdoctools-dev kiconthemes-dev + ki18n-dev kidletime-dev knotifications-dev knotifyconfig-dev + ktextwidgets-dev kxmlgui-dev kwindowsystem-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="https://download.kde.org/stable/rsibreak/0.12/rsibreak-$pkgver.tar.xz" +builddir="$srcdir/rsibreak-$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" \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="77da791a705549da159dee18ff160e051a79184e909af7ac9efcdbc2bcad66f6fc4994af71e0ccdf0033596cccc93c8d4642ae578846dc2aa38223c1a462008f rsibreak-0.12.7.tar.xz" diff --git a/user/xdg-user-dirs/APKBUILD b/user/xdg-user-dirs/APKBUILD new file mode 100644 index 000000000..d4523f14f --- /dev/null +++ b/user/xdg-user-dirs/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=xdg-user-dirs +pkgver=0.16 +pkgrel=0 +pkgdesc="Utilities for locale-aware management of user directories." +url="https://www.freedesktop.org/wiki/Software/xdg-user-dirs/" +arch="all" +license="GPL-2.0+ MIT" +depends="" +makedepends="gettext-dev" +install="" +subpackages="$pkgname-lang $pkgname-doc" +source="http://user-dirs.freedesktop.org/releases/xdg-user-dirs-$pkgver.tar.gz" +builddir="$srcdir/xdg-user-dirs-$pkgver" +# no tests +options="!check" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="245513d1b16adc970b4a3c0b4a078cdeda62d36b39e4561754d8331e76ee0013a769d8c2e43c94f8b5c378619ee58bca534721a8675ceaeccbb3fdf69cf6f7ae xdg-user-dirs-0.16.tar.gz" |