2009-12-29 22:17:58 +00:00
|
|
|
# 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."
|
|
|
|
|
2011-11-03 16:46:10 +00:00
|
|
|
revision=1
|
|
|
|
|
2009-12-29 22:17:58 +00:00
|
|
|
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
|
|
|
|
2010-10-29 08:04:49 +00:00
|
|
|
Add_dependency run libgcc
|
2010-01-12 10:33:17 +00:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libstdc++
|
2011-11-03 16:46:10 +00:00
|
|
|
Add_dependency run libGL
|
2009-12-29 22:17:58 +00:00
|
|
|
Add_dependency run hicolor-icon-theme
|
|
|
|
Add_dependency run qt-plugin-gstreamer
|
2010-04-24 13:18:49 +00:00
|
|
|
Add_dependency run gst-plugins-good
|
2009-12-29 22:17:58 +00:00
|
|
|
Add_dependency run qt
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
mkdir -p ${DESTDIR}/usr/lib/qt/plugins \
|
|
|
|
${DESTDIR}/usr/bin \
|
|
|
|
${DESTDIR}/usr/share/icons/hicolor/128x128/apps \
|
2010-01-05 22:13:52 +00:00
|
|
|
${DESTDIR}/usr/share/applications \
|
|
|
|
${DESTDIR}/usr/share/qt/translations
|
2009-12-29 22:17:58 +00:00
|
|
|
|
2011-05-02 21:38:09 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/bin/designer ${DESTDIR}/usr/bin
|
2010-04-24 13:18:49 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/libQtDesigner.so* \
|
2011-05-02 21:38:09 +00:00
|
|
|
${DESTDIR}/usr/lib
|
2010-04-24 13:18:49 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/libQtDesignerComponents.so* \
|
2011-05-02 21:38:09 +00:00
|
|
|
${DESTDIR}/usr/lib
|
2009-12-29 22:17:58 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/qt/plugins/designer \
|
2011-05-02 21:38:09 +00:00
|
|
|
${DESTDIR}/usr/lib/qt/plugins
|
2009-12-29 22:17:58 +00:00
|
|
|
for d in /usr/share/icons/hicolor/128x128/apps \
|
|
|
|
/usr/share/applications; do
|
2011-05-02 21:38:09 +00:00
|
|
|
mkdir -p ${DESTDIR}/${d}
|
|
|
|
mv ${SRCPKGDESTDIR}/${d}/designer.* ${DESTDIR}/${d}
|
2009-12-29 22:17:58 +00:00
|
|
|
done
|
2010-01-05 22:13:52 +00:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/qt/translations/designer* \
|
2011-05-02 21:38:09 +00:00
|
|
|
${DESTDIR}/usr/share/qt/translations
|
2009-12-29 22:17:58 +00:00
|
|
|
}
|