extra/qtscriptgenerator to 0.2.0-5

This commit is contained in:
Kevin Mihelich 2017-01-21 00:22:59 +00:00
parent d89a7060f3
commit 822ca6e13a
2 changed files with 14 additions and 19 deletions

View file

@ -1,4 +1,4 @@
# $Id: PKGBUILD 158023 2012-05-01 07:24:53Z andrea $
# $Id$
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
@ -6,28 +6,34 @@
pkgname=qtscriptgenerator
pkgver=0.2.0
pkgrel=4
pkgrel=5
pkgdesc="A tool that generates Qt bindings for Qt Script"
arch=("i686" "x86_64")
url="https://code.google.com/p/qtscriptgenerator/"
license=('GPL')
depends=('qtwebkit')
depends=('qt4')
makedepends=('pkgconfig' 'mesa')
source=("https://qtscriptgenerator.googlecode.com/files/${pkgname}-src-${pkgver}.tar.gz"
source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgname-src-$pkgver.tar.gz"
'phonon.patch'
'no-phonon.patch'
'upstream_arm_fix_ftbfs.diff')
sha1sums=('4c1078f26b196156e857c17c9d11a66cfea66f00'
'cca1cd546628a10a91475a82fe12ad2e4066a7d0'
'c50b26e6504f5c981a916860d9c3929e436e1067'
'99e4c14eb00eed5fcd7fb6e87b0286ab733b80b4'
'049b21e33144b738cd1a62315d251f8e45643804')
build() {
cd "${srcdir}"/$pkgname-src-$pkgver
prepare() {
cd $pkgname-src-$pkgver
# Don't build webkit or phonon bindings
sed -e '/webkit/d' -e '/phonon/d' -i qtbindings/qtbindings.pro
patch -p1 -i "${srcdir}"/phonon.patch
patch -p1 -i "${srcdir}"/no-phonon.patch
patch -p1 -i "${srcdir}"/upstream_arm_fix_ftbfs.diff
}
build() {
cd $pkgname-src-$pkgver
# prepare plugins
cd generator
@ -42,7 +48,7 @@ build() {
}
package() {
cd "${srcdir}"/$pkgname-src-$pkgver/qtbindings
cd $pkgname-src-$pkgver/qtbindings
# move plugins to correct directory
install -d "${pkgdir}"/usr/lib/qt4/plugins/script
cp -a "${srcdir}"/$pkgname-src-$pkgver/plugins/script/* \

View file

@ -21,14 +21,3 @@ diff -up qtscriptgenerator-src-0.1.0/generator/generate.sh.no_phonon qtscriptgen
xsltproc --stringparam source $PWD/typesystem_webkit-qtscript.xml merge.xsl typesystem_webkit-common.xml > typesystem_webkit.xml
xsltproc --stringparam source $PWD/typesystem_xmlpatterns-qtscript.xml merge.xsl typesystem_xmlpatterns-common.xml > typesystem_xmlpatterns.xml
diff -up qtscriptgenerator-src-0.1.0/qtbindings/qtbindings.pro.no_phonon qtscriptgenerator-src-0.1.0/qtbindings/qtbindings.pro
--- qtscriptgenerator-src-0.1.0/qtbindings/qtbindings.pro.no_phonon 2010-10-26 02:53:53.000000000 -0500
+++ qtscriptgenerator-src-0.1.0/qtbindings/qtbindings.pro 2010-12-21 12:45:01.010979847 -0600
@@ -6,7 +6,6 @@ SUBDIRS = qtscript_core \
qtscript_sql \
qtscript_svg \
qtscript_xml \
- qtscript_phonon \
qtscript_webkit \
qtscript_xmlpatterns \
qtscript_uitools \