EAPI=1 inherit eutils qt4 versionator DESCRIPTION="Download and convert from various internet video services like Youtube etc." HOMEPAGE="http://clipgrab.de" SRC_URI="http://${PN}.de/download/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" KEYWORDS="x86" IUSE="debug" DEPEND="x11-libs/qt-gui:4" RDEPEND="x11-misc/xdg-utils media-video/ffmpeg ${DEPEND}" S="${WORKDIR}"/${PN} PATCHES=( "${FILESDIR}/${P}-without_obey.patch" ) src_compile() { cd "${S}" eqmake4 clipgrab.pro emake || die "emake failed" } src_install() { # upstream's Makefile still has no install target :( cd "${S}" dobin clipgrab || die "dobin failed" insinto /usr/share/pixmaps newins icon.png clipgrab.png make_desktop_entry clipgrab Clipgrab "" "Qt;Video;AudioVideo" }