Contents of /trunk/todo/avidemux-gtk/avidemux-gtk-2.4.1-r2.smage2
Parent Directory | Revision Log
Revision 2189 -
(show annotations)
(download)
Thu Jul 9 19:15:40 2009 UTC (15 years, 3 months ago) by niro
File size: 1452 byte(s)
Thu Jul 9 19:15:40 2009 UTC (15 years, 3 months ago) by niro
File size: 1452 byte(s)
-moved to 'todo'
1 | # $Header: /magellan-cvs/smage/avidemux-gtk/avidemux-gtk-2.4.1-r2.smage2,v 1.1 2008/04/20 18:48:32 niro Exp $ |
2 | |
3 | PNAME="avidemux-gtk" |
4 | PVER="2.4.1" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="media-video" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks." |
11 | HOMEPAGE="http://www.avidemux.org/" |
12 | |
13 | DEPEND="== media-video/avidemux-common-${PVER} |
14 | >= x11-libs/gtk2+-2.12" |
15 | |
16 | SRCFILE="avidemux_${PVER}.tar.gz" |
17 | SRCDIR="${BUILDDIR}/avidemux_${PVER}" |
18 | |
19 | sminclude mtools cmake xdg cleanutils |
20 | |
21 | SRC_URI=( |
22 | http://download.berlios.de/avidemux/${SRCFILE} |
23 | mirror://avidemux/${SRCFILE} |
24 | mirror://avidemux/avidemux-2.3.0-parallel-make.patch |
25 | mirror://avidemux/avidemux-${PVER}-i18n.patch |
26 | ) |
27 | |
28 | # projectname is avidemux but packagename is avidemux2 |
29 | UP2DATE="updatecmd_berlios avidemux avidemux2" |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | cd ${SRCDIR} |
35 | |
36 | # fix parallel make |
37 | mpatch avidemux-2.3.0-parallel-make.patch || die |
38 | |
39 | # fix install location of i18n files |
40 | mpatch avidemux-${PVER}-i18n.patch || die |
41 | } |
42 | |
43 | src_compile() |
44 | { |
45 | cd ${SRCDIR} |
46 | |
47 | cmake_configure $(cmake_no QT4) || die |
48 | mmake || die |
49 | } |
50 | |
51 | src_install() |
52 | { |
53 | cmake_src_install || die |
54 | |
55 | # prune avidemux_cli stuff, only keep GTK variant |
56 | zapmost ${BINDIR} usr/bin/avidemux2_gtk || die |
57 | |
58 | # create a desktop icon |
59 | minstallpixmap ${SRCDIR}/avidemux_icon.png ${PNAME}.png || die |
60 | minstall_desktop_icon --exec avidemux2_gtk --categories AudioVideo,AudioVideoEditing || die |
61 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |