summaryrefslogtreecommitdiff
blob: a25e2e736048013fd3a0dec4e56077b86d18d158 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/cantus/cantus-3.0.2.ebuild,v 1.3 2008/02/29 20:04:33 carlo Exp $

inherit autotools eutils

MY_P=${P}-testing

DESCRIPTION="Application for tagging and renaming audio files."
HOMEPAGE="http://cantus.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.src.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""

RDEPEND=">=dev-libs/glib-2.12.11
	>=dev-cpp/gtkmm-2.10
	>=dev-cpp/libglademm-2.6.3
	>=dev-libs/libsigc++-2.0.17
	media-libs/libvorbis
	media-libs/libogg"
DEPEND="${RDEPEND}
	dev-util/pkgconfig
	dev-util/intltool
	sys-devel/gettext"

S="${WORKDIR}"/${MY_P}

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}"/${P}-segfault.patch
	eautoconf
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed."
	dodoc AUTHORS ChangeLog NEWS README TODO
	newicon dist/pixmaps/${PN}_tag.png ${PN}.png
	make_desktop_entry ${PN} Cantus ${PN}
}