diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-04-03 16:48:08 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-04-03 16:48:08 +0000 |
commit | 50138c296d173fa18bcaab813536238f121882ce (patch) | |
tree | 65f090ecd8edb23cd065434480faa23768b6d314 /media-sound/k3guitune | |
parent | Stable on ppc. (diff) | |
download | gentoo-2-50138c296d173fa18bcaab813536238f121882ce.tar.gz gentoo-2-50138c296d173fa18bcaab813536238f121882ce.tar.bz2 gentoo-2-50138c296d173fa18bcaab813536238f121882ce.zip |
Change the ebuild to use the kde eclass.
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-sound/k3guitune')
-rw-r--r-- | media-sound/k3guitune/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/k3guitune/files/k3guitune-0.4.1-configure.patch | 75 | ||||
-rw-r--r-- | media-sound/k3guitune/k3guitune-0.4.1.ebuild | 33 | ||||
-rw-r--r-- | media-sound/k3guitune/metadata.xml | 1 |
4 files changed, 100 insertions, 18 deletions
diff --git a/media-sound/k3guitune/ChangeLog b/media-sound/k3guitune/ChangeLog index 62256de46165..275dc8dbb3da 100644 --- a/media-sound/k3guitune/ChangeLog +++ b/media-sound/k3guitune/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/k3guitune -# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/k3guitune/ChangeLog,v 1.7 2004/10/15 09:18:03 eradicator Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/k3guitune/ChangeLog,v 1.8 2005/04/03 16:48:08 greg_g Exp $ + + 03 Apr 2005; Gregorio Guidi <greg_g@gentoo.org> + +files/k3guitune-0.4.1-configure.patch, metadata.xml, + k3guitune-0.4.1.ebuild: + Change the ebuild to use the kde eclass. 15 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org> : Added arts as a dependency because you can't build without mcopidl. diff --git a/media-sound/k3guitune/files/k3guitune-0.4.1-configure.patch b/media-sound/k3guitune/files/k3guitune-0.4.1-configure.patch new file mode 100644 index 000000000000..de1e258c9a1a --- /dev/null +++ b/media-sound/k3guitune/files/k3guitune-0.4.1-configure.patch @@ -0,0 +1,75 @@ +diff -Nur k3guitune-0.4.1.orig/configure k3guitune-0.4.1/configure +--- k3guitune-0.4.1.orig/configure 2004-08-18 15:10:29.000000000 +0200 ++++ k3guitune-0.4.1/configure 2005-04-03 18:41:51.000000000 +0200 +@@ -14073,71 +14073,6 @@ + fi + + +- echo "$as_me:$LINENO: checking for mcopidl" >&5 +-echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6 +- if test -n "$MCOPIDL"; then +- kde_cv_path="$MCOPIDL"; +- else +- kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'` +- +- if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- +- kde_cv_path="NONE" +- dirs="$kde_default_bindirs" +- kde_save_IFS=$IFS +- IFS=':' +- for dir in $PATH; do +- dirs="$dirs $dir" +- done +- IFS=$kde_save_IFS +- +- for dir in $dirs; do +- if test -x "$dir/mcopidl"; then +- if test -n "" +- then +- evalstr="$dir/mcopidl 2>&1 " +- if eval $evalstr; then +- kde_cv_path="$dir/mcopidl" +- break +- fi +- else +- kde_cv_path="$dir/mcopidl" +- break +- fi +- fi +- done +- +- eval "kde_cv_path_$kde_cache=$kde_cv_path" +- +- +-fi +- +- +- eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\"" +- +- fi +- +- if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then +- echo "$as_me:$LINENO: result: not found" >&5 +-echo "${ECHO_T}not found" >&6 +- +- { { echo "$as_me:$LINENO: error: The important program mcopidl was not found! +-Please check whether you installed KDE correctly. +-" >&5 +-echo "$as_me: error: The important program mcopidl was not found! +-Please check whether you installed KDE correctly. +-" >&2;} +- { (exit 1); exit 1; }; } +- +- else +- echo "$as_me:$LINENO: result: $kde_cv_path" >&5 +-echo "${ECHO_T}$kde_cv_path" >&6 +- MCOPIDL=$kde_cv_path +- +- fi +- + + echo "$as_me:$LINENO: checking for artsc-config" >&5 + echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6 diff --git a/media-sound/k3guitune/k3guitune-0.4.1.ebuild b/media-sound/k3guitune/k3guitune-0.4.1.ebuild index 36ed77992646..fba05c7f182f 100644 --- a/media-sound/k3guitune/k3guitune-0.4.1.ebuild +++ b/media-sound/k3guitune/k3guitune-0.4.1.ebuild @@ -1,29 +1,30 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/k3guitune/k3guitune-0.4.1.ebuild,v 1.5 2004/10/15 09:18:03 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/k3guitune/k3guitune-0.4.1.ebuild,v 1.6 2005/04/03 16:48:08 greg_g Exp $ -IUSE="alsa oss debug xinerama" +inherit kde -DESCRIPTION="A program for KDE 3 that lets you tune musical instruments." +DESCRIPTION="A program for KDE that lets you tune musical instruments." HOMEPAGE="http://home.planet.nl/~lamer024/k3guitune.html" SRC_URI="http://home.planet.nl/~lamer024/files/${P}.tar.bz2" - LICENSE="GPL-2" + SLOT="0" KEYWORDS="x86 ~ppc amd64" +IUSE="alsa arts oss" -DEPEND=">=kde-base/kdelibs-3 - kde-base/arts - alsa? ( media-libs/alsa-lib )" +DEPEND="alsa? ( media-libs/alsa-lib )" -src_compile() { - local myconf - myconf="$(use_enable alsa) $(use_enable oss) $(use_enable debug) $(use_with xinerama)" - econf ${myconf} || die - emake || die +need-kde 3 + +src_unpack() { + kde_src_unpack + + use arts || epatch "${FILESDIR}/${P}-configure.patch" } -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS COPYING ChangeLog INSTALL README TODO +src_compile() { + local myconf="$(use_enable alsa) $(use_enable arts) $(use_enable oss)" + + kde_src_compile } diff --git a/media-sound/k3guitune/metadata.xml b/media-sound/k3guitune/metadata.xml index f82b535a5130..a88dc78de2f0 100644 --- a/media-sound/k3guitune/metadata.xml +++ b/media-sound/k3guitune/metadata.xml @@ -2,6 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>sound</herd> +<herd>kde-other</herd> <maintainer> <email>pkdawson@gentoo.org</email> </maintainer> |