View | Details | Raw Unified
Collapse All | Expand All

(-) mhwaveedit-1.2.1.ebuild.old (-15 / +10 lines)
 Lines 1-36    Link Here 
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Distributed under the terms of the GNU General Public License v2
# http://www.mtek.chalmers.se/~hjormagn/mhwaveedit-1.2.1.tar.gz
# $Header: $
IUSE="gtk2 oss sdl"
IUSE="gtk2 oss sdl"
P=${PN}-${PV/_/}
S=${WORKDIR}/${P}
DESCRIPTION="GTK2 Sound file editor (wav, and a few others.)"
DESCRIPTION="GTK2 Sound file editor (wav, and a few others.)"
SRC_URI="http://www.mtek.chalmers.se/~hjormagn/${P}.tar.gz"
SRC_URI="http://www.mtek.chalmers.se/~hjormagn/${P}.tar.gz"
HOMEPAGE="http://www.mtek.chalmers.se/~hjormagn/mhwaveedit.html"
HOMEPAGE="http://www.mtek.chalmers.se/~hjormagn/mhwaveedit.html"
SLOT="0"
SLOT="0"
LISCENSE="GPL-2"
LISCENSE="GPL-2"
KEYWORDS="x86 ~ppc ~sparc "
KEYWORDS="x86 ~ppc ~sparc"
DEPEND="virtual/x11
DEPEND="gtk2? ( >=x11-libs/gtk+-2.0.0 )
	gtk2? ( >=x11-libs/gtk+-2.0.0 )
	!gtk2? ( =x11-libs/gtk+-1.2* )
	!gtk2? ( =x11-libs/gtk+-1.2* )
	( >=media-libs/libsdl-1.2.3 )
	sdl? ( >=media-libs/libsdl-1.2.3 )
	( >=media-libs/libsndfile-1.0.1 )
	( >=media-libs/libsndfile-1.0.1 )
	( >=media-libs/portaudio-18 )"
	( >=media-libs/portaudio-18 )"
src_compile() {
src_compile() {
	local myconf
	local myconf
	
	
	use gtk2 \
	use gtk2 || myconf="${myconf} --disable-gtk2"
		&& myconf="${myconf}" \
	use oss || myconf="${myconf} --without-oss"
		|| myconf="${myconf} --disable-gtk2"
	use sdl || myconf="${myconf} --without-sdl"	
	use oss \
		&& myconf="${myconf}" \
	econf ${myconf}
		|| myconf="${myconf} --without-oss"
	
	econf ${myconf} || die
	emake || die
	emake || die
}
}