Contents of /trunk/todo/beep-media-player/beep-media-player-0.9.7.1-r5.smage2
Parent Directory | Revision Log
Revision 2192 -
(show annotations)
(download)
Thu Jul 9 19:16:00 2009 UTC (15 years, 3 months ago) by niro
File size: 2956 byte(s)
Thu Jul 9 19:16:00 2009 UTC (15 years, 3 months ago) by niro
File size: 2956 byte(s)
-moved to 'todo'
1 | # $Header: /magellan-cvs/smage/beep-media-player/beep-media-player-0.9.7.1-r5.smage2,v 1.1 2008/04/05 09:15:35 niro Exp $ |
2 | |
3 | PNAME="beep-media-player" |
4 | PVER="0.9.7.1" |
5 | PBUILD="r5" |
6 | |
7 | PCATEGORIE="media-sound" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="BMP is a multimedia player using gtk2+ and based on xmms." |
11 | HOMEPAGE="http://beepmp.sourceforge.net/" |
12 | |
13 | DEPEND=">= dev-libs/glib2-2.16 |
14 | >= x11-libs/gtk2+-2.12 |
15 | >= x11-libs/pango-1.20 |
16 | >= media-libs/freetype-2.3 |
17 | >= gnome-base/libglade-2.6 |
18 | >= media-libs/id3lib-3.8.3 |
19 | >= media-libs/libvorbis-1.2 |
20 | >= app-arch/unzip-5 |
21 | >= media-libs/alsa-lib-1.0.16" |
22 | |
23 | SDEPEND=">= media-sound/esound-0.2.38 |
24 | >= dev-util/pkgconfig-0.23 |
25 | >= dev-util/intltool-0.37 |
26 | >= x11-proto/xproto-7" |
27 | |
28 | SRCFILE="bmp-${PVER}.tar.gz" |
29 | SRCDIR="${BUILDDIR}/bmp-${PVER}" |
30 | |
31 | sminclude mtools |
32 | |
33 | SRC_URI=( |
34 | mirror://${PNAME}/${SRCFILE} |
35 | mirror://${PNAME}/${PNAME}-${PVER}-desktop-icon.patch |
36 | mirror://${PNAME}/${PNAME}-0.9.7-alsa-as-default.patch |
37 | mirror://${PNAME}/${PNAME}-0.9.7-visualization.patch |
38 | mirror://${PNAME}/${PNAME}-0.9.7-unicode.patch |
39 | mirror://${PNAME}/${PNAME}-0.9.7-seeking-playlist.patch |
40 | mirror://${PNAME}/${PNAME}-0.9.7-drag-and-drop.patch |
41 | mirror://${PNAME}/${PNAME}-0.9.7-window-focus.patch |
42 | ) |
43 | |
44 | src_prepare() |
45 | { |
46 | munpack ${SRCFILE} || die |
47 | cd ${SRCDIR} |
48 | |
49 | # fix icon filename |
50 | mpatch ${PNAME}-${PVER}-desktop-icon.patch || die |
51 | |
52 | # use alsa as default sound plugin |
53 | mpatch ${PNAME}-0.9.7-alsa-as-default.patch || die |
54 | |
55 | # adds unicode support for id3v2 tags (may also prevent some crashes) |
56 | # see: http://www.sosdg.org/~larne/bugs/show_bug.cgi?id=101 |
57 | mpatch ${PNAME}-0.9.7-unicode.patch || die |
58 | |
59 | # fixes seeking in the playlist |
60 | # see: http://www.sosdg.org/~larne/bugs/show_bug.cgi?id=104 |
61 | mpatch ${PNAME}-0.9.7-seeking-playlist.patch || die |
62 | |
63 | # fixes drag and drop of m3us + pls |
64 | # see: http://www.sosdg.org/~larne/bugs/show_bug.cgi?id=123 |
65 | mpatch ${PNAME}-0.9.7-drag-and-drop.patch || die |
66 | |
67 | # fixes the windows behavior |
68 | # see: http://www.sosdg.org/~larne/bugs/show_bug.cgi?id=94 |
69 | mpatch ${PNAME}-0.9.7-window-focus.patch || die |
70 | |
71 | # fixes crashes when hiding the main window |
72 | # see: http://www.sosdg.org/~larne/bugs/show_bug.cgi?id=103 |
73 | cd ${SRCDIR}/beep |
74 | mpatch ${PNAME}-0.9.7-visualization.patch || die |
75 | } |
76 | |
77 | src_compile() |
78 | { |
79 | cd ${SRCDIR} |
80 | mconfigure \ |
81 | --with-dev-dsp=/dev/sound/dsp \ |
82 | --with-dev-mixer=/dev/sound/mixer \ |
83 | --includedir=/usr/include/beep-media-player \ |
84 | --enable-nls \ |
85 | --enable-simd \ |
86 | --enable-mp3 \ |
87 | --enable-alsa \ |
88 | --enable-esd \ |
89 | --enable-oss \ |
90 | --enable-vorbis \ |
91 | --disable-gconf \ |
92 | --disable-gnome-vfs \ |
93 | || die |
94 | |
95 | mmake || die |
96 | } |
97 | |
98 | src_install() |
99 | { |
100 | cd ${SRCDIR} |
101 | mmake DESTDIR=${BINDIR} install || die |
102 | |
103 | # missing icon |
104 | minstallpixmap beep/beep_logo.xpm || die |
105 | minstallpixmap icons/bmp.png || die |
106 | |
107 | # docs |
108 | minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog FAQ NEWS README TODO || die |
109 | } |
110 | |
111 | postinstall() |
112 | { |
113 | echo |
114 | echo "You can use BMP also with esound." |
115 | echo "All you need is to install 'media-sound/esound'." |
116 | echo |
117 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |