pmaports/hybris/pulsecore-private-headers/APKBUILD
Minecrell a85db1dc7b
*: remove "Contributor:" lines from APKBUILDs (MR 1203)
At the moment we have Contributor: lines on some packages (but not all of them),
but often they don't represent the actual contributors to the package very well.
E.g. when we added them retroactively to the device packages we only added
the initial contributor (which isn't necessarily the person
who made most of the work for a device...)

The Git history is the most representative source for figuring out
who contributed to a package, so there is no reason to duplicate that
into the APKBUILD.

[skip ci]: way too many packages
2020-05-02 21:45:25 +03:00

34 lines
1.4 KiB
Text

# Maintainer: Alexey Min <alexey.min@gmail.com>
pkgname=pulsecore-private-headers
pkgver=13.0
pkgrel=0
pkgdesc="PulseAudio internal development library (headers and pkg-config)"
url="http://www.freedesktop.org/wiki/Software/PulseAudio"
arch="all !x86 !x86_64"
license="LGPL-2.1-or-later"
depends="pulseaudio-dev libpulse pkgconfig"
options="!check" # No test suite available
source="
https://freedesktop.org/software/pulseaudio/releases/pulseaudio-$pkgver.tar.xz
pulsecore.pc
0001-core-util-add-socket-h.patch
"
builddir="$srcdir/pulseaudio-$pkgver"
build() {
sed -i "s/@PA_MAJORMINOR@/$pkgver/" "$srcdir"/pulsecore.pc
}
package() {
install -Dm644 "$srcdir"/pulsecore.pc "$pkgdir"/usr/lib/pkgconfig/pulsecore.pc
mkdir -p "$pkgdir"/usr/include/pulsecore
mkdir -p "$pkgdir"/usr/include/pulsecore/filter
cp -r "$builddir"/src/pulsecore/*.h "$pkgdir"/usr/include/pulsecore/
cp -r "$builddir"/src/pulsecore/filter/*.h "$pkgdir"/usr/include/pulsecore/filter/
}
sha512sums="d445b8ccd43029a0ca0e456fc9291a79d3434d6496ead7eb329ab348d5249235e8bde6cf2be68765d8f761452dbe1486fb10c739e40b1e67ed75787bbd24ac0c pulseaudio-13.0.tar.xz
e419ceab4779e061fb0378fc4ce0d24e2a738610b5d837866c47e9fd8044c206bb32485f7aaf0df336c2944d67b856fdee95ea6ca9e7c12954d15ae521adad66 pulsecore.pc
4e24295e5e03d3f89f5197657e7946c56e9d776c1b64306d2798075df322700ca1f89a19f1fa9ab7f379b1b33196eb316dc17a20efdc5b0e41ff47c41b567e34 0001-core-util-add-socket-h.patch"