# Copyright 1999-2005 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.2 2005/10/31 02:12:13 mr_bones_ Exp $ IUSE="" 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 ) kde-base/arts 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 configure } src_install() { kde_src_install dodoc FAQ FAQ.de examples docinto examples dodoc noteedit/examples/* }