/[gentoo-x86]/media-plugins/gkrellmpc/gkrellmpc-0.1_beta10.ebuild
Gentoo

Contents of /media-plugins/gkrellmpc/gkrellmpc-0.1_beta10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Jul 20 12:13:19 2012 UTC (2 years, 1 month ago) by angelos
Branch: MAIN
CVS Tags: HEAD
Version bump

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 angelos 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     EAPI=2
6     inherit eutils gkrellm-plugin toolchain-funcs
7    
8     DESCRIPTION="A gkrellm plugin to control the MPD (Music Player Daemon)"
9     HOMEPAGE="http://mpd.wikia.com/wiki/Client:GKrellMPC"
10     SRC_URI="http://mina.naguib.ca/dist/${P}.tar.gz"
11    
12     LICENSE="GPL-2"
13     SLOT="0"
14     KEYWORDS="~amd64 ~x86"
15     IUSE="threads"
16    
17     RDEPEND=">=app-admin/gkrellm-2[X]
18     net-misc/curl"
19     DEPEND="${RDEPEND}"
20    
21     # Will open gkrellm in X11 display
22     RESTRICT="test"
23    
24     src_prepare() {
25     sed -i -e 's:gkrellm2 -p:gkrellm -p:' Makefile || die
26     use threads && epatch "${FILESDIR}"/${P}-mt.patch
27     }
28    
29     src_compile() {
30     tc-export CC
31     emake || die
32     }
33    
34     pkg_postinst() {
35     if use threads; then
36     elog "If you can't connect MPD, please unset USE threads."
37     elog "See, http://bugs.gentoo.org/276970 for information."
38     fi
39     }

  ViewVC Help
Powered by ViewVC 1.1.20