From d91a284530302883e3e63235b77a660171e6a745 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 27 Aug 2018 19:25:02 +0000 Subject: experimental: bunch of crap from x86_64 builder that needs worked on --- experimental/k3b/APKBUILD | 48 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 experimental/k3b/APKBUILD (limited to 'experimental/k3b/APKBUILD') diff --git a/experimental/k3b/APKBUILD b/experimental/k3b/APKBUILD new file mode 100644 index 000000000..b9d5373ab --- /dev/null +++ b/experimental/k3b/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=k3b +pkgver=17.12.2 +pkgrel=0 +pkgdesc="CD and DVD burner and copier" +url="https://userbase.kde.org/K3b" +arch="all" +license="GPL-2.0-only" +depends="shared-mime-info" +makedepends="cmake extra-cmake-modules qt5-qtbase-dev karchive-dev kconfig-dev + kcoreaddons-dev kdoctools-dev kfilemetadata-dev ki18n-dev kio-dev + kiconthemes-dev kjobwidgets-dev kcmutils-dev knotifications-dev + knewstuff-dev knotifyconfig-dev kservice-dev solid-dev kxmlgui-dev + kwidgetsaddons-dev qt5-qtwebkit-dev taglib-dev flac-dev ffmpeg-dev + libdvdread-dev libsndfile-dev lame-dev libogg-dev libsamplerate-dev + libmad-dev libkcddb-dev" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://download.kde.org/stable/applications/$pkgver/src/k3b-$pkgver.tar.xz" + +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="2e1de62fab8e1e702b9a7c3431e44c2809376a329ba9236e056336d26c885b37e956059375d5f26f1b5c94093ccca80524d497a4b0328f277204293461b249de k3b-17.12.2.tar.xz" -- cgit v1.2.3-70-g09d2