Package Details: lib32-libfdk-aac 2.0.2-1

Git Clone URL: https://aur.archlinux.org/lib32-libfdk-aac.git (read-only, click to copy)
Package Base: lib32-libfdk-aac
Description: Fraunhofer FDK AAC codec library (32-bit)
Upstream URL: https://sourceforge.net/projects/opencore-amr/
Licenses: custom
Submitter: SwooshyCueb
Maintainer: rodrigo21
Last Packager: rodrigo21
Votes: 6
Popularity: 0.000000
First Submitted: 2016-08-20 11:35 (UTC)
Last Updated: 2021-05-05 13:21 (UTC)

Latest Comments

fbrennan commented on 2023-06-01 02:36 (UTC) (edited on 2023-06-01 02:37 (UTC) by fbrennan)

Does not build with gcc.

Please apply this:

diff --git a/.SRCINFO b/.SRCINFO
index 846ad1d..0a70569 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
 pkgbase = lib32-libfdk-aac
    pkgdesc = Fraunhofer FDK AAC codec library (32-bit)
    pkgver = 2.0.2
-   pkgrel = 1
+   pkgrel = 2
    url = https://sourceforge.net/projects/opencore-amr/
    arch = x86_64
    license = custom
    makedepends = git
+   makedepends = clang
    depends = lib32-glibc
    depends = libfdk-aac
    source = git+https://github.com/mstorsjo/fdk-aac.git#tag=8003a054c81c45c10fe70a832f02c6985383608f
    sha256sums = SKIP

 pkgname = lib32-libfdk-aac
-
diff --git a/PKGBUILD b/PKGBUILD
index 4a3316c..2a78ed3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,16 +3,17 @@
 # Contributor: Maxime Gauduin <alucryd@archlinux.org>
 # Contributor: PelPix <kylebloss@pelpix.info>
 # Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com>
+# Contributor: Fredrick R. Brennan <copypaste@kittens.ph>

 pkgname=lib32-libfdk-aac
 pkgver=2.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Fraunhofer FDK AAC codec library (32-bit)'
 arch=(x86_64)
 url=https://sourceforge.net/projects/opencore-amr/
 license=(custom)
 depends=(lib32-glibc libfdk-aac)
-makedepends=(git)
+makedepends=(git clang)
 source=(git+https://github.com/mstorsjo/fdk-aac.git#tag=8003a054c81c45c10fe70a832f02c6985383608f)
 sha256sums=(SKIP)

@@ -25,20 +26,20 @@ pkgver() {
 prepare() {
     cd fdk-aac

-    ./autogen.sh
+    [ ! -f configure ] && ./autogen.sh || true
 }

 build() {
     cd fdk-aac

-    export CC='gcc -m32'
-    export CXX='g++ -m32'
-    export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
     ./configure --prefix=/usr \
         --build=i686-pc-linux-gnu \
         --libdir=/usr/lib32 \
-        --disable-static
+        CC=clang \
+        CXX=clang++ \
+        CFLAGS="-m32 $CFLAGS" \
+        CXXFLAGS="-m32 $CXXFLAGS" \
+        PKG_CONFIG_PATH='/usr/lib32/pkgconfig'

     make
 }

kode54 commented on 2021-05-05 07:09 (UTC)

Latest release came out a few days ago, v2.0.2. Commit hash: 801f67f671929311e0c9952c5f92d6e147c7b003