/[gentoo-x86]/media-sound/audtty/audtty-0.1.9a.ebuild
Gentoo

Contents of /media-sound/audtty/audtty-0.1.9a.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Feb 18 15:52:23 2009 UTC (10 years, 8 months ago) by chainsaw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Bump up audacious DEPEND to v1.5 where the D-Bus mess has been sorted out. Patch by Kevin Pyle <kevin.pyle@bluecoat.com> fixes link ordering and closes bug #247822 filed by Diego E. Flameeyes Pettenò <flameeyes@gentoo.org>.
(Portage version: 2.1.6.7/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/audtty/audtty-0.1.9a.ebuild,v 1.1 2008/07/05 06:39:19 drac Exp $
4
5 inherit autotools eutils toolchain-funcs
6
7 DESCRIPTION="Control Audacious from the command line with a friendly ncurses interface"
8 HOMEPAGE="http://audtty.alioth.debian.org"
9 SRC_URI="http://${PN}.alioth.debian.org/${PN}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~ppc ~x86"
14 IUSE=""
15
16 RDEPEND="sys-libs/ncurses
17 >=media-sound/audacious-1.4.4"
18 DEPEND="${RDEPEND}
19 dev-util/pkgconfig"
20
21 S=${WORKDIR}/${PN}
22
23 pkg_setup() {
24 if has_version "=media-sound/audacious-1.4*"; then
25 if ! built_with_use media-sound/audacious dbus; then
26 die "Re-emerge media-sound/audacious with USE dbus."
27 fi
28 fi
29 }
30
31 src_unpack() {
32 unpack ${A}
33 cd "${S}"
34 epatch "${FILESDIR}"/${P}-cc-and-destdir.patch
35 eautoreconf
36 }
37
38 src_compile() {
39 tc-export CC
40 econf
41 emake || die "emake failed."
42 }
43
44 src_install() {
45 emake DESTDIR="${D}" install || die "emake install failed."
46 dodoc ChangeLog README
47 }
48
49 pkg_postinst() {
50 elog "In order to run audtty over ssh or on a seperate TTY locally you need"
51 elog "to download and run the following script in a terminal on your desktop:"
52 elog ""
53 elog "http://${PN}.alioth.debian.org/dbus.sh"
54 elog ""
55 elog "Once run you will need to add ~/.dbus-session to your ~/.bashrc file."
56 }

  ViewVC Help
Powered by ViewVC 1.1.20