Date: Wednesday, February 23, 2022 @ 03:12:22 Author: heftig Revision: 1136218
archrelease: copy trunk to multilib-x86_64 Added: lib32-flac/repos/multilib-x86_64/PKGBUILD (from rev 1136217, lib32-flac/trunk/PKGBUILD) Deleted: lib32-flac/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 99 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-23 03:12:14 UTC (rev 1136217) +++ PKGBUILD 2022-02-23 03:12:22 UTC (rev 1136218) @@ -1,49 +0,0 @@ -# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> -# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Eric Bélanger <e...@archlinux.org> - -pkgname=lib32-flac -pkgver=1.3.4 -pkgrel=1 -pkgdesc='Free Lossless Audio Codec (32-bit)' -url='https://xiph.org/flac/' -arch=('x86_64') -license=('BSD' 'GPL') -depends=('lib32-gcc-libs' 'lib32-libogg' 'flac') -makedepends=('nasm' 'cmake' 'ninja') -source=(https://downloads.xiph.org/releases/flac/flac-${pkgver}.tar.xz) -sha512sums=('4a626e8a1bd126e234c0e5061e3b46f3a27c2065fdfa228fd8cf00d3c7fa2c05fafb5cec36acce7bfce4914bfd7db0b2a27ee15decf2d8c4caad630f62d44ec9') - -prepare() { - cd flac-${pkgver} -} - -build() { - export CC="gcc -m32" - export CXX="g++ -m32" - export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - - cmake -S flac-${pkgver} -B build -G Ninja \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib32 \ - -DBUILD_SHARED_LIBS=ON \ - -DWITH_STACK_PROTECTOR=OFF - cmake --build build -} - -check() { - FLAC__TEST_LEVEL=0 cmake --build build --target test -} - -package() { - provides=('libFLAC.so' 'libFLAC++.so') - - DESTDIR="${pkgdir}" cmake --install build - - rm -r "${pkgdir}"/usr/{bin,include,share} - - install -Dm 644 flac-${pkgver}/COPYING.Xiph -t "${pkgdir}/usr/share/licenses/${pkgname}" -} - -# vim:set sw=2 et: Copied: lib32-flac/repos/multilib-x86_64/PKGBUILD (from rev 1136217, lib32-flac/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-23 03:12:22 UTC (rev 1136218) @@ -0,0 +1,50 @@ +# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> +# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Eric Bélanger <e...@archlinux.org> + +pkgname=lib32-flac +pkgver=1.3.4 +pkgrel=2 +pkgdesc='Free Lossless Audio Codec (32-bit)' +url='https://xiph.org/flac/' +arch=('x86_64') +license=('BSD' 'GPL') +depends=('lib32-gcc-libs' 'lib32-libogg' 'flac') +makedepends=('nasm' 'cmake' 'ninja') +source=(https://downloads.xiph.org/releases/flac/flac-${pkgver}.tar.xz) +sha512sums=('4a626e8a1bd126e234c0e5061e3b46f3a27c2065fdfa228fd8cf00d3c7fa2c05fafb5cec36acce7bfce4914bfd7db0b2a27ee15decf2d8c4caad630f62d44ec9') + +prepare() { + cd flac-${pkgver} +} + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cmake -S flac-${pkgver} -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib32 \ + -DBUILD_SHARED_LIBS=ON \ + -DWITH_STACK_PROTECTOR=OFF \ + -DNDEBUG=ON + cmake --build build +} + +check() { + FLAC__TEST_LEVEL=0 cmake --build build --target test +} + +package() { + provides=('libFLAC.so' 'libFLAC++.so') + + DESTDIR="${pkgdir}" cmake --install build + + rm -r "${pkgdir}"/usr/{bin,include,share} + + install -Dm 644 flac-${pkgver}/COPYING.Xiph -t "${pkgdir}/usr/share/licenses/${pkgname}" +} + +# vim:set sw=2 et: