apulse-32: 0.1.12 -> 0.1.13

This commit is contained in:
Danny Rawlins 2020-05-13 20:02:25 +10:00
parent ef3881b306
commit 1193c1dfcd
2 changed files with 9 additions and 14 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/compat-32.pub
RWSwxGo/zH7eXdOBChgGx1mTSMZ1AHggpQy75+nEC597IOtodPMBx7SA2J5eDGNW9XZM/hY1OJnu0MNv6BA1t6fI+yASbzbuJwE=
SHA256 (Pkgfile) = b105459aa99f9559c081cf8339c0f3c017a8949d9057456752cea2b0f6f57408
RWSwxGo/zH7eXRCbdIkEZUBzkpB6ZtuZSaqm1TYbIJ5tKODQxzANcyiw5tab+2H3fJOWUvo2lUuA5u3q2DI+VdpZFDUz0fmYIAc=
SHA256 (Pkgfile) = b7cb284fc1e296f73558d0e22e6eb4087002707e2192cf99785571de1a8cf53e
SHA256 (.footprint) = def64e348dd6672d4c02c36052ba525782a0f7fb58c63ee8da287e07b3e7f4a5
SHA256 (v0.1.12.tar.gz) = cfcadfe971abd785ed3ca24e576fcbaade185525c1eda76daf32dbf298e52892
SHA256 (apulse-v0.1.13.tar.gz) = 9234ec4e10e408b9c01d5f4ea768ad1fc15494217c932db2c435202a9c7b5efd

View File

@ -4,24 +4,19 @@
# Depends on: alsa-lib-32 cmake glib-32
name=apulse-32
version=0.1.12
version=0.1.13
release=1
source=(https://github.com/i-rinat/apulse/archive/v${version}.tar.gz)
source=(https://github.com/i-rinat/apulse/archive/v$version/${name%-*}-v$version.tar.gz)
build() {
cd apulse-$version
sed -i -e '/^set(APULSEPATH /s|lib|&32|' ${name%-*}-$version/CMakeLists.txt
sed -i -e '/^set(APULSEPATH /s|lib|&32|' CMakeLists.txt
mkdir build
cd build
cmake .. \
cmake -S${name%-*}-$version -Bbuild -GNinja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
make DESTDIR=$PKG install
cmake --build build
DESTDIR=$PKG cmake --build build --target install
mv $PKG/usr/bin/apulse $PKG/usr/bin/apulse-32