Magellan Linux

Annotation of /smage/trunk/extras/flac/flac-1.3.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10575 - (hide annotations) (download)
Thu Aug 24 13:55:28 2017 UTC (6 years, 8 months ago) by niro
File size: 1034 byte(s)
auto added: ver bump to 1.3.2-r1
1 niro 10574 # $Id$
2    
3     PNAME="flac"
4     PVER="1.3.2"
5     PBUILD="r1"
6    
7     PCAT="media-libs"
8    
9     DESCRIPTION="FLAC - Free Lossless Audio Codec."
10     HOMEPAGE="http://flac.sourceforge.net/"
11    
12     DEPEND=">= virtual/glibc
13     >= media-libs/libogg-1.2
14     >= sys-libs/libstdc++-5.3"
15    
16     ALX_DEV_DEPEND=">= media-libs/libogg-dev-1.2
17     >= sys-libs/libstdc++-dev-5.3"
18    
19     SDEPEND=">= dev-lang/nasm-2
20     >= sys-apps/gawk-3
21     ${ALX_DEV_DEPEND}"
22    
23 niro 10575 SRCFILE="${PNAME}-${PVER}.tar.xz"
24 niro 10574 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
25    
26     ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*"
27     sminclude mbuild multilib alx-split
28     msetfeature "!check"
29    
30     SRC_URI=(
31     http://downloads.xiph.org/releases/${PNAME}/${SRCFILE}
32     mirror://${PNAME}/${SRCFILE}
33     )
34    
35     UP2DATE="updatecmd http://downloads.xiph.org/releases/${PNAME} | highesttarball xz"
36    
37     src_prepare()
38     {
39     munpack ${SRCFILE}
40    
41     # fix compilation with gcc-4.3
42     mpatch ${PNAME}-${PVER}-gcc43.patch || die
43     }
44    
45     src_compile()
46     {
47     mconfigure \
48     --disable-static \
49     --disable-rpath \
50     --with-pic \
51     --enable-ogg \
52     --disable-xmms-plugin \
53     --disable-thorough-tests \
54     || die
55    
56     mmake || die
57     }