From 524d47977344ea89aa1e616ec08b161e5cb8d386 Mon Sep 17 00:00:00 2001 From: jbu Date: Sat, 2 May 2015 02:11:38 +0200 Subject: [PATCH] qt: Add new subpackage qt-doc --- srcpkgs/qt-doc | 1 + srcpkgs/qt/template | 25 ++++++++++++++++--------- 2 files changed, 17 insertions(+), 9 deletions(-) create mode 120000 srcpkgs/qt-doc diff --git a/srcpkgs/qt-doc b/srcpkgs/qt-doc new file mode 120000 index 0000000000..382f738416 --- /dev/null +++ b/srcpkgs/qt-doc @@ -0,0 +1 @@ +qt \ No newline at end of file diff --git a/srcpkgs/qt/template b/srcpkgs/qt/template index f240bc776a..dee29fb401 100644 --- a/srcpkgs/qt/template +++ b/srcpkgs/qt/template @@ -1,19 +1,19 @@ # Template file for 'qt' pkgname=qt version=4.8.6 -revision=12 +revision=13 _distname=qt-everywhere-opensource-src patch_args="-Np1" wrksrc=${_distname}-${version} -homepage="http://qt-project.com/" +homepage="http://qt.io/" short_desc="A cross-platform application and UI framework" maintainer="Juan RP " license="GPL-3, LGPL-2.1" -distfiles="http://download.qt-project.org/official_releases/qt/4.8/${version}/${_distname}-${version}.tar.gz" +distfiles="http://download.qt.io/official_releases/qt/4.8/${version}/${_distname}-${version}.tar.gz" checksum=8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c nocross=yes -hostmakedepends="pkg-config" +hostmakedepends="sqlite pkg-config" makedepends=" libressl-devel libpng-devel MesaLib-devel libXrender-devel unixodbc-devel fontconfig-devel libXi-devel libXv-devel libXinerama-devel libXrandr-devel @@ -34,13 +34,13 @@ do_configure() { export LD="$CXX" ./configure -confirm-license -opensource \ - -prefix /usr -sysconfdir /etc -plugindir /usr/lib/qt/plugins \ - -importdir /usr/lib/qt/imports \ + -prefix /usr -sysconfdir /etc -docdir /usr/share/doc/qt \ + -plugindir /usr/lib/qt/plugins -importdir /usr/lib/qt/imports \ -translationdir /usr/share/qt/translations \ -datadir /usr/share/qt -bindir /usr/lib/qt/bin \ - -nomake demos -nomake examples -nomake docs -gtkstyle \ + -nomake demos -nomake examples -gtkstyle \ -system-sqlite -no-phonon -no-phonon-backend \ - -graphicssystem raster -openssl-linked -silent -no-rpath \ + -graphicssystem raster -openssl-linked -silent -no-pch -no-rpath \ -optimized-qmake -reduce-relocations -dbus-linked -no-openvg } do_build() { @@ -74,7 +74,7 @@ do_install() { install -m644 ${FILESDIR}/*.desktop \ ${DESTDIR}/usr/share/applications - vinstall LGPL_EXCEPTION.txt 644 usr/share/licenses/qt + vlicense LGPL_EXCEPTION.txt vmkdir usr/bin for f in ${DESTDIR}/usr/lib/qt/bin/*; do @@ -82,6 +82,13 @@ do_install() { done } +qt-doc_package() { + depends="qt-devel-tools>=${version}_${revision}" + short_desc+=" - Documentation" + pkg_install() { + vmove usr/share/doc/qt + } +} qt-designer_package() { depends="hicolor-icon-theme" short_desc+=" - GUI designer"