void-packages/srcpkgs/qt/qt-plugin-gstreamer.template
Juan RP 41a0c0e4e1 qt: update to 4.6.1.
--HG--
extra : convert_revision : 8cb1a7aee99507293a4309e7925ab2eb3d6bc310
2010-01-29 23:59:18 +01:00

32 lines
840 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"
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
}