X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by lists.alpinelinux.org (Postfix) with ESMTP id AFD7F5C0297 for ; Wed, 19 Apr 2017 09:25:01 +0000 (GMT) Received: by mail-wm0-f67.google.com with SMTP id z129so3848000wmb.1 for ; Wed, 19 Apr 2017 02:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=WZRzh16iO8piilt3G54Oc+weRR2C7vvn6wEpW91aar4=; b=oNHgBHQv43wxtygQIIE+5xBmcQvpa+wn2g7bbYaA84Cloh9Yi7Vw11SMhsx7Pzc2nW pEzL5HDgyzvUj+BYUtD2tFw2cFKvtftf6cbhf3VQ97NRL1y8RLNbsXk4O+DHdUwWztnv kSnBnG9dNqlYT6CKlFJpBMKjIb56Xm4gNZDE0dDGQQK/l+sa1uI82LZRvCvM9GDbrVw+ Ewxy2+vs6+w41o39iIZJ+cSEL1ciri2V4v5/wHaQq/jb+hp4zzOnb1QQOACVSSFbQK7H 5qiHTnLqzRGrJqShVTz5A8GitD57lAnREKCPrBQV9A+mF3pPByoXsX8AdbkNQ4hDvFDv Xwqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=WZRzh16iO8piilt3G54Oc+weRR2C7vvn6wEpW91aar4=; b=Pdn3Pu0/QaGv4F86YNfajMVBRuHu4aVdf+Tmbf/tl7Z4e0DygivKFSOCP0WFIRXn/s 08hchA9x9NombJVjvOEPKNKXDRiUzhEsWuHK6N0CnYiuq1djE1u3clRUs37tzO8lO6Im 40wFFR+g3bciwyKyaabCngpKCtErv6puxG5gBtZnPNfq9BVPDKZ0uO8gyqUHTbuQq3Q2 fCiU+PclanGbOEzqzMscVUbAMmqgwO+z07tWvfO2Ds6l4WDjZJWYJVSiaaUVulpG//SF Hcuy7EclQSCw8sBafixZWZF4RZo7ZYqwkxyaJQPxUP3tjXjF/lK3p0qKVUV4udwHaWob 5/Ow== X-Gm-Message-State: AN3rC/4jWjUW7/UraLSxJnNd9/twQwRouGEHh37trayhxv/QQ8C1/V8U 2YiN6AABJDFDsA== X-Received: by 10.28.22.78 with SMTP id 75mr2063863wmw.85.1492593900979; Wed, 19 Apr 2017 02:25:00 -0700 (PDT) Received: from localhost.localdomain ([31.223.29.15]) by smtp.gmail.com with ESMTPSA id 133sm2967928wms.22.2017.04.19.02.24.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Apr 2017 02:25:00 -0700 (PDT) From: Taner Tas To: alpine-aports@lists.alpinelinux.org Cc: Taner Tas Subject: [alpine-aports] [PATCH] testing/alsa-plugins: new aport Date: Wed, 19 Apr 2017 09:24:32 +0000 Message-Id: <20170419092432.32118-1-taner76@gmail.com> X-Mailer: git-send-email 2.12.2 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: http://www.alsa-project.org Alsa Plugins --- testing/alsa-plugins/APKBUILD | 55 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 testing/alsa-plugins/APKBUILD diff --git a/testing/alsa-plugins/APKBUILD b/testing/alsa-plugins/APKBUILD new file mode 100644 index 00000000..c6b764db --- /dev/null +++ b/testing/alsa-plugins/APKBUILD @@ -0,0 +1,55 @@ +# Maintainer: Taner Tas +pkgname=alsa-plugins +pkgver=1.1.1 +pkgrel=0 +pkgdesc="Alsa Plugins" +url="http://www.alsa-project.org" +arch="all" +license="GPL" +makedepends="linux-headers alsa-lib-dev speex-dev ffmpeg-dev libsamplerate-dev pulseaudio-dev" +subpackages="$pkgname-lavcrate $pkgname-pulse" +source="ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$pkgver.tar.bz2" + +prepare() { + update_config_sub +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check(){ + cd "$builddir" + make check +} + +lavcrate() { + pkgdesc="FFmpeg samplerate conversion plugins for alsa" + depends="alsa-lib ffmpeg-libs" + mkdir -p "$subpkgdir"/usr/lib/alsa-lib/ + mv "$pkgdir"/usr/lib/alsa-lib/*lavcrate* "$subpkgdir"/usr/lib/alsa-lib/ +} + +pulse() { + pkgdesc="Pulseaudio support plugins for alsa-only applications" + depends="alsa-lib pulseaudio-libs" + mkdir -p "$subpkgdir"/usr/lib/alsa-lib/ + mv "$pkgdir"/usr/lib/alsa-lib/*pulse.so "$subpkgdir"/usr/lib/alsa-lib/ + mv "$pkgdir"/usr/share "$subpkgdir"/usr/ +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find $pkgdir -name *.la -type f -exec rm -f {} \; +} + +sha512sums="9dd277cb5cce144ce4e5e0010cebcba0f8634c783e7bcd80ce6d04b198d6de5150a2764df3087a39a468b5fb7c4578de2e252095568e811dedaa5e7ffdbeb7c9 alsa-plugins-1.1.1.tar.bz2" -- 2.12.2 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---