diff --git a/kde/akonadi-calendar/APKBUILD b/kde/akonadi-calendar/APKBUILD new file mode 100644 index 000000000..db068abb3 --- /dev/null +++ b/kde/akonadi-calendar/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=akonadi-calendar +pkgver=18.08.1 +pkgrel=0 +pkgdesc='Libraries and daemons to implement basic email handling.' +arch="all" +url='https://community.kde.org/KDE_PIM' +license="GPL-2.0 LGPL-2.1 BSD" +depends="" +depends_dev="kio-dev kwallet-dev kmailtransport-dev kidentitymanagement-dev kcalutils-dev akonadi-contacts-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" +options="!check" # Broken + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="94dc08b80ddc2bf4faab373d62ec41225e78b682d3ee2c4eea406c1090dcd23c246ddd8571ed864d8445e16bd5cea51b47843071c830ab382e69f1b74cd035f0 akonadi-calendar-18.08.1.tar.xz" diff --git a/kde/akonadi-contacts/APKBUILD b/kde/akonadi-contacts/APKBUILD new file mode 100644 index 000000000..9debbfa7a --- /dev/null +++ b/kde/akonadi-contacts/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=akonadi-contacts +pkgver=18.08.1 +pkgrel=0 +pkgdesc='Libraries and daemons to implement Contact Management in Akonadi' +arch="all" +url='https://community.kde.org/KDE_PIM' +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kio-dev prison-dev kcontacts-dev kmime-dev akonadi-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" +options="!check" # Requires running X11 server + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="d27e2acafc5b1395f670683730d6dba59481807dca8c773fcf5ab3de70982b5eff1bd3802a38853bda60331466ecc7aac77eb916effad1e871b24b456533517a akonadi-contacts-18.08.1.tar.xz" diff --git a/kde/akonadi-mime/APKBUILD b/kde/akonadi-mime/APKBUILD new file mode 100644 index 000000000..8429408a3 --- /dev/null +++ b/kde/akonadi-mime/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=akonadi-mime +pkgver=18.08.1 +pkgrel=0 +pkgdesc='Libraries and daemons to implement basic email handling.' +arch="all" +url='https://community.kde.org/KDE_PIM' +license="GPL-2.0 LGPL-2.1 BSD" +depends="" +depends_dev="qt5-qtbase-dev kdbusaddons-dev kio-dev kmime-dev kitemmodels-dev akonadi-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" +options="!check" # Broken +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="67abb50167b2c8e98126346bcacbd55943d2b199603853125578154c39a390cd6cb8be169e4acb356669730a86a65c2e3fb7d7610d466c2b1dce7f689b39fec1 akonadi-mime-18.08.1.tar.xz" diff --git a/kde/akonadi-search/APKBUILD b/kde/akonadi-search/APKBUILD new file mode 100644 index 000000000..d02e9e8fc --- /dev/null +++ b/kde/akonadi-search/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=akonadi-search +pkgver=18.08.1 +pkgrel=0 +pkgdesc='Libraries and daemons to implement searching in Akonadi' +arch="all" +url='https://community.kde.org/KDE_PIM' +license="GPL-2.0 LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev ki18n-dev kconfig-dev kcrash-dev kcmutils-dev krunner-dev akonadi-dev + kcontacts-dev kmime-dev akonadi-mime-dev kcalcore-dev xapian-core-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" +options="!check" # Requires running X11 server + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="38b22a9d90049c93745f968aa9026e9f27cec840534e71e93c3a9deb16fddb604e6853ead21c50e9a3647a43768afe19fa48477aa2eb777dc7441031387ba3d4 akonadi-search-18.08.1.tar.xz" diff --git a/kde/akonadi/APKBUILD b/kde/akonadi/APKBUILD new file mode 100644 index 000000000..b4dede3d8 --- /dev/null +++ b/kde/akonadi/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=akonadi +pkgver=18.08.1 +pkgrel=0 +pkgdesc='A cross-desktop storage service for PIM data and meta data providing concurrent read, write, and query access.' +arch="all" +url='https://community.kde.org/KDE_PIM' +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kcompletion-dev kconfigwidgets-dev kdbusaddons-dev kiconthemes-dev + kitemmodels-dev kio-dev shared-mime-info boost-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" +options="!check" # Requires running X11 server + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="50d5711e2b78ed512efa771c4852885c5464dc7cea3563cabd79bcbff7847906f300c453f863b1f1b6d3d3508a060eb2a69e3e94f75d2079eca66a0ff15c581c akonadi-18.08.1.tar.xz" diff --git a/kde/calendarsupport/APKBUILD b/kde/calendarsupport/APKBUILD new file mode 100644 index 000000000..dbedf9732 --- /dev/null +++ b/kde/calendarsupport/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=calendarsupport +pkgver=18.08.1 +pkgrel=0 +pkgdesc='Library providing calendar support' +arch="all" +url="https://api.kde.org/kdepim/calendarsupport/html" +license="GPL-2.0 LGPL-2.1" +depends="" +depends_dev="akonadi-dev kmime-dev akonadi-mime-dev kcalutils-dev kholidays-dev akonadi-calendar-dev + pimcommon-dev kdepim-apps-libs-dev" +makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="314833f9328ed4af76ab9d50c7a6395f9f3b64f9d40dc459496d04c21018a66e30e44fcff5917b83db0e9d2851c4c3b58bd0f56471b97a55916f50f53a111e42 calendarsupport-18.08.1.tar.xz" diff --git a/kde/grantleetheme/APKBUILD b/kde/grantleetheme/APKBUILD new file mode 100644 index 000000000..fcfc0be59 --- /dev/null +++ b/kde/grantleetheme/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=grantleetheme +pkgver=18.08.1 +pkgrel=0 +pkgdesc="KDE PIM mail related libraries" +arch="all" +url="https://kontact.kde.org/" +license="GPL-2.0 LGPL-2.1" +depends= +makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kiconthemes-dev knewstuff-dev + grantlee-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" +options="!check" # Requires running X11 server + +build() { + cd "$builddir" + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="1e83eb236856961eee43da212a37f0e58d9fbc1f151303007a27367b04098c813c64f2edb5741988ef4f00bc5053c6cc1b4edc746d8be0a524648cfc8e517e70 grantleetheme-18.08.1.tar.xz" diff --git a/kde/itinerary/APKBUILD b/kde/itinerary/APKBUILD new file mode 100644 index 000000000..826962568 --- /dev/null +++ b/kde/itinerary/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=itinerary +pkgver=0_git20180812 +pkgrel=0 +_commit="c47772e49de6662acd7769d5c8cef94379ea7bcf" +pkgdesc="Application to assist with usage of Travel Reservations " +url="https://github.com/KDE/itinerary" +arch="all" +license="LGPL-2.1" +depends="prison" +depends_dev="qt5-qtbase-dev qt5-qtquickcontrols2-dev qt5-qtlocation-dev ki18n-dev kcontacts-dev kpkpass-dev kitinerary-dev + kdbusaddons-dev shared-mime-info" +makedepends="$depends_dev extra-cmake-modules" +source="$pkgname-$pkgver.tar.gz::https://github.com/kde/$pkgname/archive/$_commit.tar.gz" +subpackages="" +options="!check" # Broken +builddir="$srcdir/$pkgname-$_commit" + +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" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="945703a1e28eabac2841a27bad2ee35c79697ac8b7814e33649c2c5b32bc58886ad7414153a692d6e6f59f7b4a61d21c7ba5b82337058406b3aafa2caea730fa itinerary-0_git20180812.tar.gz" diff --git a/kde/kasync/APKBUILD b/kde/kasync/APKBUILD new file mode 100644 index 000000000..b260baf15 --- /dev/null +++ b/kde/kasync/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kasync +pkgver=0.2.0 +pkgrel=0 +pkgdesc='A C++ library for controlling asynchronous tasks' +arch="all" +url='https://community.kde.org/KDE_PIM' +license="GPL-2.0 LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="cf0d59c4ed6978552599a1d36c08df180357e112867f3730f57b13673943eb365acd16892450f100e9e5f122220a06df64ee006a0d3651d0f05d78cb5195094d kasync-0.2.0.tar.xz" diff --git a/kde/kcalcore/APKBUILD b/kde/kcalcore/APKBUILD new file mode 100644 index 000000000..e7773ba6c --- /dev/null +++ b/kde/kcalcore/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kcalcore +pkgver=18.08.1 +pkgrel=0 +pkgdesc="The KDE calendar access library" +arch="all" +url="https://api.kde.org/kdepim/kcalcore/html" +license="LGPL-2.0" +depends="" +depends_dev="qt5-qtbase-dev libical-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" +options="!check" # Broken + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="3573b9b5314085855c7a06c87423474d5e83a3ef4b7200fab2532345774a8984c927940c3e5e26b3c1123cf1e8c944c480ea510b3577da8d7820acfa691915c8 kcalcore-18.08.1.tar.xz" diff --git a/kde/kcalutils/APKBUILD b/kde/kcalutils/APKBUILD new file mode 100644 index 000000000..a6f72a68a --- /dev/null +++ b/kde/kcalutils/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kcalutils +pkgver=18.08.1 +pkgrel=0 +pkgdesc="The KDE calendar utility library" +arch="all" +url="https://api.kde.org/kdepim/kcalutils/html" +license="LGPL-2.0" +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev kconfig-dev ki18n-dev kcodecs-dev kwidgetsaddons-dev + kconfigwidgets-dev kiconthemes-dev grantlee-dev kcalcore-dev kidentitymanagement-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" +options="!check" # Requires running X11 server + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="23a3212e1b55a4b3c56dddc8cc0154c466387ea72ff3d13b99f00bd0e26dd49b0d12440992f2edf4da372a99ae2e643499d98ee4b5e704238ffa6785eb4069a4 kcalutils-18.08.1.tar.xz" diff --git a/kde/kcontacts/APKBUILD b/kde/kcontacts/APKBUILD new file mode 100644 index 000000000..460fdf2f5 --- /dev/null +++ b/kde/kcontacts/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kcontacts +pkgver=18.08.1 +pkgrel=0 +pkgdesc='Address book API for KDE' +arch="all" +url='https://community.kde.org/KDE_PIM' +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev ki18n-dev kconfig-dev kcodecs-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" +options="!check" # Requires running X11 server + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="a28f004bb7c87206a3d063f66fae54c0147a1489bae94e7b5e5b7756f88518ddf86bd425a590483bcde6f339fbba2f76ee44e2138f595b19b1944718537c5fb2 kcontacts-18.08.1.tar.xz" diff --git a/kde/kdav2/APKBUILD b/kde/kdav2/APKBUILD new file mode 100644 index 000000000..113622650 --- /dev/null +++ b/kde/kdav2/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kdav2 +pkgver=0.1.0 +pkgrel=0 +pkgdesc='A DAV protocol implementation with KJobs' +arch="all" +url='https://community.kde.org/KDE_PIM' +license="GPL-2.0" +depends="" +depends_dev="qt5-qtbase-dev qt5-qtxmlpatterns-dev kcoreaddons-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="4d4e19ed9b8b44f5eea7d40d24dd4accd6b41ea5020b492d83d85ff7fee1e0bc72f50667a31b8021fe9aaa45fbaa6dea86fdb81a4f4db45d9d16ba98adb636b4 kdav2-0.1.0.tar.xz" diff --git a/kde/kdeconnect/APKBUILD b/kde/kdeconnect/APKBUILD new file mode 100644 index 000000000..336f3f98e --- /dev/null +++ b/kde/kdeconnect/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kdeconnect +pkgver=1.3.1_git20180822 +pkgrel=0 +_commit="14994132f83d33edd2ef2bad29c8873d17610d24" +pkgdesc="Adds communication between KDE and your smartphone" +url="https://community.kde.org/KDEConnect" +arch="all" +license="GPL-2.0" +depends="kirigami2" +makedepends="extra-cmake-modules kdoctools-dev kconfigwidgets-dev kdbusaddons-dev kiconthemes-dev + knotifications-dev kio-dev kcmutils-dev qca-qt5-dev plasma-framework-dev libexecinfo-dev + qt5-qtdeclarative-dev" +subpackages="$pkgname-doc" #$pkgname-lang is only available in the release package +#source="https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-kde-$pkgver.tar.xz +source="$pkgname-$_commit.tar.gz::https://github.com/KDE/$pkgname-kde/archive/$_commit.tar.gz" +options="!check" # Requires running X11 server +builddir="$srcdir/$pkgname-kde-$_commit" + +build() { + cd "$builddir" + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_TESTING=ON \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_LIBEXECDIR=lib \ + -DEXPERIMENTALAPP_ENABLED=true \ + -DBUILD_TYPE=Release + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="a7c2381e1bbcca1e2ca0d1f3a0ff6d9d5759ea21a11fb5dc0de0992dca3c2ddbe4afc3adfa5685bb1b624bb3bcec4f58d43f1ea61324c23aaabc9835b1494373 kdeconnect-14994132f83d33edd2ef2bad29c8873d17610d24.tar.gz" diff --git a/kde/kdepim-apps-libs/APKBUILD b/kde/kdepim-apps-libs/APKBUILD new file mode 100644 index 000000000..2247f7468 --- /dev/null +++ b/kde/kdepim-apps-libs/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kdepim-apps-libs +pkgver=18.08.1 +pkgrel=0 +pkgdesc="KDE PIM mail related libraries" +arch="all" +url="https://kontact.kde.org/" +license="GPL-2.0 LGPL-2.1" +depends= +makedepends="extra-cmake-modules grantleetheme-dev akonadi-dev akonadi-contacts-dev libkleo-dev + gpgme-dev pimcommon-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cd "$builddir" + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="f30e3183b5212993a41eafce081f7d6f7e5636ba9996b6ec4af0f6ca69e68d7bc5b53151c03203b556c01e3325ccab01f3742ab3ca54e339187df391b2757b04 kdepim-apps-libs-18.08.1.tar.xz" diff --git a/kde/kholidays/APKBUILD b/kde/kholidays/APKBUILD new file mode 100644 index 000000000..4e0396e76 --- /dev/null +++ b/kde/kholidays/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kholidays +pkgver=5.49.0 +pkgrel=0 +pkgdesc="Support for icon themes" +arch="all" +url="https://community.kde.org/Frameworks" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev" +makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + + +package() { + cd "$builddir" + make DESTDIR="${pkgdir}" install +} + +sha512sums="f64607c874456f2a289d9af2629f838b6d32a3c5af89c261f4010db63ece90513194ee6770170aa06e75f9c99abbd8292425d7164bcb57d89c3a77b1e14344ad kholidays-5.49.0.tar.xz" diff --git a/kde/kidentitymanagement/APKBUILD b/kde/kidentitymanagement/APKBUILD new file mode 100644 index 000000000..429ec5729 --- /dev/null +++ b/kde/kidentitymanagement/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kidentitymanagement +pkgver=18.08.1 +pkgrel=0 +pkgdesc=' ' +arch="all" +url='https://github.com/kde/kidentitymanagement' +license="LGPL-2.1" +depends="" +depends_dev="kcompletion-dev ktextwidgets-dev kxmlgui-dev kio-dev kpimtextedit-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" +options="!check" # Requires running X11 server + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="cada5292dbaab54fe41a2bd8967ddc023d1334210c79cf78fc1657bb24c80e1d2232d49a250de98f9092272c122690ad6eb86534aec370a95c93fce19f46b829 kidentitymanagement-18.08.1.tar.xz" diff --git a/kde/kimap/APKBUILD b/kde/kimap/APKBUILD new file mode 100644 index 000000000..5d670e200 --- /dev/null +++ b/kde/kimap/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kimap +pkgver=18.08.1 +pkgrel=0 +pkgdesc='Job-based API for interacting with IMAP servers' +arch="all" +url='https://community.kde.org/KDE_PIM' +license="GPL-2.0 LGPL-2.0" +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev ki18n-dev kio-dev kmime-dev cyrus-sasl-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" +# options="!check" # LoginJobTest fails + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="02a6d16eb921c6bdc5ee30bf92754cdbf2188b222bdc5dd62acff9f9f073cbd8f97207d434ba49538e75024b7fdf036dfb244738b4e64994ab8d78456cead827 kimap-18.08.1.tar.xz" diff --git a/kde/kimap2/APKBUILD b/kde/kimap2/APKBUILD new file mode 100644 index 000000000..6cec30e45 --- /dev/null +++ b/kde/kimap2/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kimap2 +pkgver=0.2.1 +pkgrel=0 +pkgdesc='Job-based API for interacting with IMAP servers' +arch="all" +url='https://community.kde.org/KDE_PIM' +license="GPL-2.0 LGPL-2.0" +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev kcodecs-dev kmime-dev cyrus-sasl-dev" +makedepends="$depends_dev extra-cmake-modules" +source="$pkgname-$pkgver.tar.gz::https://github.com/KDE/$pkgname/archive/v$pkgver.tar.gz" +subpackages="$pkgname-dev" +options="!check" # LoginJobTest fails + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="a7e9b4e6cea2de6c792aba7634f35780ea5417ed66c26bed1c78743b9753225886f88f06ce892fa3bfee0db911719108b6b702d5470bbbea17b5b764260e55f4 kimap2-0.2.1.tar.gz" diff --git a/kde/kitinerary/APKBUILD b/kde/kitinerary/APKBUILD new file mode 100644 index 000000000..bbc7f49b2 --- /dev/null +++ b/kde/kitinerary/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kitinerary +pkgver=18.08.0_git20180806 +pkgrel=0 +_commit="2256e363e6bde732d940759451ca299e26e2adcf" +pkgdesc="Data Model and Extraction System for Travel Reservation information" +url="https://github.com/KDE/kitinerary" +arch="all" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev ki18n-dev kmime-dev kpkpass-dev kcontacts-dev + kcalcore-dev" +makedepends="$depends_dev extra-cmake-modules" +#source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +source="$pkgname-$pkgver.tar.gz::https://github.com/kde/$pkgname/archive/$_commit.tar.gz" +subpackages="$pkgname-dev" # $pkgname-lang +options="!check" # Requires running X11 server +builddir="$srcdir/$pkgname-$_commit" + +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" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="e2850c59a169b6bae2e289687f6378e94465a25e99bd51928c221192ec75c823996b7acead6cd99dbc52d3f949e361db1514fd7bba0c7f94fed86af964aaae36 kitinerary-18.08.0_git20180806.tar.gz" diff --git a/kde/kldap/APKBUILD b/kde/kldap/APKBUILD new file mode 100644 index 000000000..0a9fe45b8 --- /dev/null +++ b/kde/kldap/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kldap +pkgver=18.08.1 +pkgrel=0 +pkgdesc='LDAP access API for KDE' +arch="all" +url='https://github.com/kde/kldap' +license="LGPL-2.1" +depends="" +depends_dev="kio-dev openldap-dev" +makedepends="$depends_dev extra-cmake-modules cyrus-sasl-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +#options="!check" # Requires running X11 server + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="2055ef5d1950501b41bae76b048cd3b77c19a9969ebc5e5a50f2eae173c6161348d8bc5675dcae827b99a29979acd2f5f165889108f7faefa8dba4b0bf31f47b kldap-18.08.1.tar.xz" diff --git a/kde/kmailtransport/APKBUILD b/kde/kmailtransport/APKBUILD new file mode 100644 index 000000000..f70a73e43 --- /dev/null +++ b/kde/kmailtransport/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kmailtransport +pkgver=18.08.1 +pkgrel=0 +pkgdesc="Manage mail transport" +arch="all" +url="https://api.kde.org/kdepim/kmailtransport/html" +license="LGPL-2.1" +depends="" +depends_dev="kcmutils-dev kwallet-dev kmime-dev akonadi-dev akonadi-mime-dev ksmtp-dev libkgapi-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" +options="!check" # Requires running X11 server + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="58c8b95cf1948be7f2781c6a4794e16947a6a67344ee1a29230f9d9f06e269a44c8c8634420c923cc60292091fc0caa1691332e796b78e4d38e33b8eda5e8867 kmailtransport-18.08.1.tar.xz" diff --git a/kde/kmime/APKBUILD b/kde/kmime/APKBUILD new file mode 100644 index 000000000..8199b85f2 --- /dev/null +++ b/kde/kmime/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kmime +pkgver=18.08.1 +pkgrel=0 +pkgdesc='Library for handling mail messages and newsgroup articles' +arch="all" +url='https://community.kde.org/KDE_PIM' +license="LGPL-2.0" +depends="" +depends_dev="qt5-qtbase-dev ki18n-dev kcodecs-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" +options="!check" # Fails on aarch64 on Outlook attachement naming + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="2a3ab2f7e69e14f8ad86ac9f6a9c33a3fd3da703da82ec7b53d126f6d8c7a51608b4f221a7903d37c2db429b444e643130a8687b1e02d5cc746d5c8d34c151d4 kmime-18.08.1.tar.xz" diff --git a/kde/kpimtextedit/APKBUILD b/kde/kpimtextedit/APKBUILD new file mode 100644 index 000000000..c62c222ba --- /dev/null +++ b/kde/kpimtextedit/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kpimtextedit +pkgver=18.08.1 +pkgrel=0 +pkgdesc="Advanced text editor which provide advanced html feature" +arch="all" +url="https://api.kde.org/kdepim/kpimtextedit/html" +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev grantlee-dev kcodecs-dev kconfig-dev kconfigwidgets-dev kemoticons-dev + kiconthemes-dev kio-dev syntax-highlighting-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" +options="!check" # Requires running X11 server + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="e7830227a74331e399d030dfd8058382329512b85ccd36061d7ddeba2c1eca287d41890847203afb6df254e2d9927fda7974feb4c48ab433f5b037fe48c588f5 kpimtextedit-18.08.1.tar.xz" diff --git a/kde/kpkpass/APKBUILD b/kde/kpkpass/APKBUILD new file mode 100644 index 000000000..7b4d94ba8 --- /dev/null +++ b/kde/kpkpass/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kpkpass +pkgver=18.08.1 +pkgrel=0 +pkgdesc='Apple Wallet Pass reader' +arch="all" +url='https://github.com/kde/kpkpass' +license="LGPL-2.1" +depends="" +depends_dev="" +makedepends="$depends_dev extra-cmake-modules qt5-qtbase-dev karchive-dev shared-mime-info" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" +#options="!check" # Requires running X11 server + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="19c07f6e38ce7fd9c8cd1ebb138181ebb3e741e8f9c9cd45f0f210b1bd490cabc7a214f795cdc9a32b6f975a67a08df24f351a3801c327f0b98c2580c3364f24 kpkpass-18.08.1.tar.xz" diff --git a/kde/ksmtp/APKBUILD b/kde/ksmtp/APKBUILD new file mode 100644 index 000000000..62bf6da0b --- /dev/null +++ b/kde/ksmtp/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=ksmtp +pkgver=18.08.1 +pkgrel=0 +pkgdesc='Job-based library to send email through an SMTP server' +arch="all" +url='https://github.com/kde/ksmtp' +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kcoreaddons-dev ki18n-dev kio-dev cyrus-sasl-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" +options="!check" # Broken + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="5f60b200516a0bfa08ea8c51e2f1520d9d6197b0e5848dd42b7ad77671026a0971fc8a6868443e14a6c2a95c31ba48eed57102c562ddafe5c8e3fb13d439a100 ksmtp-18.08.1.tar.xz" diff --git a/kde/kube/APKBUILD b/kde/kube/APKBUILD new file mode 100644 index 000000000..43a049381 --- /dev/null +++ b/kde/kube/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kube +pkgver=0.7.0 +pkgrel=0 +pkgdesc="A modern groupware client based on QtQuick and Sink" +arch="all" +url='https://kube.kde.org' +license="LGPL-2.0" +depends="qgpgme" +depends_dev="qt5-qtbase-dev qt5-qtquickcontrols2-dev qt5-qtwebengine-dev kmime-dev sink-dev gpgme-dev" +makedepends="$depends_dev extra-cmake-modules" +source="$pkgname-$pkgver.tar.gz::https://github.com/KDE/$pkgname/archive/v$pkgver.tar.gz + musl-lacks-backtrace.patch" +subpackages="$pkgname-dev" +options="!check" # Requires running X11 server + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="0399eba9c39b1d35be00c502c84cb7e903ab3f23b0b9dffd154e8fb2c071d8bdfdd16b606c66e5e7d52c5440a60008771d15d8e6abf866df86d2bb3733f34deb kube-0.7.0.tar.gz +f7b26a8028a8e546bba0be7874ce06ec82cf32ba971cf74913527d96fd0337fa857f2100991f6d40ee18f012cbe8c7c1265db824aed31456813d8f0941edaab9 musl-lacks-backtrace.patch" diff --git a/kde/kube/musl-lacks-backtrace.patch b/kde/kube/musl-lacks-backtrace.patch new file mode 100644 index 000000000..8c3088670 --- /dev/null +++ b/kde/kube/musl-lacks-backtrace.patch @@ -0,0 +1,20 @@ +diff --git a/applications/kube/main.cpp b/applications/kube/main.cpp +index e0d37fc..8bbe555 100644 +--- a/applications/kube/main.cpp ++++ b/applications/kube/main.cpp +@@ -58,6 +58,7 @@ + void printStacktrace() + { + #ifndef Q_OS_WIN ++#if defined(__GNU_LIBRARY__) + int skip = 1; + void *callstack[128]; + const int nMaxFrames = sizeof(callstack) / sizeof(callstack[0]); +@@ -93,6 +94,7 @@ void printStacktrace() + } + std::cerr << trace_buf.str(); + #endif ++#endif + } + + static int sCounter = 0; diff --git a/kde/libkdepim/APKBUILD b/kde/libkdepim/APKBUILD new file mode 100644 index 000000000..a193c9a5f --- /dev/null +++ b/kde/libkdepim/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=libkdepim +pkgver=18.08.1 +pkgrel=0 +pkgdesc='Lib for common KDEPim apps' +arch="all" +url='https://community.kde.org/KDE_PIM' +license="GPL-2.0 LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev kcodecs-dev kcompletion-dev kconfigwidgets-dev kiconthemes-dev kjobwidgets-dev + kcmutils-dev kwallet-dev akonadi-dev akonadi-contacts-dev akonadi-search-dev kldap-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" +options="!check" # Requires running X11 server + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="541659a7a46def63275e584d20453885f3ee6aa944229740e9d6494568d4a3808020367bd8484083f00694696fb589f077844a2c33265a8ba89ca319b55b5501 libkdepim-18.08.1.tar.xz" diff --git a/kde/libkgapi/APKBUILD b/kde/libkgapi/APKBUILD new file mode 100644 index 000000000..433a88c0e --- /dev/null +++ b/kde/libkgapi/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=libkgapi +pkgver=18.08.1 +pkgrel=0 +pkgdesc='LibKGAPI is a KDE-based library for accessing various Google services via their public API' +arch="all" +url='https://community.kde.org/KDE_PIM' +license="LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev qt5-qtwebengine-dev kio-dev kwindowsystem-dev kwallet-dev kcalcore-dev kcontacts-dev + cyrus-sasl-dev" +makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev" +options="!check" # Broken + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="31c9b1ab3f35ce431bf7ae5004f68b50d517dd2798745ba68bd1907f518edb832406c4ebe39149451161e4fe3f2523060a3c49676221ba254e87f4d5c0edacce libkgapi-18.08.1.tar.xz" diff --git a/kde/libkleo/APKBUILD b/kde/libkleo/APKBUILD new file mode 100644 index 000000000..59dd81678 --- /dev/null +++ b/kde/libkleo/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=libkleo +pkgver=18.08.1 +pkgrel=0 +pkgdesc="KDE PIM cryptographic library" +arch="all" +url="https://kontact.kde.org" +license="GPL-2.0 LGPL-2.1" +depends="" +makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kconfig-dev kwidgetsaddons-dev + kcompletion-dev kwindowsystem-dev kcoreaddons-dev kcodecs-dev kitemmodels-dev gpgme-dev + kpimtextedit-dev boost-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cd "$builddir" + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="3df1d5236d31636de4811dea600b660d1920613a56c0ec7821fdf3451737d896ba129746f5a838cfb96d106dcd68b3170efdf2616f8e56b562e59cd7ec7ce1ed libkleo-18.08.1.tar.xz" diff --git a/kde/marble/APKBUILD b/kde/marble/APKBUILD new file mode 100644 index 000000000..79db6b1cd --- /dev/null +++ b/kde/marble/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=marble +pkgver=18.08.1 +pkgrel=0 +pkgdesc='Marble is a Virtual Globe and World Atlas that you can use to learn more about Earth' +arch="all" +url='https://marble.kde.org' +license="iGFDL-1.2 BSD-3.0 GPL-3.0" +depends="krunner" +depends_dev="qt5-qtbase-dev qt5-qtsvg-dev qt5-qtdeclarative-dev qt5-qtlocation-dev qt5-qtwebkit-dev + qt5-qtserialport-dev kcoreaddons-dev kwallet-dev knewstuff-dev kparts-dev plasma-framework-dev + ki18n-dev kio-dev kcrash-dev krunner-dev shared-mime-info gpsd-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +options="!check" # Broken + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_SYSCONFDIR=/etc \ + -DQT_PLUGINS_DIR=lib/qt/plugins \ + -DMOBILE=ON \ + -DBUILD_MARBLE_APPS=YES + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + #rm "$pkgdir"/usr/bin/marble-qt +} +sha512sums="e6bf16f7b26f8f1ba88448378c1d97506140f87c0d75481f9cc2435f5f7e09a55ae510475397c6ccfecd4252a618287638cb350425895ad216c1d74115f81956 marble-18.08.1.tar.xz" diff --git a/kde/okular/APKBUILD b/kde/okular/APKBUILD new file mode 100644 index 000000000..da83e0846 --- /dev/null +++ b/kde/okular/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=okular +pkgver=18.08.1 +pkgrel=0 +arch="all" +url="https://github.com/KDE/koko" +pkgdesc="KDE document viewer" +license="GPL-2.0 LGPL-2.1 GFDL-1.2" +depends="" +makedepends="extra-cmake-modules qt5-qtbase-dev kparts-dev threadweaver-dev kjs-dev kwallet-dev + kactivities-dev kpty-dev qca-qt5-dev kirigami2-dev kdoctools-dev khtml-dev libzip-dev + libpng-dev" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz + musl-fixes.patch + enable-kirigami-desktop-file.patch" +subpackages="$pkgname-doc $pkgname-lang $pkgname-mobile" +options="!check" # Requires running X11 + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_OKULARKIRIGAMI=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +mobile() { + depends="kirigami2" + mkdir -p "$subpkgdir"/usr/bin + mkdir -p "$subpkgdir"/usr/share/applications + + mv "$pkgdir"/usr/bin/okularkirigami "$subpkgdir"/usr/bin/ + mv "$pkgdir"/usr/share/applications/org.kde.okular.kirigami.desktop "$subpkgdir"/usr/share/applications/ +} + +sha512sums="4114c614c3d773de158469a201c976ad36d706a0eb00b238af49d5e5a97fb272ce6033f744101c7e26110a7ac6b9c6cda26e3fc8c9c1bde22277f3ba2c55a375 okular-18.08.1.tar.xz +41245d4e13603d82047ef8222f212d7f0ac72de4415a8c6409e537249da52a5669e1f3d64b99db376fe384b36abfa6362ccf5686a4f0558837b7b5a8f61530b9 musl-fixes.patch +63d8f3ea3515e70cc015f2deaaee9d61313177656ee56a9a5a3d3a71823fbdabd0da9a3b57c02ba8d1e8d71d2886fdf628bdb70650d14589e8de8f38c19f439f enable-kirigami-desktop-file.patch" diff --git a/kde/okular/enable-kirigami-desktop-file.patch b/kde/okular/enable-kirigami-desktop-file.patch new file mode 100644 index 000000000..0fbfd0cb9 --- /dev/null +++ b/kde/okular/enable-kirigami-desktop-file.patch @@ -0,0 +1,13 @@ +diff --git a/mobile/app/package/metadata.desktop b/mobile/app/package/metadata.desktop +index 55b6547..639cad8 100644 +--- a/mobile/app/package/metadata.desktop ++++ b/mobile/app/package/metadata.desktop +@@ -112,7 +112,7 @@ GenericName[zh_TW]=文件檢視器 + Type=Application + Exec=okularkirigami + Icon=okular +-NoDisplay=true ++NoDisplay=false + X-KDE-ParentApp= + X-KDE-PluginInfo-Author=Marco Martin + X-KDE-PluginInfo-Email=mart@kde.org diff --git a/kde/okular/musl-fixes.patch b/kde/okular/musl-fixes.patch new file mode 100644 index 000000000..fdc630e62 --- /dev/null +++ b/kde/okular/musl-fixes.patch @@ -0,0 +1,13 @@ +diff --git a/core/synctex/synctex_parser.c b/core/synctex/synctex_parser.c +index 4c1923b9a..de6c92d24 100644 +--- a/core/synctex/synctex_parser.c ++++ b/core/synctex/synctex_parser.c +@@ -8199,7 +8199,7 @@ static int _synctex_updater_print_gz(synctex_updater_p updater, const char * for + char * buffer; + va_list va; + va_start(va, format); +- if (vasprintf(&buffer, format, va) < 0) { ++ if (vsprintf(&buffer, format, va) < 0) { + _synctex_error("Out of memory..."); + } else if ((result = (int)strlen(buffer))) { + result = gzwrite(updater->file.as_gzFile, buffer, (unsigned)result); diff --git a/kde/pimcommon/APKBUILD b/kde/pimcommon/APKBUILD new file mode 100644 index 000000000..122bd23af --- /dev/null +++ b/kde/pimcommon/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=pimcommon +pkgver=18.08.1 +pkgrel=0 +pkgdesc='Common lib for KDEPim' +arch="all" +url='https://community.kde.org/KDE_PIM' +license="GPL-2.0 LGPL-2.1" +depends="" +depends_dev="qt5-qtbase-dev karchive-dev kcodecs-dev kcompletion-dev kconfigwidgets-dev kdbusaddons-dev + kiconthemes-dev kitemmodels-dev kjobwidgets-dev kio-dev knewstuff-dev akonadi-dev akonadi-contacts-dev + kimap-dev libkdepim-dev kpimtextedit-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" +options="!check" # Requires running X11 server + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="3a2eede674a8f442e18f9d3d301dbccb3686307e37d1974dc565fd27d75b6560acb1cd6150a996063794dd891c2562bf0e2ee6eb6b13c66783eba019bd93470d pimcommon-18.08.1.tar.xz" diff --git a/kde/sink/APKBUILD b/kde/sink/APKBUILD new file mode 100644 index 000000000..1c8f7f20f --- /dev/null +++ b/kde/sink/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=sink +pkgver=0.7.0 +pkgrel=0 +pkgdesc='An offline-cache, synchronizaqtion and indexing system for PIM data' +arch="all" +url='https://community.kde.org/KDE_PIM' +license="LGPL-2.0" +depends="" +depends_dev="qt5-qtbase-dev kmime-dev kcontacts-dev kasync-dev kimap2-dev kdav2-dev lmdb-dev + xapian-core-dev curl-dev readline-dev flatbuffers-dev libexecinfo-dev kcalcore-dev" +makedepends="$depends_dev extra-cmake-modules" +source="$pkgname-$pkgver.tar.gz::https://github.com/KDE/$pkgname/archive/v$pkgver.tar.gz + musl-lacks-backtrace.patch" +subpackages="$pkgname-dev" +options="!check" # Completely fail + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="591838cb9c76d89c1794b94b02bff3d67155e1f27ae32b7ac9369d15aa109130c7792f30e74b61009765e7b7cb78141bf5e3c93304d814bce22bf91059339fd0 sink-0.7.0.tar.gz +fe852fcb78dc055dd819f54dd34dc5c2e32dbdb4b74051420a90362409f2b6059ba236acf9a8e84d01180482f7985a641d59bfd094b8151c526f8453cfb8e6e1 musl-lacks-backtrace.patch" diff --git a/kde/sink/musl-lacks-backtrace.patch b/kde/sink/musl-lacks-backtrace.patch new file mode 100644 index 000000000..0e8b44a5c --- /dev/null +++ b/kde/sink/musl-lacks-backtrace.patch @@ -0,0 +1,20 @@ +diff --git a/synchronizer/main.cpp b/synchronizer/main.cpp +index f1709bc..5595929 100644 +--- a/synchronizer/main.cpp ++++ b/synchronizer/main.cpp +@@ -55,6 +55,7 @@ static Listener *listener = nullptr; + void printStacktrace() + { + #ifndef Q_OS_WIN ++#if defined(__GNU_LIBRARY__) + int skip = 1; + void *callstack[128]; + const int nMaxFrames = sizeof(callstack) / sizeof(callstack[0]); +@@ -90,6 +91,7 @@ void printStacktrace() + } + std::cerr << trace_buf.str(); + #endif ++#endif + } + + static int sCounter = 0; diff --git a/main/grantlee/APKBUILD b/main/grantlee/APKBUILD new file mode 100644 index 000000000..1a456fc04 --- /dev/null +++ b/main/grantlee/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Bart Ribbers +pkgname=grantlee +pkgver=5.1.0 +pkgrel=0 +pkgdesc="A string template engine based on the Django template system and written in Qt5" +arch="all" +url="https://www.gitorious.org/grantlee/pages/Home" +license=LGPL-3.0 +depends="" +depends_dev="qt5-qtbase-dev qt5-qtscript-dev graphviz-dev" +makedepends="$depends_dev cmake doxygen" +source="http://downloads.grantlee.org/$pkgname-$pkgver.tar.gz" +subpackages="$pkgname-dev" # $pkgname-doc, didn't manage to install them properly yet +options="!check" # Requires running X11 server + +build() { + cd "$builddir" + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTS=ON + make + # TODO: make the docs actually install + make docs +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="2b806a0770b9c6d02f207d5b4939ae8cae325de4fa01901320ffef5c8442ef0f1c10dd799966d0bf0d223e6541f93db8568aaf922ea1b334bcb2f85f6373a936 grantlee-5.1.0.tar.gz" diff --git a/main/index/APKBUILD b/main/index/APKBUILD new file mode 100644 index 000000000..c1ab54201 --- /dev/null +++ b/main/index/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=index +pkgver=0_git20180903 +pkgrel=0 +_commit="113d6e0ba138d31c746421271b927efed8a7b25e" +pkgdesc="Index file manager based on MauiKit" +arch="all" +url="https://github.com/maui-project/index" +license="unknown" +depends="mauikit" +makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev mauikit-dev kservice-dev knotifications-dev ki18n-dev kio-dev" +source="$pkgname-$_commit.tar.gz::https://github.com/maui-project/$pkgname/archive/$_commit.tar.gz" +options="!check" # No tests available +builddir="$srcdir/$pkgname-$_commit" + +build() { + qmake-qt5 + make +} + +package() { + cd "$builddir" + make INSTALL_ROOT="$pkgdir" install +} +sha512sums="b46e93013c62ff9cc2e520e46012ae3a21823b3e2dadeddc2afc07d9c537de0be9a4823047dd203a3a344bd6e4ecf9e26d9a0813020effe759ef5ba8a2c37c4a index-113d6e0ba138d31c746421271b927efed8a7b25e.tar.gz" diff --git a/main/mauikit/APKBUILD b/main/mauikit/APKBUILD new file mode 100644 index 000000000..41b262e0d --- /dev/null +++ b/main/mauikit/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=mauikit +pkgver=0_git20180903 +pkgrel=0 +_commit="e05cd66bed119df7ea9331194728c5c76b081804" +pkgdesc="Kit for developing MAUI Apps" +arch="all" +url="https://github.com/maui-project/mauikit" +license="unknown" +depends="" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev ki18n-dev + knotifications-dev kconfig-dev kservice-dev kio-dev" +makedepends="$depends_dev extra-cmake-modules" +source="$pkgname-$_commit.tar.gz::https://github.com/maui-project/$pkgname/archive/$_commit.tar.gz" +subpackages="$pkgname-dev" +builddir="$srcdir/$pkgname-$_commit" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DKDE_INSTALL_LIBEXECDIR=lib + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="766ff1b51f15c34ad22c3a6bcf39f80c71acebd02764ec06a09c5519d7beaa1e1974885c6424f28529e45af9076678e79e3a05b19256c4fb69c392f5f1651771 mauikit-e05cd66bed119df7ea9331194728c5c76b081804.tar.gz" diff --git a/main/pix/APKBUILD b/main/pix/APKBUILD new file mode 100644 index 000000000..9beb13e70 --- /dev/null +++ b/main/pix/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=pix +pkgver=0_git20180903 +pkgrel=0 +_commit="d242bf6304a562abd17bf5f75b65d962e0f67622" +pkgdesc="Image gallery manager built with MauiKit" +arch="all" +url="https://github.com/maui-project/vvave" +license="GPL-3.0" +depends="mauikit" +makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev mauikit-dev kservice-dev knotifications-dev ki18n-dev kio-dev" +source="$pkgname-$_commit.tar.gz::https://github.com/maui-project/$pkgname/archive/$_commit.tar.gz" +options="!check" # No tests available +builddir="$srcdir/$pkgname-$_commit" + +build() { + qmake-qt5 + make +} + +package() { + cd "$builddir" + make INSTALL_ROOT="$pkgdir" install +} +sha512sums="beee43d5b2f890b4f8817e2573490acf8d54fe7e2157a13fb51e47e21c92b0f3349f6f0b3e4dee38053ed069b9cba0a6a60059eae7b492b59f1ebea9716c1906 pix-d242bf6304a562abd17bf5f75b65d962e0f67622.tar.gz" diff --git a/main/postmarketos-ui-plasma-mobile/APKBUILD b/main/postmarketos-ui-plasma-mobile/APKBUILD index 451f9eab5..c868f9f31 100644 --- a/main/postmarketos-ui-plasma-mobile/APKBUILD +++ b/main/postmarketos-ui-plasma-mobile/APKBUILD @@ -10,7 +10,7 @@ depends="plasma-phone-components dbus dbus-x11 qmltermwidget plasma-settings breeze-icons postmarketos-demos kscreen qt5-qtvirtualkeyboard plasma-camera elisa pulseaudio pulseaudio-utils consolekit2 powerdevil polkit-kde-agent kwayland-integration postmarketos-artwork-wallpapers - plasma-angelfish" + plasma-angelfish okular vvave pix index" makedepends="" install="$pkgname.post-install" subpackages="" diff --git a/main/vvave/APKBUILD b/main/vvave/APKBUILD new file mode 100644 index 000000000..7e5a2b4fd --- /dev/null +++ b/main/vvave/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=vvave +pkgver=0_git20180903 +pkgrel=0 +_commit="52578925b1b04c1bb7b3714e9d27662b440d81f9" +pkgdesc="VVAVE Music Player" +arch="all" +url="https://github.com/maui-project/vvave" +license="GPL-3.0" +depends="mauikit" +makedepends="extra-cmake-modules mauikit-dev qt5-qtwebsockets-dev qt5-qtmultimedia-dev qt5-qtwebengine-dev taglib-dev" +source="$pkgname-$_commit.tar.gz::https://github.com/maui-project/$pkgname/archive/$_commit.tar.gz" +builddir="$srcdir/$pkgname-$_commit" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DKDE_INSTALL_LIBEXECDIR=lib + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} +sha512sums="62b43c6481970780963cac09e977bccce04d14dd5559726dd8b1de4db279ecc30600a8854d8ea04648cb9a1675abea968381533b1afe3e228032d49daf1c5937 vvave-52578925b1b04c1bb7b3714e9d27662b440d81f9.tar.gz" diff --git a/temp/gpgme/APKBUILD b/temp/gpgme/APKBUILD new file mode 100644 index 000000000..c6c5e4efb --- /dev/null +++ b/temp/gpgme/APKBUILD @@ -0,0 +1,59 @@ +# Contributor: William Pitcock +# Maintainer: Natanael Copa +pkgname=gpgme +pkgver=1.10.0 +pkgrel=1 +pkgdesc="gnupg made easy" +url="http://www.gnupg.org/related_software/gpgme/" +arch="all" +license="GPL" +depends="gnupg" +depends_dev="libgpg-error-dev libassuan-dev qt5-qtbase-dev" +makedepends="$depends_dev" +subpackages="$pkgname-dev $pkgname-doc gpgmepp qgpgme" +source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2 + fix-bashism.patch" +builddir="$srcdir"/gpgme-$pkgver +options="!check" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + cd lang/qt + make DESTDIR="$pkgdir" install +} + +check() { + cd "$builddir" + make check +} + +gpgmepp() { + pkgdesc="C++ bindings for GPGME" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libgpgmepp.so.* "$subpkgdir"/usr/lib/ +} + +qgpgme() { + pkgdesc="Qt bindings for GPGME" + + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libqgpgme.so* "$subpkgdir"/usr/lib/ +} + + +sha512sums="8ffa348ef4775ed3209486444d54411e28c9a0ff1d7a4315feb0b2856ccd5d110b219100ea41262ca0016af69a1936d79fee0eadf2599c7c5bbeed05d11f7ab5 gpgme-1.10.0.tar.bz2 +6d83139277026d280fa08827623196c90c6158ecb9a39b58f58f3b4211d8d1e9694aa255eb71a08e40028776f6cc9df9b8f6a71d918065479504de14619a11bd fix-bashism.patch" diff --git a/temp/gpgme/fix-bashism.patch b/temp/gpgme/fix-bashism.patch new file mode 100644 index 000000000..19508c96e --- /dev/null +++ b/temp/gpgme/fix-bashism.patch @@ -0,0 +1,10 @@ +diff --git a/tests/gpg/pinentry b/tests/gpg/pinentry +index 3b99726..b12caae 100755 +--- a/tests/gpg/pinentry ++++ b/tests/gpg/pinentry +@@ -1,4 +1,4 @@ +-#! /bin/bash ++#! /bin/sh + # Dummy pinentry + # + # Copyright 2008 g10 Code GmbH diff --git a/temp/readline/APKBUILD b/temp/readline/APKBUILD new file mode 100644 index 000000000..7721a5da2 --- /dev/null +++ b/temp/readline/APKBUILD @@ -0,0 +1,71 @@ +# Maintainer: Natanael Copa +pkgname=readline +pkgver=7.0.003 +pkgrel=1 +_myver=${pkgver%.*} +pkgdesc="GNU readline library" +url="https://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" +arch="all" +options="!check" +license="GPL" +depends= +makedepends_host="ncurses-dev" +subpackages="$pkgname-dev $pkgname-doc libhistory" +source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$_myver.tar.gz + fix-ncurses-underlinking.patch + " + +for _patch in $(seq -w 001 ${pkgver##*.}); do + _name=$pkgname${_myver//./}-$_patch + source="$source $_name.diff::http://ftp.gnu.org/gnu/$pkgname/$pkgname-$_myver-patches/$_name" +done + +builddir="$srcdir/$pkgname-$_myver" + +prepare() { + local i + cd "$builddir" + for i in $source; do + case ${i%::*} in + *.diff) msg ${i#*::}; patch -p0 -i "$srcdir"/${i%::*} || return 1;; + esac + done + default_prepare || return 1 + update_config_sub +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-static \ + --enable-shared \ + || return 1 + make || return 1 +} + +package() { + make -C "$builddir" DESTDIR="$pkgdir" install || return 1 + # verfy that its not underlinked as upstream designed it + if ! readelf -d "$pkgdir"/usr/lib/libreadline.so | grep 'NEEDED.*ncurses'; then + error "readline needs to be linked against ncurses" + return 1 + fi + rmdir "$pkgdir"/usr/bin +} + +libhistory() { + pkgdesc="GNU History Library" + mkdir -p "$subpkgdir"/usr/lib || return 1 + mv "$pkgdir"/usr/lib/$subpkgname.* "$subpkgdir"/usr/lib || return 1 +} + +sha512sums="18243189d39bf0d4c8a76cddcce75243c1bae8824c686e9b6ba352667607e5b10c5feb79372a1093c1c388d821841670702e940df12eae94bcebdeed90047870 readline-7.0.tar.gz +325dcf74e9f463a74fb116cb6f3ff8d9708dbec24b423a778eeda3a5ac4fe6df131e0e99d034053ad356b01502894ecc8facc09160d4c29b2291bd95cff6b635 fix-ncurses-underlinking.patch +4402186905af8cd42c609d640c2e13b9ad61c7778e5a3fd2c2d9da301f0deab05b04d7836f31527262f44f406517823dbb18cb07f2c73931186c806b494699ec readline70-001.diff +13d1489578508d4d2c3a1618024198a709dbce74a6bbf0f6d7ec67d2419c55bfec9f0ca9de0ed93f129d21d5c3a94307ccdc49408455bbb301c5e3a772b03185 readline70-002.diff +eaf962a1480eb3870519017b81ecc5cef171e4c41fcf8c17da61ccbfd0379ed6bca85c17b03e2207ae4d51509f33fd010294c75f4bd0433a52118015d4160385 readline70-003.diff" diff --git a/temp/readline/fix-ncurses-underlinking.patch b/temp/readline/fix-ncurses-underlinking.patch new file mode 100644 index 000000000..2c3c823d3 --- /dev/null +++ b/temp/readline/fix-ncurses-underlinking.patch @@ -0,0 +1,11 @@ +--- ./shlib/Makefile.in.orig ++++ ./shlib/Makefile.in +@@ -86,7 +86,7 @@ + SHOBJ_LIBS = @SHOBJ_LIBS@ + + SHLIB_XLDFLAGS = @LDFLAGS@ @SHLIB_XLDFLAGS@ +-SHLIB_LIBS = @SHLIB_LIBS@ ++SHLIB_LIBS = @SHLIB_LIBS@ -lncursesw + + SHLIB_DOT = @SHLIB_DOT@ + SHLIB_LIBPREF = @SHLIB_LIBPREF@