flac: various cleanups, change download url

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-03-29 15:18:04 +02:00
parent 5d99a6825b
commit 59de46f76b
3 changed files with 26 additions and 4 deletions

View File

@ -23,14 +23,12 @@
. config/options $1 . config/options $1
cd $PKG_BUILD cd $PKG_BUILD
do_autoreconf -I m4
./configure --host=$TARGET_NAME \ ./configure --host=$TARGET_NAME \
--build=$HOST_NAME \ --build=$HOST_NAME \
--prefix=/usr \ --prefix=/usr \
--disable-static \ --disable-static \
--enable-shared \ --enable-shared \
--disable-rpath \ --disable-rpath \
--with-gnu-ld \
--disable-altivec \ --disable-altivec \
--disable-doxygen-docs \ --disable-doxygen-docs \
--disable-thorough-tests \ --disable-thorough-tests \

View File

@ -24,7 +24,7 @@ PKG_REV="1"
PKG_ARCH="any" PKG_ARCH="any"
PKG_LICENSE="LGPL" PKG_LICENSE="LGPL"
PKG_SITE="http://flac.sourceforge.net/" PKG_SITE="http://flac.sourceforge.net/"
PKG_URL="$SOURCEFORGE_SRC/flac/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_URL="http://downloads.xiph.org/releases/flac/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="libiconv libogg" PKG_DEPENDS="libiconv libogg"
PKG_BUILD_DEPENDS="toolchain libiconv libogg" PKG_BUILD_DEPENDS="toolchain libiconv libogg"
PKG_PRIORITY="optional" PKG_PRIORITY="optional"
@ -33,4 +33,4 @@ PKG_SHORTDESC="flac: An Free Lossless Audio Codec"
PKG_LONGDESC="Grossly oversimplified, FLAC is similar to MP3, but lossless, meaning that audio is compressed in FLAC without throwing away any information. This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio." PKG_LONGDESC="Grossly oversimplified, FLAC is similar to MP3, but lossless, meaning that audio is compressed in FLAC without throwing away any information. This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio."
PKG_IS_ADDON="no" PKG_IS_ADDON="no"
PKG_AUTORECONF="no" PKG_AUTORECONF="yes"

View File

@ -0,0 +1,24 @@
diff -Naur flac-1.2.1-old/configure.in flac-1.2.1-new/configure.in
--- flac-1.2.1-old/configure.in 2007-09-13 08:48:42.000000000 -0700
+++ flac-1.2.1-new/configure.in 2010-08-17 20:51:01.000000000 -0700
@@ -21,6 +21,8 @@
AC_INIT(src/flac/main.c)
AM_INIT_AUTOMAKE(flac, 1.2.1)
+AC_CONFIG_MACRO_DIR([m4])
+
# Don't automagically regenerate autoconf/automake generated files unless
# explicitly requested. Eases autobuilding -mdz
AM_MAINTAINER_MODE
diff -Naur flac-1.2.1-old/Makefile.am flac-1.2.1-new/Makefile.am
--- flac-1.2.1-old/Makefile.am 2007-09-16 12:29:29.000000000 -0700
+++ flac-1.2.1-new/Makefile.am 2010-08-17 20:51:27.000000000 -0700
@@ -30,6 +30,8 @@
AUTOMAKE_OPTIONS = foreign 1.7
+ACLOCAL_AMFLAGS = -I m4
+
SUBDIRS = doc include m4 man src examples test build obj
DISTCLEANFILES = libtool-disable-static