Added flac-1.2.1 build template.
--HG-- extra : convert_revision : ecb8aede5d0827ad28183b236ed7fc0ce91c62ba
This commit is contained in:
parent
000d7c46b6
commit
ed6a3c14b9
7 changed files with 80 additions and 0 deletions
2
srcpkgs/flac/depends
Normal file
2
srcpkgs/flac/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=">=1.2.1"
|
||||
api_depends="${abi_depends}"
|
21
srcpkgs/flac/libflac-devel.template
Normal file
21
srcpkgs/flac/libflac-devel.template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'libflac-devel'.
|
||||
#
|
||||
short_desc="${short_desc} - development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libstdc++-devel
|
||||
Add_dependency run libogg-devel
|
||||
Add_dependency run libflac
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share
|
||||
}
|
15
srcpkgs/flac/libflac.template
Normal file
15
srcpkgs/flac/libflac.template
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Template file for 'libflac'.
|
||||
#
|
||||
short_desc="${short_desc} - shared libraries"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the FLAC shared libraries."
|
||||
|
||||
Add_dependency run libstdc++
|
||||
Add_dependency run libogg
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.so.* ${DESTDIR}/usr/lib
|
||||
}
|
10
srcpkgs/flac/patches/flac-1.2.1-gcc-4.3-includes.patch
Normal file
10
srcpkgs/flac/patches/flac-1.2.1-gcc-4.3-includes.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- examples/cpp/encode/file/main.cpp 2007-09-13 09:58:03.000000000 -0600
|
||||
+++ examples/cpp/encode/file/main.cpp 2007-11-18 12:59:45.000000000 -0600
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <cstring>
|
||||
#include "FLAC++/metadata.h"
|
||||
#include "FLAC++/encoder.h"
|
||||
|
30
srcpkgs/flac/template
Normal file
30
srcpkgs/flac/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'flac'
|
||||
pkgname=flac
|
||||
version=1.2.1
|
||||
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--disable-rpath --disable-doxygen-docs --disable-xmms-plugin"
|
||||
short_desc="Free Lossless Audio Codec"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=9635a44bceb478bbf2ee8a785cf6986fba525afb5fad1fd4bba73cf71f2d3edf
|
||||
long_desc="
|
||||
FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is
|
||||
similar to MP3, but lossless. The FLAC project consists of:
|
||||
* the stream format
|
||||
* libFLAC, which implements reference encoders and decoders
|
||||
* flac, a command-line wrapper around libFLAC to encode and decode .flac
|
||||
files
|
||||
* input plugins for various music players (Winamp, XMMS, and more in the
|
||||
works)
|
||||
|
||||
\"Free\" means that the specification of the stream format is in the public
|
||||
domain (the FLAC project reserves the right to set the FLAC specification
|
||||
and certify compliance), and that neither the FLAC format nor any of the
|
||||
implemented encoding/decoding methods are covered by any patent. It also
|
||||
means that the source for libFLAC is available under the LGPL and the
|
||||
sources for flac and the plugins are available under the GPL."
|
||||
|
||||
subpackages="libflac libflac-devel"
|
||||
Add_dependency run libflac
|
||||
Add_dependency build nasm
|
||||
Add_dependency build libogg-devel
|
1
srcpkgs/libflac
Symbolic link
1
srcpkgs/libflac
Symbolic link
|
@ -0,0 +1 @@
|
|||
flac
|
1
srcpkgs/libflac-devel
Symbolic link
1
srcpkgs/libflac-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
flac
|
Loading…
Reference in a new issue