Annotation of /trunk/todo/mplayerplug-in/mplayerplug-in-3.55-r1.smage2
Parent Directory | Revision Log
Revision 2477 -
(hide annotations)
(download)
Thu Jul 9 20:07:09 2009 UTC (14 years, 11 months ago) by niro
File size: 1663 byte(s)
Thu Jul 9 20:07:09 2009 UTC (14 years, 11 months ago) by niro
File size: 1663 byte(s)
-moved to 'todo'
1 | niro | 2 | # $Header: /magellan-cvs/smage/mplayerplug-in/mplayerplug-in-3.55-r1.smage2,v 1.2 2008/08/16 21:08:33 niro Exp $ |
2 | |||
3 | PNAME="mplayerplug-in" | ||
4 | PVER="3.55" | ||
5 | PBUILD="r1" | ||
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 | ||
14 | >= x11-libs/gtk2+-2.12 | ||
15 | >= dev-libs/atk-1.20 | ||
16 | >= dev-libs/glib2-2.16 | ||
17 | >= x11-libs/pango-1.20 | ||
18 | >= media-video/mplayer-1" | ||
19 | |||
20 | # mozilla-firefox is needed to build; replaces gecko engine tarball | ||
21 | SDEPEND=">= net-www/mozilla-firefox-2 | ||
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 | src_compile() | ||
36 | { | ||
37 | cd ${SRCDIR} | ||
38 | |||
39 | mconfigure \ | ||
40 | --enable-gtk2 \ | ||
41 | --enable-wmp \ | ||
42 | --enable-qt \ | ||
43 | --enable-rm \ | ||
44 | --enable-gmp \ | ||
45 | --enable-dvx \ | ||
46 | || die | ||
47 | |||
48 | mmake || die | ||
49 | } | ||
50 | |||
51 | src_install() | ||
52 | { | ||
53 | cd ${SRCDIR} | ||
54 | |||
55 | # needed directories | ||
56 | minstalldir /etc || die | ||
57 | minstalldir /opt/netscape/plugins || die | ||
58 | minstalldir /usr/$(mlibdir)/nsbrowser/plugins || die | ||
59 | |||
60 | # confs | ||
61 | minstalletc ${SRCDIR}/mplayerplug-in.conf || die | ||
62 | |||
63 | # install all plugins | ||
64 | for i in "" -dvx -gmp -qt -rm -wmp | ||
65 | do | ||
66 | # install bins | ||
67 | minstallexec mplayerplug-in${i}.so /opt/netscape/plugins || die | ||
68 | minstallexec mplayerplug-in${i}.xpt /opt/netscape/plugins || die | ||
69 | |||
70 | # update plugin symlink | ||
71 | mlink /opt/netscape/plugins/mplayerplug-in${i}.so \ | ||
72 | /usr/$(mlibdir)/nsbrowser/plugins || die | ||
73 | done | ||
74 | |||
75 | # docs | ||
76 | minstalldocs ChangeLog INSTALL LICENSE README || die | ||
77 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |