1 |
tomwij 13/09/01 11:53:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: avidemux-2.6.5.ebuild |
5 |
Log: |
6 |
Version bump to 2.6.5. |
7 |
|
8 |
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.225 media-video/avidemux/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/avidemux/ChangeLog?rev=1.225&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/avidemux/ChangeLog?rev=1.225&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/avidemux/ChangeLog?r1=1.224&r2=1.225 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-video/avidemux/ChangeLog,v |
20 |
retrieving revision 1.224 |
21 |
retrieving revision 1.225 |
22 |
diff -u -r1.224 -r1.225 |
23 |
--- ChangeLog 1 Sep 2013 11:24:28 -0000 1.224 |
24 |
+++ ChangeLog 1 Sep 2013 11:53:13 -0000 1.225 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-video/avidemux |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/ChangeLog,v 1.224 2013/09/01 11:24:28 tomwij Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/ChangeLog,v 1.225 2013/09/01 11:53:13 tomwij Exp $ |
30 |
+ |
31 |
+*avidemux-2.6.5 (01 Sep 2013) |
32 |
+ |
33 |
+ 01 Sep 2013; Tom Wijsman <TomWij@g.o> +avidemux-2.6.5.ebuild: |
34 |
+ Version bump to 2.6.5. |
35 |
|
36 |
01 Sep 2013; Tom Wijsman <TomWij@g.o> avidemux-9999.ebuild: |
37 |
Preparation for 2.6.5, removed "Build Option" dialog because it doesn't |
38 |
|
39 |
|
40 |
|
41 |
1.1 media-video/avidemux/avidemux-2.6.5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/avidemux/avidemux-2.6.5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/avidemux/avidemux-2.6.5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: avidemux-2.6.5.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-2.6.5.ebuild,v 1.1 2013/09/01 11:53:13 tomwij Exp $ |
51 |
|
52 |
EAPI="5" |
53 |
|
54 |
PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr" |
55 |
|
56 |
inherit cmake-utils eutils flag-o-matic l10n |
57 |
|
58 |
SLOT="2.6" |
59 |
|
60 |
DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks." |
61 |
HOMEPAGE="http://fixounet.free.fr/${PN}" |
62 |
|
63 |
# Multiple licenses because of all the bundled stuff. |
64 |
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" |
65 |
IUSE="debug opengl nls qt4 sdl vaapi vdpau video_cards_fglrx xv" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
|
68 |
if [[ ${PV} == *9999* ]] ; then |
69 |
KEYWORDS="" |
70 |
EGIT_REPO_URI="git://gitorious.org/${PN}2-6/${PN}2-6.git https://git.gitorious.org/${PN}2-6/${PN}2-6.git" |
71 |
|
72 |
inherit git-2 |
73 |
else |
74 |
MY_P="${PN}_${PV}" |
75 |
SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.gz" |
76 |
fi |
77 |
|
78 |
DEPEND=" |
79 |
~media-libs/avidemux-core-${PV}:${SLOT}[nls?,sdl?,vaapi?,vdpau?,video_cards_fglrx?,xv?] |
80 |
opengl? ( virtual/opengl:0 ) |
81 |
qt4? ( >=dev-qt/qtgui-4.8.3:4 ) |
82 |
vaapi? ( x11-libs/libva:0 ) |
83 |
video_cards_fglrx? ( x11-libs/xvba-video:0 ) |
84 |
" |
85 |
RDEPEND="$DEPEND" |
86 |
PDEPEND="~media-libs/avidemux-plugins-${PV}:${SLOT}[opengl?,qt4?]" |
87 |
|
88 |
S="${WORKDIR}/${MY_P}" |
89 |
|
90 |
processes="buildCli:avidemux/cli" |
91 |
use qt4 && processes+=" buildQt4:avidemux/qt4" |
92 |
|
93 |
src_prepare() { |
94 |
cmake-utils_src_prepare |
95 |
|
96 |
# Fix icon name -> avidemux-2.6.png |
97 |
sed -i -e "/^Icon/ s:${PN}:${PN}-2.6:" ${PN}2.desktop || die "Icon name fix failed." |
98 |
|
99 |
# The desktop file is broken. It uses avidemux2 instead of avidemux3 |
100 |
# so it will actually launch avidemux-2.5 if it is installed. |
101 |
sed -i -e "/^Exec/ s:${PN}2:${PN}3:" ${PN}2.desktop || die "Desktop file fix failed." |
102 |
sed -i -re '/^Exec/ s:(avidemux3_)gtk:\1qt4:' ${PN}2.desktop || die "Desktop file fix failed." |
103 |
|
104 |
# Fix QA warnings that complain a trailing ; is missing and Application is deprecated. |
105 |
sed -i -e 's/Application;AudioVideo/AudioVideo;/g' ${PN}2.desktop || die "Desktop file fix failed." |
106 |
|
107 |
# Now rename the desktop file to not collide with 2.5. |
108 |
mv ${PN}2.desktop ${PN}-2.6.desktop || die "Collision rename failed." |
109 |
|
110 |
# Remove "Build Option" dialog because it doesn't reflect what the GUI can or has been built with. (Bug #463628) |
111 |
sed -i -e '/Build Option/d' avidemux/common/ADM_commonUI/myOwnMenu.h || die "Couldn't remove \"Build Option\" dialog." |
112 |
} |
113 |
|
114 |
src_configure() { |
115 |
local mycmakeargs=" |
116 |
-DAVIDEMUX_SOURCE_DIR='${S}' |
117 |
$(cmake-utils_use nls GETTEXT) |
118 |
$(cmake-utils_use sdl) |
119 |
$(cmake-utils_use vaapi LIBVA) |
120 |
$(cmake-utils_use vdpau) |
121 |
$(cmake-utils_use video_cards_fglrx XVBA) |
122 |
$(cmake-utils_use xv XVIDEO) |
123 |
" |
124 |
|
125 |
if use debug ; then |
126 |
mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1" |
127 |
fi |
128 |
|
129 |
for process in ${processes} ; do |
130 |
local build="${process%%:*}" |
131 |
|
132 |
mkdir "${S}"/${build} || die "Can't create build folder." |
133 |
cd "${S}"/${build} || die "Can't enter build folder." |
134 |
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure |
135 |
done |
136 |
|
137 |
# Add lax vector typing for PowerPC. |
138 |
if use ppc || use ppc64 ; then |
139 |
append-cflags -flax-vector-conversions |
140 |
fi |
141 |
|
142 |
# See bug 432322. |
143 |
use x86 && replace-flags -O0 -O1 |
144 |
} |
145 |
|
146 |
src_compile() { |
147 |
for process in ${processes} ; do |
148 |
BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile |
149 |
done |
150 |
} |
151 |
|
152 |
DOCS=( AUTHORS README ) |
153 |
|
154 |
src_install() { |
155 |
for process in ${processes} ; do |
156 |
BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_install |
157 |
done |
158 |
|
159 |
if [[ -f "${ED}"/usr/bin/avidemux3_cli ]] ; then |
160 |
fperms +x /usr/bin/avidemux3_cli |
161 |
fi |
162 |
|
163 |
if [[ -f "${ED}"/usr/bin/avidemux3_jobs ]] ; then |
164 |
fperms +x /usr/bin/avidemux3_jobs |
165 |
fi |
166 |
|
167 |
cd "${S}" || die "Can't enter source folder." |
168 |
newicon ${PN}_icon.png ${PN}-2.6.png |
169 |
|
170 |
if use qt4 ; then |
171 |
fperms +x /usr/bin/avidemux3_qt4 |
172 |
domenu ${PN}-2.6.desktop |
173 |
fi |
174 |
} |