void-packages/srcpkgs/qt/qt-plugin-gstreamer.template
Juan RP c17736c6df qt: sanitize deps, fix qtconfig .desktop and its logo, bumprev.
--HG--
extra : convert_revision : 4093193e90730d69465e50689299761cef36206b
2010-01-12 11:33:17 +01:00

34 lines
852 B
Text

# Template file for 'qt-plugin-gstreamer'.
#
short_desc="Qt GStreamer phonon plugin"
long_desc="${long_desc}
This package contains a Qt GStreamer plugin for the phonon backend."
gtk_iconcache_dirs="/usr/share/icons/hicolor"
revision=1
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run libgcc
Add_dependency run glib
Add_dependency run libxml2
Add_dependency run MesaLib
Add_dependency run gstreamer
Add_dependency run gst-plugins-base
Add_dependency run hicolor-icon-theme
Add_dependency run qt
do_install()
{
local icondir=/usr/share/icons/hicolor/128x128/apps
mkdir -p ${DESTDIR}/usr/lib/qt/plugins ${DESTDIR}/${icondir}
mv ${SRCPKGDESTDIR}/usr/lib/qt/plugins/phonon_backend \
${DESTDIR}/usr/lib/qt/plugins || return 1
mv ${SRCPKGDESTDIR}/${icondir}/phonon-gstreamer.png \
${DESTDIR}/${icondir} || return 1
}