# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-pitfdll/gst-plugins-pitfdll-0.8.1-r1.ebuild,v 1.4 2005/12/05 23:13:56 zaheerm Exp $ inherit eutils DESCRIPTION="GStreamer plugin for Win32 DLL loading" HOMEPAGE="http://ronald.bitfreak.net/pitfdll.php" SRC_URI="http://ftp.debian.org/debian/pool/contrib/g/gstreamer0.10-pitfdll/gstreamer0.10-pitfdll_0.9.1.1+cvs20060312.orig.tar.gz" SLOT=0.10 LICENSE="GPL-2" KEYWORDS="x86" IUSE="" S=${WORKDIR}/pitfdll-${PV} DEPEND=">=media-libs/gstreamer-0.10.0 >=media-libs/gst-plugins-base-0.10.0" RDEPEND="$DEPEND media-libs/win32codecs" src_install() { make install DESTDIR="${D}" || die "install failed" dodoc AUTHORS ChangeLog NEWS README } # ripped from gst-plugins.eclass update_registry() { einfo "Updating gstreamer plugins registry for gstreamer ${SLOT}..." gst-register-${SLOT} } pkg_postinst() { update_registry } pkg_postrm() { update_registry }