void-packages/srcpkgs/qt/qt-plugin-gstreamer.template
Juan RP 044314e928 Added qt-4.5.3 build template.
--HG--
extra : convert_revision : b8b4a237bece5c4dd0a33dc5d4c352e306b0ef35
2009-12-29 23:17:58 +01:00

25 lines
653 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 hicolor-icon-theme
Add_dependency run gst-plugins-base
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
}