Magellan Linux

Annotation of /trunk/todo/rezound/rezound-0.12.3.b-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2563 - (hide annotations) (download)
Thu Jul 9 20:32:37 2009 UTC (14 years, 11 months ago) by niro
File size: 2336 byte(s)
-moved to 'todo'
1 niro 2 # $Header: /magellan-cvs/smage/rezound/rezound-0.12.3.b-r3.smage2,v 1.2 2008/05/31 18:08:47 niro Exp $
2    
3     PNAME="rezound"
4     PVER="0.12.3.b"
5     PBUILD="r3"
6    
7     PCATEGORIE="media-sound"
8     STATE="unstable"
9    
10     DESCRIPTION="ReZound aims to be a stable, open source, and graphical audio file editor."
11     HOMEPAGE="http://rezound.sourceforge.net/"
12    
13     DEPEND=">= virtual/glibc
14     >= media-libs/audiofile-0.2.6
15     >= x11-libs/fox-1.6
16     >= sci-libs/fftw-2.1.5
17     >= app-cdr/cdrdao-1.2
18     >= media-libs/ladspa-sdk-1.13
19     >= media-libs/ladspa-cmt-1.16
20     >= media-libs/libogg-1.1
21     >= media-libs/libvorbis-1.2
22     >= media-libs/flac-1.2
23     >= media-libs/libsoundtouch-1.3"
24    
25     SDEPEND=">= sys-dev/autoconf-4
26     >= sys-dev/automake-3
27     >= sys-dev/bison-2
28     >= sys-dev/flex-2.5.33"
29    
30     SRCFILE="${PNAME}-${PVER/.b/beta}.tar.gz"
31     SRCDIR="${BUILDDIR}/${PNAME}-${PVER/.b/beta}"
32    
33     sminclude mtools xdg
34    
35     SRC_URI=(
36     sourceforge://${PNAME}/${SRCFILE}
37     mirror://${PNAME}/${SRCFILE}
38     mirror://${PNAME}/${PNAME}-0.12.2.b-amd64.patch
39     mirror://${PNAME}/${PNAME}-${PVER}-flac-1.1.3.patch
40     )
41    
42     # note >= fftw3-3.0 are incompatible with rezound
43    
44     src_prepare()
45     {
46     munpack ${SRCFILE} || die
47     cd ${SRCDIR}
48    
49     # fix compile issues on x86_64
50     # gcc4 does not like loosing precision in pointer casts
51     mpatch ${PNAME}-0.12.2.b-amd64.patch || die
52    
53     # fix compilation with newer flac versions
54     mpatch ${PNAME}-${PVER}-flac-1.1.3.patch || die
55     }
56    
57     src_compile()
58     {
59     cd ${SRCDIR}
60    
61     mconfigure \
62     --enable-largefile \
63     --enable-ladspa \
64     --enable-internal-sample-type=float \
65     --enable-alsa \
66     --enable-oss \
67     --disable-portaudio \
68     --disable-jack \
69     --enable-nls \
70     || die
71    
72     mmake || die
73     }
74    
75     src_install()
76     {
77     cd ${SRCDIR}
78     mmake DESTDIR=${BINDIR} install || die
79    
80     # we want all docs compressed;
81     # default installs not all and uncompressed
82     rm -rf ${BINDIR}/usr/doc/${PNAME} || die
83     minstalldocs ABOUT-NLS README* docs/* || die
84    
85     # install desktop-menu-icon
86     minstallpixmap src/images/icon_logo_32.gif rezound.gif || die
87     minstall_desktop_icon --icon rezound.gif --categories AudioVideo || die
88     }
89    
90     postinstall()
91     {
92     echo
93     echo "In order to run rezound you need to load some alsa-oss modules."
94     echo "Please load the following modules:"
95     echo " snd-pcm-oss"
96     echo " snd-mixer-oss"
97     echo
98     echo "You can put them either in /etc/modules.autoload.d/yourkernel"
99     echo "or load them manually via modprobe."
100     echo
101     }

Properties

Name Value
svn:keywords Id