Magellan Linux

Annotation of /smage/branches/alx07x-unstable/extras/flac/flac-1.3.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14796 - (hide annotations) (download)
Tue Aug 4 12:17:37 2020 UTC (3 years, 9 months ago) by niro
File size: 918 byte(s)
-release branches/alx07x-unstable
1 niro 14349 # $Id$
2    
3     PNAME="flac"
4     PVER="1.3.3"
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++-8.3"
15    
16     ALX_DEV_DEPEND=">= media-libs/libogg-dev-1.3
17     >= sys-libs/libstdc++-dev-8.3"
18    
19     SDEPEND=">= dev-lang/nasm-2
20     >= sys-apps/gawk-5
21     ${ALX_DEV_DEPEND}"
22    
23     SRCFILE="${PNAME}-${PVER}.tar.xz"
24     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
25    
26     ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*"
27     sminclude multilib mbuild 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_compile()
38     {
39     mconfigure \
40     --disable-static \
41     --disable-rpath \
42     --with-pic \
43     --enable-ogg \
44     --disable-xmms-plugin \
45     --disable-thorough-tests \
46     || die
47    
48     mmake || die
49     }