From: | "Tomas Chvatal (scarabeus)" <scarabeus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-video/kmplayer: ChangeLog kmplayer-0.11.1a.ebuild |
Date: | Fri, 05 Jun 2009 12:13:59 |
Message-Id: | E1MCYJ3-00080v-20@stork.gentoo.org |
1 | scarabeus 09/06/05 12:13:57 |
2 | |
3 | Modified: ChangeLog |
4 | Added: kmplayer-0.11.1a.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.126 media-video/kmplayer/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/kmplayer/ChangeLog?rev=1.126&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/kmplayer/ChangeLog?rev=1.126&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/kmplayer/ChangeLog?r1=1.125&r2=1.126 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/media-video/kmplayer/ChangeLog,v |
19 | retrieving revision 1.125 |
20 | retrieving revision 1.126 |
21 | diff -u -r1.125 -r1.126 |
22 | --- ChangeLog 28 May 2009 12:44:48 -0000 1.125 |
23 | +++ ChangeLog 5 Jun 2009 12:13:56 -0000 1.126 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for media-video/kmplayer |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/ChangeLog,v 1.125 2009/05/28 12:44:48 scarabeus Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/ChangeLog,v 1.126 2009/06/05 12:13:56 scarabeus Exp $ |
29 | + |
30 | +*kmplayer-0.11.1a (05 Jun 2009) |
31 | + |
32 | + 05 Jun 2009; Tomas Chvatal <scarabeus@g.o> |
33 | + +kmplayer-0.11.1a.ebuild: |
34 | + Version bump. |
35 | |
36 | *kmplayer-0.11.1 (28 May 2009) |
37 | *kmplayer-0.10.0c-r2 (28 May 2009) |
38 | |
39 | |
40 | |
41 | 1.1 media-video/kmplayer/kmplayer-0.11.1a.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/kmplayer/kmplayer-0.11.1a.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/kmplayer/kmplayer-0.11.1a.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: kmplayer-0.11.1a.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/kmplayer-0.11.1a.ebuild,v 1.1 2009/06/05 12:13:56 scarabeus Exp $ |
51 | |
52 | EAPI="2" |
53 | |
54 | KDE_LINGUAS="cs da de el en_GB es et fr ga gl it ja km ku lt lv mai nb nds nl |
55 | nn pl pt pt_BR ro ru sk sv tr uk" |
56 | |
57 | KMNAME="extragear/multimedia" |
58 | inherit kde4-base |
59 | |
60 | MY_P="${P/_/-}" |
61 | DESCRIPTION="KMPlayer is a Video player plugin for Konqueror and basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend." |
62 | HOMEPAGE="http://kmplayer.kde.org/" |
63 | SRC_URI="http://${PN}.kde.org/pkgs/${MY_P}.tar.bz2" |
64 | |
65 | LICENSE="GPL-2" |
66 | KEYWORDS="~amd64 ~x86" |
67 | SLOT="4" |
68 | IUSE="cairo debug doc expat npp" |
69 | |
70 | DEPEND=" |
71 | expat? ( >=dev-libs/expat-2.0.1 ) |
72 | cairo? ( |
73 | x11-libs/cairo |
74 | x11-libs/pango |
75 | ) |
76 | npp? ( |
77 | dev-libs/dbus-glib |
78 | >=x11-libs/gtk+-2.10.14 |
79 | ) |
80 | " |
81 | RDEPEND="${DEPEND} |
82 | !media-video/kmplayer:4.1 |
83 | || ( |
84 | media-video/mplayer |
85 | media-video/mplayer-bin |
86 | ) |
87 | " |
88 | |
89 | S="${WORKDIR}/${MY_P}" |
90 | |
91 | pkg_setup() { |
92 | if has_version "media-video/mplayer-bin"; then |
93 | echo |
94 | elog 'NOTICE: You have mplayer-bin installed; you may need to configure' |
95 | elog 'NOTICE: kmplayer to use it from within the application.' |
96 | echo |
97 | fi |
98 | |
99 | kde4-base_pkg_setup |
100 | } |
101 | |
102 | src_prepare() { |
103 | # do not install icons |
104 | sed -i \ |
105 | -e "s:add_subdirectory(icons):#add_subdirectory(icons):g" \ |
106 | CMakeLists.txt || die "removing icons failed" |
107 | |
108 | # fix the install dir for docs |
109 | sed -i \ |
110 | -e "s|\${HTML_INSTALL_DIR}/en|\${HTML_INSTALL_DIR}/en SUBDIR ${PN}|" \ |
111 | doc/CMakeLists.txt || die "fixing docs target dir failed" |
112 | |
113 | # make docs optional |
114 | sed -i \ |
115 | -e "s:add_subdirectory(doc):macro_optional_add_subdirectory(doc):g" \ |
116 | CMakeLists.txt || die "failed to make docs optional" |
117 | |
118 | kde4-base_src_prepare |
119 | } |
120 | |
121 | src_configure() { |
122 | mycmakeargs="${mycmakeargs} |
123 | $(cmake-utils_use_build doc) |
124 | $(cmake-utils_use cairo KMPLAYER_BUILT_WITH_CAIRO) |
125 | $(cmake-utils_use expat KMPLAYER_BUILT_WITH_EXPAT) |
126 | $(cmake-utils_use npp KMPLAYER_BUILT_WITH_NPP)" |
127 | |
128 | kde4-base_src_configure |
129 | } |