From: | "Markos Chandras (hwoarang)" <hwoarang@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/qmpdclient: ChangeLog qmpdclient-1.1.0-r1.ebuild |
Date: | Mon, 20 Apr 2009 23:35:18 |
Message-Id: | E1Lw319-0002VN-VN@stork.gentoo.org |
1 | hwoarang 09/04/20 23:35:15 |
2 | |
3 | Modified: ChangeLog |
4 | Added: qmpdclient-1.1.0-r1.ebuild |
5 | Log: |
6 | Fix translations installation |
7 | (Portage version: 2.2_rc31/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.37 media-sound/qmpdclient/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qmpdclient/ChangeLog?rev=1.37&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qmpdclient/ChangeLog?rev=1.37&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qmpdclient/ChangeLog?r1=1.36&r2=1.37 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/ChangeLog,v |
19 | retrieving revision 1.36 |
20 | retrieving revision 1.37 |
21 | diff -u -r1.36 -r1.37 |
22 | --- ChangeLog 6 Apr 2009 00:15:08 -0000 1.36 |
23 | +++ ChangeLog 20 Apr 2009 23:35:15 -0000 1.37 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for media-sound/qmpdclient |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/ChangeLog,v 1.36 2009/04/06 00:15:08 hwoarang Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/ChangeLog,v 1.37 2009/04/20 23:35:15 hwoarang Exp $ |
29 | + |
30 | +*qmpdclient-1.1.0-r1 (21 Apr 2009) |
31 | + |
32 | + 21 Apr 2009; Markos Chandras <hwoarang@g.o> |
33 | + +qmpdclient-1.1.0-r1.ebuild: |
34 | + Fix translations installation |
35 | |
36 | *qmpdclient-1.1.0 (05 Apr 2009) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 media-sound/qmpdclient/qmpdclient-1.1.0-r1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qmpdclient/qmpdclient-1.1.0-r1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qmpdclient/qmpdclient-1.1.0-r1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: qmpdclient-1.1.0-r1.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-sound/qmpdclient/qmpdclient-1.1.0-r1.ebuild,v 1.1 2009/04/20 23:35:15 hwoarang Exp $ |
51 | |
52 | EAPI="2" |
53 | |
54 | inherit qt4 |
55 | |
56 | MY_PN="${PN}-ne" |
57 | MY_P="${MY_PN}-${PV}" |
58 | |
59 | DESCRIPTION="QMPDClient with NBL additions, such as lyrics' display" |
60 | HOMEPAGE="http://bitcheese.net/wiki/QMPDClient" |
61 | SRC_URI="mirror://gentoo/${MY_P}.tar.gz" |
62 | |
63 | LICENSE="GPL-2" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" |
66 | IUSE="debug" |
67 | |
68 | DEPEND="x11-libs/qt-gui:4[dbus]" |
69 | RDEPEND="${DEPEND}" |
70 | |
71 | S="${WORKDIR}/${MY_P}" |
72 | |
73 | src_prepare() { |
74 | # Fix the install path |
75 | sed -i -e "s:PREFIX = /usr/local:PREFIX = /usr:" qmpdclient.pro \ |
76 | || die "sed failed (install path)" |
77 | |
78 | # nostrip fix |
79 | sed -i -e "s:CONFIG += :CONFIG += nostrip :" qmpdclient.pro \ |
80 | || die "sed failed (nostrip)" |
81 | |
82 | sed -i -e "s:+= -O2 -g0 -s:+= -O2 -g0:" qmpdclient.pro \ |
83 | || die "sed failed (nostrip)" |
84 | } |
85 | |
86 | src_configure() { |
87 | eqmake4 qmpdclient.pro |
88 | } |
89 | |
90 | src_compile() { |
91 | emake || die "emake failed" |
92 | # generate translations |
93 | emake translate || die "failed to generate translations" |
94 | } |
95 | |
96 | src_install() { |
97 | dodoc README AUTHORS THANKSTO Changelog || die "Installing docs failed" |
98 | for res in 16 22 64 ; do |
99 | insinto /usr/share/icons/hicolor/${res}x${res}/apps/ |
100 | newins icons/qmpdclient${res}.png ${PN}.png || die "Installing icons failed" |
101 | done |
102 | |
103 | newbin qmpdclient qmpdclient-ne || die "Installing binary failed" |
104 | make_desktop_entry qmpdclient-ne "QMPDClient-ne" ${PN} \ |
105 | "Qt;AudioVideo;Audio;" || die "Installing desktop entry failed" |
106 | |
107 | # Install translations |
108 | insinto /usr/share/QMPDClient/translations/ |
109 | doins -r lang/*.qm || die "failed to install translations" |
110 | } |