diff options
author | k0r10n <k0r10n.dev@gmail.com> | 2014-12-06 12:21:41 +0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-08 15:56:30 +0000 |
commit | ab44213f3767fb46ffb6af0901f4aec228bdc0b0 (patch) | |
tree | da25b4cd7fd2640a03d8e2b6dab242275e73283c /testing/kmix | |
parent | b8d19c15bccd04f036664c8c466130e10b58358f (diff) | |
download | aports-ab44213f3767fb46ffb6af0901f4aec228bdc0b0.tar.bz2 aports-ab44213f3767fb46ffb6af0901f4aec228bdc0b0.tar.xz |
testing/kmix: New aport
Diffstat (limited to 'testing/kmix')
-rw-r--r-- | testing/kmix/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/kmix/APKBUILD b/testing/kmix/APKBUILD new file mode 100644 index 0000000000..a725c643c9 --- /dev/null +++ b/testing/kmix/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: k0r10n <k0r10n.dev@gmail.com> +# Maintainer: +pkgname=kmix +pkgver=4.13.3 +pkgrel=0 +pkgdesc="Mixer for KDE" +url="http://kde.org/applications/multimedia/kmix/" +arch="all" +license="GPL" +depends="" +depends_dev="kdelibs-dev libcanberra-dev" +makedepends="$depends_dev cmake automoc4" +install="" +subpackages="$pkgname-doc" +source="http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" + +_builddir="$srcdir"/${pkgname}-${pkgver} +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + mkdir "$_builddir"/build || return 1 +} + +build() { + cd "$_builddir"/build + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -Wno-dev \ + "$_builddir" || return 1 + make || return 1 +} + +package() { + cd "$_builddir"/build + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="9df8965b7a514a679863a5a7917e40ec kmix-4.13.3.tar.xz" +sha256sums="38dfca73cc303e9448eea046f20e04e59ae97e1d7f8b71b41f9f049b1dee232f kmix-4.13.3.tar.xz" +sha512sums="3e19853f8cf6c95bb33aa5b572b212fbbc3d19a4f66376ffafc653d452dd8934d34253e986a28f5608d3a85477652df18c72a524c2565a38ce1fc69b0fff2a7d kmix-4.13.3.tar.xz" |