summaryrefslogtreecommitdiffstats
path: root/extra/qt/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:25:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:25:45 +0100
commit364eb3f4561747275c1649fda3fd60c1c16632f9 (patch)
treef65644af8e9a76e84cc48e97cee5ae22fcbd6575 /extra/qt/Pkgfile
parent9291e062cb24bac5d7c7059d4dc64669c1917b33 (diff)
downloadnutyx-pakxe-364eb3f4561747275c1649fda3fd60c1c16632f9.tar.gz
nutyx-pakxe-364eb3f4561747275c1649fda3fd60c1c16632f9.tar.bz2
nutyx-pakxe-364eb3f4561747275c1649fda3fd60c1c16632f9.tar.xz
nutyx-pakxe-364eb3f4561747275c1649fda3fd60c1c16632f9.zip
Suppression des ports extra
Diffstat (limited to 'extra/qt/Pkgfile')
-rwxr-xr-xextra/qt/Pkgfile74
1 files changed, 0 insertions, 74 deletions
diff --git a/extra/qt/Pkgfile b/extra/qt/Pkgfile
deleted file mode 100755
index 308ab2ca7..000000000
--- a/extra/qt/Pkgfile
+++ /dev/null
@@ -1,74 +0,0 @@
-# Description: Librairie très évolué de chez Nokia
-# URL: http://qt.nokia.com/products/
-# Maintainer: NuTyX core team
-# Packager: lesibel at free dot fr
-# Depends on: libtiff, libmng, dbus, fontconfig, xorg-libsm, xorg-libxrandr, xorg-libxv, xorg-libxi, alsa-lib, xdg-utils, hicolor-icon-theme, libpostgresql, libmysql, unixodbc, xorg-libxinerama, xorg-libxcursor, xorg-libxfixes, mesa3d, gtk
-# Run on: libtiff,libmng,dbus,fontconfig,alsa-lib,xdg-utils,hicolor-icon-theme,libpostgresql,libmysql,unixodbc,mesa3d,gtk
-
-name=qt
-version=4.8.0
-release=1
-_name=qt-everywhere-opensource-src-${version}
-
-source=(http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-$version.tar.gz)
-
-build() {
- unset QMAKESPC
- export QT4DIR=$SRC/${_name}
- export PATH=${QT4DIR}/bin:$PATH
- export LD_LIBRARY_PATH=${QT4DIR}/lib:${LD_LIBRARY_PATH}
-
- cd ${_name}
-
- sed -i "s|-O2|$CXXFLAGS|" mkspecs/common/g++.conf
- sed -i "/^QMAKE_RPATH/s| -Wl,-rpath,||g" mkspecs/common/g++.conf
- sed -i "/^QMAKE_LFLAGS\s/s|+=|+= $LDFLAGS|g" mkspecs/common/g++.conf
-
- ./configure -confirm-license -opensource \
- -prefix /usr \
- -sysconfdir /etc \
- -plugindir /usr/lib/qt/plugins \
- -translationdir /usr/share/qt/translations \
- -datadir /usr/share/qt \
- -docdir /usr/share/doc/qt \
- -examplesdir /usr/share/doc/qt/examples \
- -demosdir /usr/share/doc/qt/demos \
- -largefile \
- -plugin-sql-{psql,mysql,sqlite} \
- -system-sqlite \
- -xmlpatterns \
- -no-phonon \
- -no-phonon-backend \
- -svg \
- -webkit \
- -scripttools \
- -system-zlib \
- -system-libtiff \
- -system-libpng \
- -system-libmng \
- -system-libjpeg \
- -openssl-linked \
- -nomake demos \
- -nomake examples \
- -nomake docs \
- -no-rpath \
- -silent \
- -optimized-qmake \
- -dbus \
- -reduce-relocations \
- -no-separate-debug-info \
- -gtkstyle \
- -opengl \
- -glib
-
- make
- make INSTALL_ROOT=$PKG install
- rm -rf $PKG/usr/doc
- # cleanup and path fixes
- find $PKG/usr/lib -type f -name '*prl' -print -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" {} \;
- sed -i -e "s|-L$SRC/${_pkgfqn}/lib||g" $PKG/usr/lib/pkgconfig/*.pc
- sed -i -e "s|$SRC/${_pkgfqn}/bin/moc|/usr/bin/moc|g" $PKG/usr/lib/pkgconfig/*.pc
- sed -i -e "s|$SRC/${_pkgfqn}/bin/uic|/usr/bin/uic|g" $PKG/usr/lib/pkgconfig/*.pc
-
-}
-