Annotation of /trunk/extras/smplayer/smplayer-0.6.8-r1.smage2
Parent Directory | Revision Log
Revision 4492 -
(hide annotations)
(download)
Wed Dec 23 21:56:17 2009 UTC (14 years, 9 months ago) by niro
File size: 950 byte(s)
Wed Dec 23 21:56:17 2009 UTC (14 years, 9 months ago) by niro
File size: 950 byte(s)
auto added: ver bump to 0.6.8-r1
1 | niro | 4486 | # $Id$ |
2 | |||
3 | PNAME="smplayer" | ||
4 | PVER="0.6.8" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="media-video" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="SMPlayer intends to be a complete QT4 based front-end for MPlayer." | ||
11 | HOMEPAGE="http://smplayer.sourceforge.net/" | ||
12 | |||
13 | DEPEND=">= media-video/mplayer-1 | ||
14 | >= x11-libs/qt4-gui-4.5" | ||
15 | |||
16 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
18 | |||
19 | # qt4 include is needed to export QMAKE=qmake4! | ||
20 | niro | 4487 | sminclude mbuild mtools xdg qt4 |
21 | niro | 4486 | |
22 | SRC_URI=( | ||
23 | sourceforge://${PNAME}/${SRCFILE} | ||
24 | mirror://${PNAME}/${SRCFILE} | ||
25 | ) | ||
26 | |||
27 | UP2DATE="updatecmd_sourceforge ${PNAME} SMPlayer - ${PNAME}" | ||
28 | |||
29 | src_compile() | ||
30 | { | ||
31 | niro | 4489 | cd ${SRCDIR}/src |
32 | niro | 4490 | # create missing include |
33 | echo "#define SVN_REVISION \"SVN-${PVER} (Magellan-Linux)\"" > svn_revision.h || die | ||
34 | niro | 4489 | ${QMAKE} || die |
35 | niro | 4492 | |
36 | cd ${SRCDIR} | ||
37 | mmake QMAKE=${QMAKE} PREFIX=/usr || die | ||
38 | niro | 4486 | } |
39 | |||
40 | src_install() | ||
41 | { | ||
42 | cd ${SRCDIR} | ||
43 | niro | 4492 | mmake DESTDIR=${BINDIR} QMAKE=${QMAKE} PREFIX=/usr install || die |
44 | niro | 4486 | |
45 | # install docs | ||
46 | minstalldocs Changelog *.txt || die | ||
47 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |