/[gentoo-x86]/media-sound/qmpdclient/qmpdclient-1.1.0.ebuild
Gentoo

Contents of /media-sound/qmpdclient/qmpdclient-1.1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jun 3 00:56:09 2009 UTC (11 years, 5 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/qmpdclient/qmpdclient-1.1.0.ebuild,v 1.1 2009/04/06 00:15:08 hwoarang Exp $
4
5 EAPI="2"
6
7 inherit qt4
8
9 MY_PN="${PN}-ne"
10 MY_P="${MY_PN}-${PV}"
11
12 DESCRIPTION="QMPDClient with NBL additions, such as lyrics' display"
13 HOMEPAGE="http://bitcheese.net/wiki/QMPDClient"
14 SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
19 IUSE="debug"
20
21 DEPEND="x11-libs/qt-gui:4[dbus]"
22 RDEPEND="${DEPEND}"
23
24 S="${WORKDIR}/${MY_P}"
25
26 src_prepare() {
27 # Fix the install path
28 sed -i -e "s:PREFIX = /usr/local:PREFIX = /usr:" qmpdclient.pro \
29 || die "sed failed (install path)"
30
31 # nostrip fix
32 sed -i -e "s:CONFIG += :CONFIG += nostrip :" qmpdclient.pro \
33 || die "sed failed (nostrip)"
34
35 sed -i -e "s:+= -O2 -g0 -s:+= -O2 -g0:" qmpdclient.pro \
36 || die "sed failed (nostrip)"
37 }
38
39 src_configure() {
40 eqmake4 qmpdclient.pro
41 }
42
43 src_install() {
44 dodoc README AUTHORS THANKSTO Changelog || die "Installing docs failed"
45 for res in 16 22 64 ; do
46 insinto /usr/share/icons/hicolor/${res}x${res}/apps/
47 newins icons/qmpdclient${res}.png ${PN}.png || die "Installing icons failed"
48 done
49
50 newbin qmpdclient qmpdclient-ne || die "Installing binary failed"
51 make_desktop_entry qmpdclient-ne "QMPDClient-ne" ${PN} \
52 "Qt;AudioVideo;Audio;" || die "Installing desktop entry failed"
53 }

  ViewVC Help
Powered by ViewVC 1.1.20