diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2013-08-10 21:14:57 +1000 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2013-08-10 21:18:43 +1000 |
commit | 0731f7a0e72ba855c5792daaf3b197e5629b9de6 (patch) | |
tree | 61f994c81b56d5467e62f86c96c8904b93ae4f5c /flac-32 | |
parent | 20ae6cc217470efeb51d50f0fc7056298408363f (diff) | |
download | compat-32-0731f7a0e72ba855c5792daaf3b197e5629b9de6.tar.gz compat-32-0731f7a0e72ba855c5792daaf3b197e5629b9de6.tar.xz |
flac-32: initial import
Diffstat (limited to 'flac-32')
-rw-r--r-- | flac-32/.32bit | 0 | ||||
-rw-r--r-- | flac-32/.footprint | 15 | ||||
-rw-r--r-- | flac-32/.md5sum | 2 | ||||
-rw-r--r-- | flac-32/Pkgfile | 29 | ||||
-rw-r--r-- | flac-32/flac.diff | 11 |
5 files changed, 57 insertions, 0 deletions
diff --git a/flac-32/.32bit b/flac-32/.32bit new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/flac-32/.32bit diff --git a/flac-32/.footprint b/flac-32/.footprint new file mode 100644 index 00000000..faf9417d --- /dev/null +++ b/flac-32/.footprint @@ -0,0 +1,15 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib32/ +-rw-r--r-- root/root usr/lib32/libFLAC++.a +-rwxr-xr-x root/root usr/lib32/libFLAC++.la +lrwxrwxrwx root/root usr/lib32/libFLAC++.so -> libFLAC++.so.6.2.0 +lrwxrwxrwx root/root usr/lib32/libFLAC++.so.6 -> libFLAC++.so.6.2.0 +-rwxr-xr-x root/root usr/lib32/libFLAC++.so.6.2.0 +-rw-r--r-- root/root usr/lib32/libFLAC.a +-rwxr-xr-x root/root usr/lib32/libFLAC.la +lrwxrwxrwx root/root usr/lib32/libFLAC.so -> libFLAC.so.8.2.0 +lrwxrwxrwx root/root usr/lib32/libFLAC.so.8 -> libFLAC.so.8.2.0 +-rwxr-xr-x root/root usr/lib32/libFLAC.so.8.2.0 +drwxr-xr-x root/root usr/lib32/pkgconfig/ +-rw-r--r-- root/root usr/lib32/pkgconfig/flac++.pc +-rw-r--r-- root/root usr/lib32/pkgconfig/flac.pc diff --git a/flac-32/.md5sum b/flac-32/.md5sum new file mode 100644 index 00000000..e1400445 --- /dev/null +++ b/flac-32/.md5sum @@ -0,0 +1,2 @@ +153c8b15a54da428d1f0fadc756c22c7 flac-1.2.1.tar.gz +6632677f2e3b0103256023ba76115845 flac.diff diff --git a/flac-32/Pkgfile b/flac-32/Pkgfile new file mode 100644 index 00000000..7cbf4e01 --- /dev/null +++ b/flac-32/Pkgfile @@ -0,0 +1,29 @@ +# Description: Free Lossless Audio Codec. +# URL: http://xiph.org/flac/ +# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu +# Depends on: libogg-32 + +name=flac-32 +version=1.2.1 +release=3 +source=(http://downloads.sourceforge.net/project/flac/flac-src/flac-$version-src/flac-$version.tar.gz + flac.diff) + +build() { + cd flac-$version + + export LDFLAGS="$LDFLAGS -L/usr/lib32" + + # fix compilation with gcc 4.3 + patch -Np1 -i $SRC/flac.diff + + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib32 + + make + make DESTDIR=$PKG install + + rm -r $PKG/usr/{bin,man,include,share/{doc,aclocal}} + rmdir $PKG/usr/share +} diff --git a/flac-32/flac.diff b/flac-32/flac.diff new file mode 100644 index 00000000..a8251351 --- /dev/null +++ b/flac-32/flac.diff @@ -0,0 +1,11 @@ +diff -aur flac-1.2.1.orig/examples/cpp/encode/file/main.cpp flac-1.2.1/examples/cpp/encode/file/main.cpp +--- flac-1.2.1.orig/examples/cpp/encode/file/main.cpp 2007-09-13 17:58:03.000000000 +0200 ++++ flac-1.2.1/examples/cpp/encode/file/main.cpp 2008-10-23 18:30:02.575321637 +0200 +@@ -30,6 +30,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <cstring> + #include "FLAC++/metadata.h" + #include "FLAC++/encoder.h" + |