extra/qt4 to 4.8.4-18

This commit is contained in:
Kevin Mihelich 2013-05-10 18:56:40 +00:00
parent 4f5fa5527e
commit c6e9c12366
5 changed files with 38 additions and 11 deletions

View file

@ -10,7 +10,7 @@
pkgname=qt4 pkgname=qt4
pkgver=4.8.4 pkgver=4.8.4
pkgrel=17 pkgrel=18
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url='http://qt-project.org/' url='http://qt-project.org/'
license=('GPL3' 'LGPL') license=('GPL3' 'LGPL')
@ -33,13 +33,15 @@ replaces=('qt<=4.8.4')
conflicts=('qt') conflicts=('qt')
_pkgfqn="qt-everywhere-opensource-src-${pkgver}" _pkgfqn="qt-everywhere-opensource-src-${pkgver}"
source=("http://releases.qt-project.org/${pkgname}/source/${_pkgfqn}.tar.gz" source=("http://releases.qt-project.org/${pkgname}/source/${_pkgfqn}.tar.gz"
'qtconfig-qt4.desktop' 'assistant-qt4.desktop' 'designer-qt4.desktop' 'linguist-qt4.desktop' 'qtconfig-qt4.desktop' 'assistant-qt4.desktop' 'designer-qt4.desktop'
'linguist-qt4.desktop' 'qdbusviewer-qt4.desktop'
'improve-cups-support.patch') 'improve-cups-support.patch')
md5sums=('89c5ecba180cae74c66260ac732dc5cb' md5sums=('89c5ecba180cae74c66260ac732dc5cb'
'a16638f4781e56e7887ff8212a322ecc' 'a16638f4781e56e7887ff8212a322ecc'
'4f0152ba6d645e81218b23ba8beeb42d' '8a28b3f52dbeb685d4b69440b520a3e1'
'283a00ff7f662dca481b70d6daa826e0' '9727c406c240990870c905696a8c5bd1'
'027683880235708d4bc270a7ef961183' '0e384663d3dd32abe35f5331c4147569'
'b859c5673e5098c39f72b2252947049e'
'c439c7731c25387352d8453ca7574971') 'c439c7731c25387352d8453ca7574971')
build() { build() {
@ -105,11 +107,26 @@ package() {
# install missing icons and desktop files # install missing icons and desktop files
install -D -m644 src/gui/dialogs/images/qtlogo-64.png \ install -D -m644 src/gui/dialogs/images/qtlogo-64.png \
"${pkgdir}/usr/share/icons/hicolor/64x64/apps/qt4logo.png" "${pkgdir}"/usr/share/icons/hicolor/64x64/apps/qt4logo.png
install -D -m644 tools/assistant/tools/assistant/images/assistant.png \
"${pkgdir}"/usr/share/icons/hicolor/32x32/apps/assistant-qt4.png
install -D -m644 tools/assistant/tools/assistant/images/assistant-128.png \
"${pkgdir}"/usr/share/icons/hicolor/128x128/apps/assistant-qt4.png
install -D -m644 tools/designer/src/designer/images/designer.png \
"${pkgdir}"/usr/share/icons/hicolor/128x128/apps/designer-qt4.png
for icon in tools/linguist/linguist/images/icons/linguist-*-32.png ; do
size=$(echo $(basename ${icon}) | cut -d- -f2)
install -D -m644 ${icon} \
"${pkgdir}"/usr/share/icons/hicolor/${size}x${size}/apps/linguist-qt4.png
done
install -D -m644 tools/qdbus/qdbusviewer/images/qdbusviewer.png \
"${pkgdir}"/usr/share/icons/hicolor/32x32/apps/qdbusviewer-qt4.png
install -D -m644 tools/qdbus/qdbusviewer/images/qdbusviewer-128.png \
"${pkgdir}"/usr/share/icons/hicolor/128x128/apps/qdusviewer-qt4.png
install -d "${pkgdir}"/usr/share/applications install -d "${pkgdir}"/usr/share/applications
install -m644 "${srcdir}"/{assistant,designer,linguist,qtconfig}-qt4.desktop \ install -m644 "${srcdir}"/{assistant,designer,linguist,qtconfig,qdbusviewer}-qt4.desktop \
"${pkgdir}/usr/share/applications/" "${pkgdir}"/usr/share/applications/
# Useful symlinks for cmake and configure scripts # Useful symlinks for cmake and configure scripts
install -d "${pkgdir}"/usr/bin install -d "${pkgdir}"/usr/bin

View file

@ -2,7 +2,7 @@
Name=Qt4 Assistant Name=Qt4 Assistant
Comment=Shows Qt4 documentation and examples Comment=Shows Qt4 documentation and examples
Exec=assistant-qt4 Exec=assistant-qt4
Icon=assistant Icon=assistant-qt4
Terminal=false Terminal=false
Encoding=UTF-8 Encoding=UTF-8
Type=Application Type=Application

View file

@ -3,7 +3,7 @@ Name=Qt4 Designer
GenericName=Interface Designer GenericName=Interface Designer
Comment=Design GUIs for Qt4 applications Comment=Design GUIs for Qt4 applications
Exec=designer-qt4 Exec=designer-qt4
Icon=designer Icon=designer-qt4
MimeType=application/x-designer; MimeType=application/x-designer;
Terminal=false Terminal=false
Encoding=UTF-8 Encoding=UTF-8

View file

@ -2,7 +2,7 @@
Name=Qt4 Linguist Name=Qt4 Linguist
Comment=Add translations to Qt4 applications Comment=Add translations to Qt4 applications
Exec=linguist-qt4 Exec=linguist-qt4
Icon=linguist Icon=linguist-qt4
MimeType=text/vnd.trolltech.linguist;application/x-linguist; MimeType=text/vnd.trolltech.linguist;application/x-linguist;
Terminal=false Terminal=false
Encoding=UTF-8 Encoding=UTF-8

View file

@ -0,0 +1,10 @@
[Desktop Entry]
Name=Qt4 QDbusViewer
GenericName=D-Bus Debugger
Comment=Debug D-Bus applications
Exec=qdbusviewer-qt4
Icon=qdbusviewer-qt4
Terminal=false
Type=Application
Categories=Qt;Development;Debugger;