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

35 lines
1.1 KiB
Text

# Template file for 'qt-designer'.
#
short_desc="Qt GUI designer"
long_desc="${long_desc}
Qt Designer is a tool for designing and building graphical user
interfaces (GUIs) from Qt components."
gtk_iconcache_dirs="/usr/share/icons/hicolor"
# XXX Add missing gst-plugins-good dependency.
Add_dependency run hicolor-icon-theme
Add_dependency run qt-plugin-gstreamer
Add_dependency run qt
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/qt/plugins \
${DESTDIR}/usr/bin \
${DESTDIR}/usr/share/icons/hicolor/128x128/apps \
${DESTDIR}/usr/share/applications
mv ${SRCPKGDESTDIR}/usr/bin/designer ${DESTDIR}/usr/bin || return 1
mv ${SRCPKGDESTDIR}/usr/lib/libQtDesigner.so.* \
${DESTDIR}/usr/lib || return 1
mv ${SRCPKGDESTDIR}/usr/lib/libQtDesignerComponents.so.* \
${DESTDIR}/usr/lib || return 1
mv ${SRCPKGDESTDIR}/usr/lib/qt/plugins/designer \
${DESTDIR}/usr/lib/qt/plugins || return 1
for d in /usr/share/icons/hicolor/128x128/apps \
/usr/share/applications; do
mkdir -p ${DESTDIR}/${d} || return 1
mv ${SRCPKGDESTDIR}/${d}/designer.* ${DESTDIR}/${d} || return 1
done
}