--- /usr/portage/media-libs/tse3/tse3-0.2.7.ebuild 2004-10-08 13:08:17.000000000 +0300 +++ /usr/local/portage/media-libs/tse3/tse3-0.2.7.ebuild 2005-05-06 10:59:25.000000000 +0300 @@ -8,7 +8,8 @@ DESCRIPTION="TSE3 Sequencer library" HOMEPAGE="http://TSE3.sourceforge.net/" -SRC_URI="mirror://sourceforge/tse3/${P}.tar.gz" +SRC_URI="mirror://sourceforge/tse3/${P}.tar.gz + http://download.berlios.de/noteedit/tse3-patches-1.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -28,18 +29,19 @@ ;; esac - # gcc-3.4 patch - epatch ${FILESDIR}/${P}-gcc34.patch + # gcc-3.4 patch + alsa 1.0 patch + epatch ${DISTDIR}/tse3-patches-1.tar.gz + autoconf || die + libtoolize --copy --force } src_compile() { - local myconf="" + econf \ + `use_with oss ` \ + `use_with arts` \ + `use_with alsa` \ + || die "./configure failed" - use arts || myconf="${myconf} --without-arts" - use alsa || myconf="${myconf} --without-alsa" - use oss || myconf="${myconf} --without-oss" - - econf ${myconf} || die "./configure failed" emake -j1 || die }