/[gentoo-x86]/media-sound/aylet/aylet-0.5.ebuild
Gentoo

Contents of /media-sound/aylet/aylet-0.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Fri Oct 31 11:37:20 2014 UTC (6 years, 1 month ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +7 -7 lines
Fix building against sys-libs/ncurses[tinfo] (bug #526498).

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/aylet/aylet-0.5.ebuild,v 1.10 2014/08/10 21:04:12 slyfox Exp $
4
5 EAPI=5
6 inherit eutils toolchain-funcs
7
8 DESCRIPTION="Aylet plays music files in the .ay format"
9 HOMEPAGE="http://rus.members.beeb.net/aylet.html"
10 SRC_URI="http://ftp.ibiblio.org/pub/Linux/apps/sound/players/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ~ppc sparc x86"
15 IUSE="gtk"
16
17 RDEPEND="sys-libs/ncurses
18 gtk? ( x11-libs/gtk+:2 )"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig"
21
22 src_prepare() {
23 epatch "${FILESDIR}"/${P}-gtk.patch
24 }
25
26 src_compile() {
27 tc-export CC PKG_CONFIG
28
29 emake ${PN} CURSES_LIB="$( ${PKG_CONFIG} --libs ncurses)"
30 use gtk && emake gtk2
31 }
32
33 src_install() {
34 dobin ${PN}
35 use gtk && dobin x${PN}
36
37 doman ${PN}.1
38 use gtk && echo '.so aylet.1' > "${D}"/usr/share/man/man1/xaylet.1
39
40 dodoc ChangeLog NEWS README TODO
41 }

  ViewVC Help
Powered by ViewVC 1.1.20