Magellan Linux

Contents of /trunk/deprecated/mplayerplug-in/mplayerplug-in-3.55-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4574 - (show annotations) (download)
Fri Dec 25 11:47:00 2009 UTC (14 years, 5 months ago) by niro
File size: 1603 byte(s)
-moved to 'deprecated'
1 # $Id$
2
3 PNAME="mplayerplug-in"
4 PVER="3.55"
5 PBUILD="r2"
6
7 PCATEGORIE="media-video"
8 STATE="unstable"
9
10 DESCRIPTION="mplayerplug-in is a browser plugin that uses mplayer to play digital media from websites."
11 HOMEPAGE="http://mplayerplug-in.sourceforge.net/"
12
13 DEPEND=">= x11-libs/libXpm-3.5
14 >= x11-libs/gtk2+-2.18
15 >= dev-libs/atk-1.28
16 >= dev-libs/glib2-2.22
17 >= x11-libs/pango-1.26
18 >= media-video/mplayer-1"
19
20 # mozilla-firefox is needed to build; replaces gecko engine tarball
21 SDEPEND=">= net-www/mozilla-firefox-3.5
22 >= dev-util/pkgconfig-0.23
23 >= xproto/xextproto-1"
24
25 SRCFILE="${PNAME}-${PVER}.tar.gz"
26 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
27
28 sminclude mbuild mtools
29
30 SRC_URI=(
31 sourceforge://${PNAME}/${SRCFILE}
32 mirror://${PNAME}/${SRCFILE}
33 )
34
35 UP2DATE="updatecmd_sourceforge ${PNAME}"
36
37 src_compile()
38 {
39 cd ${SRCDIR}
40
41 mconfigure \
42 --enable-gtk2 \
43 --enable-wmp \
44 --enable-qt \
45 --enable-rm \
46 --enable-gmp \
47 --enable-dvx \
48 || die
49
50 mmake || die
51 }
52
53 src_install()
54 {
55 cd ${SRCDIR}
56
57 # needed directories
58 minstalldir /etc || die
59 minstalldir /opt/netscape/plugins || die
60 minstalldir /usr/$(mlibdir)/nsbrowser/plugins || die
61
62 # confs
63 minstalletc ${SRCDIR}/mplayerplug-in.conf || die
64
65 # install all plugins
66 for i in "" -dvx -gmp -qt -rm -wmp
67 do
68 # install bins
69 minstallexec mplayerplug-in${i}.so /opt/netscape/plugins || die
70 minstallexec mplayerplug-in${i}.xpt /opt/netscape/plugins || die
71
72 # update plugin symlink
73 mlink /opt/netscape/plugins/mplayerplug-in${i}.so \
74 /usr/$(mlibdir)/nsbrowser/plugins || die
75 done
76
77 # docs
78 minstalldocs ChangeLog INSTALL LICENSE README || die
79 }

Properties

Name Value
svn:keywords Id