[arch-commits] Commit in qt5-doc/repos/extra-any (PKGBUILD PKGBUILD)
Date: Monday, January 30, 2017 @ 23:00:35 Author: arojas Revision: 287781 archrelease: copy trunk to extra-any Added: qt5-doc/repos/extra-any/PKGBUILD (from rev 287780, qt5-doc/trunk/PKGBUILD) Deleted: qt5-doc/repos/extra-any/PKGBUILD --+ PKGBUILD | 130 ++--- 1 file changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-01-30 22:59:47 UTC (rev 287780) +++ PKGBUILD2017-01-30 23:00:35 UTC (rev 287781) @@ -1,65 +0,0 @@ -# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $ -# Maintainer: Felix Yan -# Contributor: Andrea Scarpino -# Contributor: Michael Hansen - -pkgname=qt5-doc -_qtver=5.8.0 -pkgver=${_qtver/-/} -pkgrel=1 -arch=('any') -url='http://qt-project.org/' -license=('GPL3' 'LGPL3' 'FDL' 'custom') -pkgdesc='A cross-platform application and UI framework (Documentation)' -depends=('qt5-base') -makedepends=('qt5-tools' 'python2' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr' 'libxss') -groups=('qt' 'qt5') -_pkgfqn="qt-everywhere-opensource-src-${_qtver}" -source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz";) -md5sums=('0cd3d9e1a6fed36e88adcb72e9fe') - -prepare() { - cd ${_pkgfqn} - - # Use python2 for Python 2.x - find . -name '*.py' -exec sed -i \ -'s|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} + - find -name '*.pro' -o -name '*.pri' -o -name '*.prf' | xargs sed -i -e 's|python -c|python2 -c|g' -e 's|python \$|python2 \$|g' - - ln -s /usr/bin qttools/ - ln -s /usr/bin/{rcc,uic,moc} qtbase/bin/ - - # workaround c++11 detection with GCC6 - sed -e '/requires(c++11)/d' -i qtserialbus/qtserialbus.pro - - # Hack to force using python2 - cd "$srcdir" - mkdir -p bin - ln -s /usr/bin/python2 bin/python -} - -build() { - cd ${_pkgfqn} - - export PATH="$srcdir/bin:$PATH" - PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \ --prefix /usr \ --docdir /usr/share/doc/qt \ --headerdir /usr/include/qt \ --archdatadir /usr/lib/qt \ --datadir /usr/share/qt \ --sysconfdir /etc/xdg \ --examplesdir /usr/share/doc/qt/examples - make docs -} - -package() { - cd ${_pkgfqn} - make INSTALL_ROOT="$pkgdir" install_docs - - install -d "$pkgdir"/usr/share/licenses - ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} - -# Fix conflicts with qt5-examples - rm -r "$pkgdir"/usr/share/doc/qt/examples -} Copied: qt5-doc/repos/extra-any/PKGBUILD (from rev 287780, qt5-doc/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-01-30 23:00:35 UTC (rev 287781) @@ -0,0 +1,65 @@ +# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Michael Hansen + +pkgname=qt5-doc +_qtver=5.8.0 +pkgver=${_qtver/-/} +pkgrel=2 +arch=('any') +url='http://qt-project.org/' +license=('GPL3' 'LGPL3' 'FDL' 'custom') +pkgdesc='A cross-platform application and UI framework (Documentation)' +depends=('qt5-base') +makedepends=('qt5-tools' 'python2' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr' 'libxss' 'libxcomposite') +groups=('qt' 'qt5') +_pkgfqn="qt-everywhere-opensource-src-${_qtver}" +source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz";) +md5sums=('0cd3d9e1a6fed36e88adcb72e9fe') + +prepare() { + cd ${_pkgfqn} + + # Use python2 for Python 2.x + find . -name '*.py' -exec sed -i \ +'s|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} + + find -name '*.pro' -o -name '*.pri' -o -name '*.prf' | xargs sed -i -e 's|python -c|python2 -c|g' -e 's|python \$|python2 \$|g' + + ln -s /usr/bin qttools/ + ln -s /usr/bin/{rcc,uic,moc} qtbase/bin/ + + # workaround c++11 detection with GCC6 + sed -e '/requires(c++11)/d' -i qtserialbus/qtserialbus.pro + + # Hack to force using python2 + cd "$srcdir" + mkdir -p bin + ln -s /usr/bin/python2 bin/python +} + +build() { + cd ${_pkgfqn} + + export PATH="$srcdir/bin:$PATH" + PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \ +-prefix /usr \ +-docdir /usr/share/doc/qt \ +-headerdir /usr/include/qt \ +-archdatadir /usr/lib/qt \ +-datadir /usr/share/qt \ +-sysconfdir /etc/xdg \ +-examplesdir /usr/share/doc/qt/examples + make docs +} + +package() { + cd ${_pkgfqn} + make INSTALL_ROOT="$pkgdir" install_docs + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} + +# Fix conflicts with qt5-examples + rm -r "$pkgdir"/usr/share/doc/qt/examples +}
[arch-commits] Commit in qt5-doc/repos/extra-any (PKGBUILD PKGBUILD)
Date: Monday, October 17, 2016 @ 16:09:20 Author: arojas Revision: 278895 archrelease: copy trunk to extra-any Added: qt5-doc/repos/extra-any/PKGBUILD (from rev 278894, qt5-doc/trunk/PKGBUILD) Deleted: qt5-doc/repos/extra-any/PKGBUILD --+ PKGBUILD | 131 ++--- 1 file changed, 65 insertions(+), 66 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-10-17 16:09:01 UTC (rev 278894) +++ PKGBUILD2016-10-17 16:09:20 UTC (rev 278895) @@ -1,66 +0,0 @@ -# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $ -# Maintainer: Felix Yan -# Contributor: Andrea Scarpino -# Contributor: Michael Hansen - -pkgname=qt5-doc -_qtver=5.7.0 -pkgver=${_qtver/-/} -pkgrel=1 -arch=('any') -url='http://qt-project.org/' -license=('GPL3' 'LGPL' 'FDL' 'custom') -pkgdesc='A cross-platform application and UI framework (Documentation)' -depends=('qt5-base') -makedepends=('qt5-tools' 'python2' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr' 'libxss') -groups=('qt' 'qt5') -_pkgfqn="qt-everywhere-opensource-src-${_qtver}" -source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz";) -md5sums=('63ec6b584757eef8cd713e4958297251') - -prepare() { - cd ${_pkgfqn} - - # Use python2 for Python 2.x - find . -name '*.py' -exec sed -i \ -'s|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} + - find -name '*.pro' -o -name '*.pri' -o -name '*.prf' | xargs sed -i -e 's|python -c|python2 -c|g' -e 's|python \$|python2 \$|g' - - ln -s /usr/lib/qt/bin qttools/ - ln -s /usr/lib/qt/bin/{rcc,uic,moc} qtbase/bin/ - - # workaround c++11 detection with GCC6 - sed -e '/requires(c++11)/d' -i qtserialbus/qtserialbus.pro - - # Hack to force using python2 - cd "$srcdir" - mkdir -p bin - ln -s /usr/bin/python2 bin/python -} - -build() { - cd ${_pkgfqn} - - export PATH="$srcdir/bin:$PATH" - PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \ --prefix /usr \ --bindir /usr/lib/qt/bin \ --docdir /usr/share/doc/qt \ --headerdir /usr/include/qt \ --archdatadir /usr/lib/qt \ --datadir /usr/share/qt \ --sysconfdir /etc/xdg \ --examplesdir /usr/share/doc/qt/examples - make docs -} - -package() { - cd ${_pkgfqn} - make INSTALL_ROOT="$pkgdir" install_docs - - install -d "$pkgdir"/usr/share/licenses - ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} - -# Fix conflicts with qt5-examples - rm -r "$pkgdir"/usr/share/doc/qt/examples -} Copied: qt5-doc/repos/extra-any/PKGBUILD (from rev 278894, qt5-doc/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-10-17 16:09:20 UTC (rev 278895) @@ -0,0 +1,65 @@ +# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Michael Hansen + +pkgname=qt5-doc +_qtver=5.7.0 +pkgver=${_qtver/-/} +pkgrel=1 +arch=('any') +url='http://qt-project.org/' +license=('GPL3' 'LGPL3' 'FDL' 'custom') +pkgdesc='A cross-platform application and UI framework (Documentation)' +depends=('qt5-base') +makedepends=('qt5-tools' 'python2' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr' 'libxss') +groups=('qt' 'qt5') +_pkgfqn="qt-everywhere-opensource-src-${_qtver}" +source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz";) +md5sums=('63ec6b584757eef8cd713e4958297251') + +prepare() { + cd ${_pkgfqn} + + # Use python2 for Python 2.x + find . -name '*.py' -exec sed -i \ +'s|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} + + find -name '*.pro' -o -name '*.pri' -o -name '*.prf' | xargs sed -i -e 's|python -c|python2 -c|g' -e 's|python \$|python2 \$|g' + + ln -s /usr/bin qttools/ + ln -s /usr/bin/{rcc,uic,moc} qtbase/bin/ + + # workaround c++11 detection with GCC6 + sed -e '/requires(c++11)/d' -i qtserialbus/qtserialbus.pro + + # Hack to force using python2 + cd "$srcdir" + mkdir -p bin + ln -s /usr/bin/python2 bin/python +} + +build() { + cd ${_pkgfqn} + + export PATH="$srcdir/bin:$PATH" + PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \ +-prefix /usr \ +-docdir /usr/share/doc/qt \ +-headerdir /usr/include/qt \ +-archdatadir /usr/lib/qt \ +-datadir /usr/share/qt \ +-sysconfdir /etc/xdg \ +-examplesdir /usr/share/doc/qt/examples + make docs +} + +package() { + cd ${_pkgfqn} + make INSTALL_ROOT="$pkgdir" install_docs + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} + +# Fix conflicts with qt5-examples + rm -r "$pkgdir"/usr/share/doc/qt/examples +}
[arch-commits] Commit in qt5-doc/repos/extra-any (PKGBUILD PKGBUILD)
Date: Saturday, May 14, 2016 @ 11:13:42 Author: arojas Revision: 267944 archrelease: copy trunk to extra-any Added: qt5-doc/repos/extra-any/PKGBUILD (from rev 267943, qt5-doc/trunk/PKGBUILD) Deleted: qt5-doc/repos/extra-any/PKGBUILD --+ PKGBUILD | 125 - 1 file changed, 67 insertions(+), 58 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-05-14 09:12:58 UTC (rev 267943) +++ PKGBUILD2016-05-14 09:13:42 UTC (rev 267944) @@ -1,58 +0,0 @@ -# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $ -# Maintainer: Felix Yan -# Contributor: Andrea Scarpino -# Contributor: Michael Hansen - -pkgname=qt5-doc -_qtver=5.6.0 -pkgver=${_qtver/-/} -pkgrel=2 -arch=('any') -url='http://qt-project.org/' -license=('GPL3' 'LGPL' 'FDL' 'custom') -pkgdesc='A cross-platform application and UI framework (Documentation)' -depends=('qt5-base') -makedepends=('qt5-tools' 'python2') -conflicts=('qt') -groups=('qt' 'qt5') -_pkgfqn="qt-everywhere-opensource-src-${_qtver}" -source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz";) -md5sums=('47763c168f58b1196271b231f03c8bae') - -prepare() { - cd ${_pkgfqn} - - # Use python2 for Python 2.x - find . -name '*.py' -exec sed -i \ -'s|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} + - find -name '*.pro' -o -name '*.pri' | xargs sed -i -e 's|python -c|python2 -c|g' -e 's|python \$|python2 \$|g' - - ln -s /usr/lib/qt/bin qttools/ - ln -s /usr/lib/qt/bin/{rcc,uic,moc} qtbase/bin/ -} - -build() { - cd ${_pkgfqn} - - PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \ --prefix /usr \ --bindir /usr/lib/qt/bin \ --docdir /usr/share/doc/qt \ --headerdir /usr/include/qt \ --archdatadir /usr/lib/qt \ --datadir /usr/share/qt \ --sysconfdir /etc/xdg \ --examplesdir /usr/share/doc/qt/examples - make docs -} - -package() { - cd ${_pkgfqn} - make INSTALL_ROOT="$pkgdir" install_docs - - install -d "$pkgdir"/usr/share/licenses - ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} - -# Fix conflicts with qt5-examples - rm -r "$pkgdir"/usr/share/doc/qt/examples -} Copied: qt5-doc/repos/extra-any/PKGBUILD (from rev 267943, qt5-doc/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-05-14 09:13:42 UTC (rev 267944) @@ -0,0 +1,67 @@ +# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Michael Hansen + +pkgname=qt5-doc +_qtver=5.6.0 +pkgver=${_qtver/-/} +pkgrel=3 +arch=('any') +url='http://qt-project.org/' +license=('GPL3' 'LGPL' 'FDL' 'custom') +pkgdesc='A cross-platform application and UI framework (Documentation)' +depends=('qt5-base') +makedepends=('qt5-tools' 'python2' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr' 'libxss') +conflicts=('qt') +groups=('qt' 'qt5') +_pkgfqn="qt-everywhere-opensource-src-${_qtver}" +source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz";) +md5sums=('47763c168f58b1196271b231f03c8bae') + +prepare() { + cd ${_pkgfqn} + + # Use python2 for Python 2.x + find . -name '*.py' -exec sed -i \ +'s|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} + + find -name '*.pro' -o -name '*.pri' -o -name '*.prf' | xargs sed -i -e 's|python -c|python2 -c|g' -e 's|python \$|python2 \$|g' + + ln -s /usr/lib/qt/bin qttools/ + ln -s /usr/lib/qt/bin/{rcc,uic,moc} qtbase/bin/ + + # workaround c++11 detection with GCC6 + sed -e '/requires(c++11)/d' -i qtserialbus/qtserialbus.pro + + # Hack to force using python2 + cd "$srcdir" + mkdir -p bin + ln -s /usr/bin/python2 bin/python +} + +build() { + cd ${_pkgfqn} + + export PATH="$srcdir/bin:$PATH" + PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \ +-prefix /usr \ +-bindir /usr/lib/qt/bin \ +-docdir /usr/share/doc/qt \ +-headerdir /usr/include/qt \ +-archdatadir /usr/lib/qt \ +-datadir /usr/share/qt \ +-sysconfdir /etc/xdg \ +-examplesdir /usr/share/doc/qt/examples + make docs +} + +package() { + cd ${_pkgfqn} + make INSTALL_ROOT="$pkgdir" install_docs + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} + +# Fix conflicts with qt5-examples + rm -r "$pkgdir"/usr/share/doc/qt/examples +}