From 007e8b7c709b13fb5b4b806f0c00a3fe3e97f84d Mon Sep 17 00:00:00 2001 From: newbluemoon Date: Mon, 12 Mar 2018 09:56:38 +0100 Subject: [PATCH] New package: zita-alsa-pcmi-0.2.0 --- common/shlibs | 1 + srcpkgs/zita-alsa-pcmi-devel | 1 + srcpkgs/zita-alsa-pcmi/template | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 120000 srcpkgs/zita-alsa-pcmi-devel create mode 100644 srcpkgs/zita-alsa-pcmi/template diff --git a/common/shlibs b/common/shlibs index dde16a73c9..60a754eec3 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2198,6 +2198,7 @@ libqtelegram-ae.so.1 libqtelegram-ae-5.0_1 libtelegramqml.so.1 TelegramQML-0.8.0_1 libglog.so.0 glog-0.3.4_1 libzita-convolver.so.3 zita-convolver-3.1.0_1 +libzita-alsa-pcmi.so.0 zita-alsa-pcmi-0.2.0_1 libpugixml.so.1 pugixml-1.6_1 libnewt.so.0.52 newt-0.52.18_1 libgeany.so.0 geany-1.25_1 diff --git a/srcpkgs/zita-alsa-pcmi-devel b/srcpkgs/zita-alsa-pcmi-devel new file mode 120000 index 0000000000..947cf3b97a --- /dev/null +++ b/srcpkgs/zita-alsa-pcmi-devel @@ -0,0 +1 @@ +zita-alsa-pcmi \ No newline at end of file diff --git a/srcpkgs/zita-alsa-pcmi/template b/srcpkgs/zita-alsa-pcmi/template new file mode 100644 index 0000000000..0f115e6d81 --- /dev/null +++ b/srcpkgs/zita-alsa-pcmi/template @@ -0,0 +1,32 @@ +# Template file for 'zita-alsa-pcmi' +pkgname=zita-alsa-pcmi +version=0.2.0 +revision=1 +build_wrksrc="libs" +build_style=gnu-makefile +make_install_args="LIBDIR=lib" +makedepends="alsa-lib-devel" +short_desc="Easy access to ALSA PCM devices" +maintainer="newbluemoon " +license="GPL-3" +homepage="https://kokkinizita.linuxaudio.org/linuxaudio/" +distfiles="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${version}.tar.bz2" +checksum=491eaf9da24fb20b94723f8e75e2ea3a667fc53555b54d2acd390bf4c418fbe5 + +pre_build() { + sed -i -e "s/g++/$CXX/" Makefile +} + +post_install() { + # add missing symlink + ln -s libzita-alsa-pcmi.so.${version} ${PKGDESTDIR}/usr/lib/libzita-alsa-pcmi.so.${version%%.*} +} + +zita-alsa-pcmi-devel_package() { + depends="${sourcepkg}-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + } +}