blob: 80ffc176597d27a7ca5b6d0ada8023e2d32db17a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=qt5-qtjsbackend
pkgver=5.1.1
pkgrel=0
pkgdesc="Qt5 - QtJSBackend component"
url="http://qt-project.org/"
arch="all"
license="LGPLv2 with exceptions or GPLv3 with exceptions"
depends=""
depends_dev=""
makedepends="$depends_dev qt5-qtbase-dev python"
install=""
subpackages="$pkgname-dev"
source="http://download.qt-project.org/official_releases/qt/5.1/$pkgver/submodules/qtjsbackend-opensource-src-$pkgver.tar.xz"
_builddir="$srcdir"/qtjsbackend-opensource-src-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
# we need to pax mark mkv8snapshot
(cd src/tools && qmake && make) \
&& paxctl -c -m bin/mkv8snapshot \
&& qmake && make || return 1
}
package() {
cd "$_builddir"
make install INSTALL_ROOT="$pkgdir"
rm "$pkgdir"/usr/lib/*.la
}
md5sums="7225169d7d166cc5660384a85e4d4a2f qtjsbackend-opensource-src-5.1.1.tar.xz"
sha256sums="42628eac133738df30e9104c2014eb70478e8fcf2cc86c1f500359c12216b192 qtjsbackend-opensource-src-5.1.1.tar.xz"
sha512sums="5772b4fa73610a8c47ed07a46d020045e3f298b303e014772a2418af14350dbca6f7bc76db64cbcd1712f679e42ff4aa9d88feb658559fd7dd994c3810443b85 qtjsbackend-opensource-src-5.1.1.tar.xz"
|