blob: 5a0cbc375337992366a9be3a148ddddc84d9268b (
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
44
45
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/noteedit/noteedit-2.8.1-r3.ebuild,v 1.4 2009/06/10 14:49:50 armin76 Exp $
EAPI=1
ARTS_REQUIRED="never"
LANGS_DOC="de"
USE_KEG_PACKAGING="yes"
inherit kde eutils
DESCRIPTION="Musical score editor."
HOMEPAGE="http://noteedit.berlios.de/"
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE="kmid tse3"
DEPEND="kmid? ( || ( kde-base/kmid:3.5 kde-base/kdemultimedia:3.5 ) )
tse3? ( >=media-libs/tse3-0.3.1 )"
RDEPEND="${DEPEND}"
need-kde 3.5
PATCHES=( "${FILESDIR}/${P}-desktop-file.patch" "${FILESDIR}/${P}+gcc-4.3.patch" "${FILESDIR}/${P}+gcc-4.3.1.patch" "${FILESDIR}/${P}-mxmlexport.patch" )
src_compile() {
use tse3 || use kmid || myconf="--without-libs"
use kmid && myconf="${myconf} --with-libkmid-include=$KDEDIR/include
--with-libkmid-libs=$KDEDIR/$(get_libdir)"
myconf="$(use_with tse3 libtse3) \
$(use_with kmid libkmid) ${myconf}"
rm -f "${S}/configure"
kde_src_compile
}
src_install() {
kde_src_install
dodoc FAQ FAQ.de
docinto examples
dodoc noteedit/examples/*
}
|