qt: Add new subpackage qt-doc
This commit is contained in:
parent
899f2acf29
commit
524d479773
|
@ -0,0 +1 @@
|
||||||
|
qt
|
|
@ -1,19 +1,19 @@
|
||||||
# Template file for 'qt'
|
# Template file for 'qt'
|
||||||
pkgname=qt
|
pkgname=qt
|
||||||
version=4.8.6
|
version=4.8.6
|
||||||
revision=12
|
revision=13
|
||||||
_distname=qt-everywhere-opensource-src
|
_distname=qt-everywhere-opensource-src
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
wrksrc=${_distname}-${version}
|
wrksrc=${_distname}-${version}
|
||||||
homepage="http://qt-project.com/"
|
homepage="http://qt.io/"
|
||||||
short_desc="A cross-platform application and UI framework"
|
short_desc="A cross-platform application and UI framework"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-3, LGPL-2.1"
|
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
|
checksum=8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c
|
||||||
|
|
||||||
nocross=yes
|
nocross=yes
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="sqlite pkg-config"
|
||||||
makedepends="
|
makedepends="
|
||||||
libressl-devel libpng-devel MesaLib-devel libXrender-devel unixodbc-devel
|
libressl-devel libpng-devel MesaLib-devel libXrender-devel unixodbc-devel
|
||||||
fontconfig-devel libXi-devel libXv-devel libXinerama-devel libXrandr-devel
|
fontconfig-devel libXi-devel libXv-devel libXinerama-devel libXrandr-devel
|
||||||
|
@ -34,13 +34,13 @@ do_configure() {
|
||||||
export LD="$CXX"
|
export LD="$CXX"
|
||||||
|
|
||||||
./configure -confirm-license -opensource \
|
./configure -confirm-license -opensource \
|
||||||
-prefix /usr -sysconfdir /etc -plugindir /usr/lib/qt/plugins \
|
-prefix /usr -sysconfdir /etc -docdir /usr/share/doc/qt \
|
||||||
-importdir /usr/lib/qt/imports \
|
-plugindir /usr/lib/qt/plugins -importdir /usr/lib/qt/imports \
|
||||||
-translationdir /usr/share/qt/translations \
|
-translationdir /usr/share/qt/translations \
|
||||||
-datadir /usr/share/qt -bindir /usr/lib/qt/bin \
|
-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 \
|
-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
|
-optimized-qmake -reduce-relocations -dbus-linked -no-openvg
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
|
@ -74,7 +74,7 @@ do_install() {
|
||||||
install -m644 ${FILESDIR}/*.desktop \
|
install -m644 ${FILESDIR}/*.desktop \
|
||||||
${DESTDIR}/usr/share/applications
|
${DESTDIR}/usr/share/applications
|
||||||
|
|
||||||
vinstall LGPL_EXCEPTION.txt 644 usr/share/licenses/qt
|
vlicense LGPL_EXCEPTION.txt
|
||||||
|
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
for f in ${DESTDIR}/usr/lib/qt/bin/*; do
|
for f in ${DESTDIR}/usr/lib/qt/bin/*; do
|
||||||
|
@ -82,6 +82,13 @@ do_install() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
qt-doc_package() {
|
||||||
|
depends="qt-devel-tools>=${version}_${revision}"
|
||||||
|
short_desc+=" - Documentation"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/share/doc/qt
|
||||||
|
}
|
||||||
|
}
|
||||||
qt-designer_package() {
|
qt-designer_package() {
|
||||||
depends="hicolor-icon-theme"
|
depends="hicolor-icon-theme"
|
||||||
short_desc+=" - GUI designer"
|
short_desc+=" - GUI designer"
|
||||||
|
|
Loading…
Reference in New Issue