# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="timfx, the modest little collection of Kino plugins with the immodest name." HOMEPAGE="http://www.k-3d.com/kino/" SRC_URI="http://www.k-3d.com/kino/${P}.tar.gz" LICENSE="GPL-2" IUSE="" SLOT="0" KEYWORDS="x86" DEPEND="=dev-cpp/gtkmm-1.2* >=media-video/kino-0.6" src_unpack() { unpack ${P}.tar.gz epatch ${FILESDIR}/timfx-0.1.12-imlib.patch } src_compile() { sed -i -e "s:/usr/local:${D}/usr:" Makefile.in || die "kino path patching failed!" sed -i -e "s:KINO_INCLUDE = \$(KINO_PREFIX)/include/kino:KINO_INCLUDE = /usr/include/kino:" Makefile.in || die "kino path patching failed!" econf \ $(use_enable debug) \ || die "econf failed!" emake || die } src_install () { einstall || die dodoc AUTHORS INSTALL README NEWS }