Magellan Linux

Contents of /smage/trunk/extras/flac/flac-1.4.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16140 - (show annotations) (download)
Fri Sep 8 11:30:26 2023 UTC (8 months, 4 weeks ago) by niro
File size: 1102 byte(s)
-ver bump to 1.4.3-r1
1 # $Id$
2
3 PNAME="flac"
4 PVER="1.4.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.3
14 >= sys-libs/libstdc++-13.1"
15
16 ALX_LIB32_DEPEND=">= virtual/glibc-lib32
17 >= media-libs/libogg-lib32-1.3
18 >= sys-libs/libstdc++-lib32-13.1"
19
20 ALX_DEV_DEPEND=">= media-libs/libogg-dev-1.3
21 >= sys-libs/libstdc++-dev-13.1"
22
23 SDEPEND=">= dev-lang/nasm-2
24 >= sys-apps/gawk-5
25 ${ALX_DEV_DEPEND}"
26
27 SRCFILE="${PNAME}-${PVER}.tar.xz"
28 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
29
30 ALX_PKG_KEEP="usr/$(MABI=m64 mlibdir)/*.so.*"
31 ALX_LIB32_PKG_KEEP="usr/$(MABI=m32 mlibdir)/*.so.*"
32 sminclude multilib mbuild lib32-split alx-split
33 msetfeature "!check"
34
35 SRC_URI=(
36 http://downloads.xiph.org/releases/${PNAME}/${SRCFILE}
37 mirror://${PNAME}/${SRCFILE}
38 )
39
40 UP2DATE="updatecmd http://downloads.xiph.org/releases/${PNAME} | highesttarball xz"
41
42 src_compile()
43 {
44 mconfigure \
45 --disable-static \
46 --disable-rpath \
47 --with-pic \
48 --enable-ogg \
49 --disable-xmms-plugin \
50 --disable-thorough-tests \
51 || die
52
53 mmake || die
54 }