Package Details: lib32-aom 3.1.2-1

Git Clone URL: https://aur.archlinux.org/lib32-aom.git (read-only, click to copy)
Package Base: lib32-aom
Description: Alliance for Open Media video codec (32-bit)
Upstream URL: https://aomedia.org/
Licenses: BSD, custom:PATENTS
Submitter: rodrigo21
Maintainer: rodrigo21
Last Packager: rodrigo21
Votes: 8
Popularity: 0.80
First Submitted: 2018-08-19 08:13
Last Updated: 2021-09-01 13:15

Latest Comments

brektrou commented on 2021-09-01 09:55

New version 3.1.2

PKGBUILD

pkgname=lib32-aom
pkgver=3.1.2
pkgrel=1
pkgdesc="Alliance for Open Media video codec (32-bit)"
url="https://aomedia.org/"
arch=(x86_64)
license=(BSD custom:PATENTS)
depends=(lib32-glibc aom)
makedepends=(cmake git ninja yasm)
source=("https://aomedia.googlesource.com/aom/+archive/ae2be8030200925895fa6e98bd274ffdb595cbf6.tar.gz")
b2sums=('SKIP')

build() {
    export CC='gcc -m32'
    export CXX='g++ -m32'
    export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'

    cd build
    cmake -S ../ -G Ninja \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_INSTALL_LIBDIR=lib32 \
        -DBUILD_SHARED_LIBS=1 \
        -DENABLE_TESTS=0 \
        -DENABLE_DOCS=0

    cmake --build $srcdir/build
}

package() {
    DESTDIR="${pkgdir}" cmake --install $srcdir/build

    install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $srcdir/{LICENSE,PATENTS}

    cd "$pkgdir/usr"

    rm -r bin include
}

.SRCINFO

pkgbase = lib32-aom
    pkgdesc = Alliance for Open Media video codec (32-bit)
    pkgver = 3.1.2
    pkgrel = 1
    url = https://aomedia.org/
    arch = x86_64
    license = BSD
    license = custom:PATENTS
    makedepends = cmake
    makedepends = git
    makedepends = ninja
    makedepends = yasm
    depends = lib32-glibc
    depends = aom
    source = https://aomedia.googlesource.com/aom/+archive/ae2be8030200925895fa6e98bd274ffdb595cbf6.tar.gz
    b2sums = SKIP

pkgname = lib32-aom

Posich commented on 2019-10-08 15:05

Build depends on lib32-gcc-libs. Wouldn't compile using aurutils without adding it to makedepends.