# 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" SRC_URI="http://kino.schirmacher.de/filemanager/download/40/${P}.tar.gz" LICENSE="GPL-2" IUSE="debug" SLOT="0" KEYWORDS="x86 ~amd64" DEPEND="=dev-cpp/gtkmm-2.4* >=media-video/kino-0.7" src_unpack() { unpack ${P}.tar.gz epatch ${FILESDIR}/timfx-0.2.2-kino_opengl_utility.h.patch } src_compile() { econf \ $(use_enable debug) \ || die "econf failed!" emake || die } src_install () { einstall || die # don't know why it doesn't install in /usr/lib/kino-gtk2 # like kinoplus or dvtitler # but these symlinks fix this mkdir -p ${D}/usr/lib/kino-gtk2/ ln -s ../libtimfx.so.0.0.0 ${D}/usr/lib/kino-gtk2/ ln -s ../libtimfx.so.0 ${D}/usr/lib/kino-gtk2/ ln -s ../libtimfx.so ${D}/usr/lib/kino-gtk2/ ln -s ../libtimfx.la ${D}/usr/lib/kino-gtk2/ dodoc AUTHORS INSTALL README NEWS }