Don't like ads? PRO users don't see any ads ;-)
Guest

qt-symbian

By: a guest on Aug 18th, 2010  |  syntax: Bash  |  size: 1.91 KB  |  hits: 238  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Bernhard Friedreich <friesoft@gmail.com>
  2.  
  3. pkgname=qt-symbian
  4. pkgver=4.6.3
  5. pkgrel=1
  6. pkgdesc="Qt for symbian"
  7. url="http://brunoabinader.blogspot.com/2010/06/unofficial-qt-463-for-symbian-linux.html"
  8. license=('GPL')
  9. arch=('i686' 'x86_64')
  10. depends=('wine' 'zlib' 'openssl')
  11. [ "$CARCH" == "x86_64" ] && depends=('bin32-wine' 'zlib' 'openssl')
  12. install=qt-symbian.install
  13.  
  14. build() {
  15.   cd $srcdir
  16.  
  17.    if [ -d downloads ]; then
  18.     cd downloads
  19.   else
  20.     mkdir downloads
  21.     cd downloads
  22.   fi
  23.  
  24.   wget -c -O S60_5th_Edition_SDK_v1_0_en.zip http://sw.nokia.com/id/577ad48d-290c-4bb5-8bdf-779ea8a5bc6c/S60_5th_Edition_SDK_v1_0_en.zip
  25.   wget -c -O s60_open_c_cpp_plug_in_v1_6_en.zip http://qdrive.net/index.php/page-file_share-choice-download_file-id_file-161544-ce-0
  26.   wget -c http://www.codesourcery.com/public/gnu_toolchain/arm-none-symbianelf/gnu-csl-arm-2005Q1C-arm-none-symbianelf-i686-pc-linux-gnu.tar.bz2
  27.   wget -c http://martin.st/symbian/gnupoc-package-1.15.tar.gz
  28.   wget -c http://franciscoalecrim.com/lizardo/gnupoc_1.15_installer_v2.sh
  29.   wget -c http://get.qt.nokia.com/qt/source/qt-symbian-opensource-4.6.3.exe
  30.   wget -c http://get.qt.nokia.com/qt/solutions/qt-mobility-symbian-opensource-1.0.0.zip
  31.   wget -c http://get.qt.nokia.com/nokiasmartinstaller/nokiasmartinstallerforsymbian-0.18beta.zip
  32.   wget -c http://franciscoalecrim.com/abinader/qt_for_symbian_4.6.3_all_in_one_linux_installer_v2.sh
  33.  
  34.   install -d $pkgdir/opt/gnupoc1_15
  35.   chmod +x gnupoc_1.15_installer_v2.sh
  36.   ./gnupoc_1.15_installer_v2.sh $srcdir/downloads $pkgdir/opt/gnupoc1_15 5.0
  37.  
  38.   install -d $pkgdir/opt/qt463symbian
  39.   export EPOCROOT=$pkgdir/opt/gnupoc1_15/symbian-sdks/5.0/
  40.   export PATH=$pkgdir/opt/qt463symbian/bin:$pkgdir/opt/gnupoc1_15/bin:$PATH
  41.  
  42.   chmod +x qt_for_symbian_4.6.3_all_in_one_linux_installer_v2.sh
  43.   ./qt_for_symbian_4.6.3_all_in_one_linux_installer_v2.sh $srcdir/downloads $pkgdir/opt/qt463symbian
  44. }