summaryrefslogtreecommitdiff
blob: 75a96d0b7bfedf9eb2324258f0c40957b9e812e8 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/noteedit/noteedit-2.8.0.ebuild,v 1.3 2006/05/31 11:10:10 flameeyes Exp $

IUSE=""

ARTS_REQUIRED="yes"
inherit kde-functions kde eutils flag-o-matic

DESCRIPTION="Musical score editor (for Linux)."
HOMEPAGE="http://noteedit.berlios.de/"
SRC_URI="http://download.berlios.de/noteedit/${P}.tar.gz"

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

DEPEND="|| ( kde-base/kmid kde-base/kdemultimedia )
	media-libs/tse3"

need-kde 3

pkg_setup() {
	append-flags -fpermissive
}

src_unpack() {
	kde_src_unpack
	epatch "${FILESDIR}/${PN}-gcc4.patch"
	epatch "${FILESDIR}/${P}-qt-3.3.5.patch"

	# Force rebuilding configure for the patch above
	rm -f "${S}/configure"
}

src_install() {
	kde_src_install
	dodoc FAQ FAQ.de examples
	docinto examples
	dodoc noteedit/examples/*
}