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

Contents of /media-sound/qmpdclient/qmpdclient-1.0.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (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.5: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 # Copyright 1999-2008 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.0.8-r1.ebuild,v 1.5 2008/07/26 21:28:46 carlo Exp $
4
5 EAPI=1
6 inherit eutils multilib qt4 toolchain-funcs
7
8 DESCRIPTION="An easy-to-use Qt4 client for MPD"
9 HOMEPAGE="http://havtknut.tihlde.org/qmpdclient"
10 SRC_URI="http://havtknut.tihlde.org/${PN}/files/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
15 IUSE=""
16
17 DEPEND="|| ( x11-libs/qt-gui:4 =x11-libs/qt-4.3* )"
18
19 src_unpack() {
20 unpack ${A}
21 cd "${S}"
22
23 # Fix a crasher for amd64 and possibly others. Bug #183593.
24 epatch "${FILESDIR}"/${PV}-argc-ref-fix.patch
25
26 # Fix the install path
27 sed -i -e "s:PREFIX = /usr/local:PREFIX = /usr:" qmpdclient.pro \
28 || die "sed failed"
29 }
30
31 src_compile() {
32 eqmake4 || die "qmake failed"
33 emake || die "make failed"
34 }
35
36 src_install() {
37 dodoc README AUTHORS THANKSTO Changelog
38 for res in 16 22 32 64 128 ; do
39 insinto /usr/share/icons/hicolor/${res}x${res}/apps/
40 newins icons/qmpdclient${res}.png ${PN}.png
41 done
42
43 dobin qmpdclient || die "dobin failed"
44 make_desktop_entry qmpdclient "QMPDClient" ${PN} "Qt;AudioVideo;Audio"
45 }

  ViewVC Help
Powered by ViewVC 1.1.20