From: | "Tomas Chvatal (scarabeus)" <scarabeus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/kid3: ChangeLog kid3-1.1.ebuild |
Date: | Mon, 27 Oct 2008 11:52:44 |
Message-Id: | E1KuQeI-0004dV-CT@stork.gentoo.org |
1 | scarabeus 08/10/27 11:52:42 |
2 | |
3 | Modified: ChangeLog |
4 | Added: kid3-1.1.ebuild |
5 | Log: |
6 | Add kid3-1.1. Now it supports kde4 if installed. |
7 | (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.31 media-sound/kid3/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/kid3/ChangeLog?rev=1.31&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/kid3/ChangeLog?rev=1.31&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/kid3/ChangeLog?r1=1.30&r2=1.31 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/media-sound/kid3/ChangeLog,v |
19 | retrieving revision 1.30 |
20 | retrieving revision 1.31 |
21 | diff -u -r1.30 -r1.31 |
22 | --- ChangeLog 11 Jun 2008 20:03:08 -0000 1.30 |
23 | +++ ChangeLog 27 Oct 2008 11:52:42 -0000 1.31 |
24 | @@ -1,6 +1,15 @@ |
25 | # ChangeLog for media-sound/kid3 |
26 | # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/media-sound/kid3/ChangeLog,v 1.30 2008/06/11 20:03:08 loki_val Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/media-sound/kid3/ChangeLog,v 1.31 2008/10/27 11:52:42 scarabeus Exp $ |
29 | + |
30 | +*kid3-1.1 (27 Oct 2008) |
31 | + |
32 | + 27 Oct 2008; Tomas Chvatal (scarabeus) <scarabeus@g.o> |
33 | + +kid3-1.1.ebuild: |
34 | + Add kid3-1.1. Enables kde4/qt4 interface based on installed kde version. |
35 | + Currently preffers kde4 over kde3. If someone wants only nonkde interface |
36 | + for QT4 will not work due to forcing dep in Cmake and for QT3 configure |
37 | + violates sandbox. |
38 | |
39 | *kid3-1.0 (11 Jun 2008) |
40 | |
41 | |
42 | |
43 | |
44 | 1.1 media-sound/kid3/kid3-1.1.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/kid3/kid3-1.1.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/kid3/kid3-1.1.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: kid3-1.1.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2008 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/media-sound/kid3/kid3-1.1.ebuild,v 1.1 2008/10/27 11:52:42 scarabeus Exp $ |
54 | |
55 | EAPI="2" |
56 | |
57 | inherit eutils cmake-utils |
58 | |
59 | DESCRIPTION="A simple ID3 tag editor for QT/KDE." |
60 | HOMEPAGE="http://kid3.sourceforge.net/" |
61 | SRC_URI="mirror://sourceforge/kid3/${P}.tar.gz" |
62 | LICENSE="GPL-2" |
63 | |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~x86" |
66 | IUSE="+flac +musicbrainz" |
67 | |
68 | # Kde cannot be disabled configure violates |
69 | # sandbox and i aint fixing it. |
70 | # Currently we preffer kde4 over kde3. |
71 | DEPEND=">=media-libs/id3lib-3.8.3 |
72 | >=media-libs/taglib-1.4-r1 |
73 | media-libs/libmp4v2 |
74 | media-libs/libvorbis |
75 | flac? ( media-libs/flac[cxx] ) |
76 | || ( |
77 | >=kde-base/kdelibs-3.9 |
78 | kde-base/kdelibs:3.5 |
79 | ) |
80 | musicbrainz? ( |
81 | media-libs/musicbrainz:3 |
82 | media-libs/tunepimp |
83 | )" |
84 | |
85 | src_configure() { |
86 | if has_version ">=kde-base/kdelibs-3.9"; then |
87 | # we shall use kde4 |
88 | # there is option WITH_KDE but kde is needed anyway |
89 | # so forcing |
90 | mycmakeargs="${mycmakeargs} |
91 | -DWITH_KDE=ON |
92 | -DWITH_TAGLIB=ON |
93 | -DWITH_VORBIS=ON |
94 | $(cmake-utils_use_with flac FLAC) |
95 | $(cmake-utils_use_with musicbrainz TUNEPIMP) |
96 | " |
97 | cmake-utils_src_configure |
98 | else |
99 | # we shall use kde3 |
100 | # Compile fails without taglib, forced on. |
101 | # Ditto for vorbis, so there you go. |
102 | econf \ |
103 | --with-kde \ |
104 | --with-taglib \ |
105 | --without-arts \ |
106 | --with-vorbis \ |
107 | $(use_with flac) |
108 | $(use_with musicbrainz) |
109 | fi |
110 | } |