summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Carr2016-01-08 14:58:12 -0800
committerDonald Carr2016-01-08 14:59:24 -0800
commit4c61a9bdf9a724c7bb7f1706e55b3e6f5597fa0e (patch)
treeacfcb89a5ecf443397a6037ee7aabf84e0af156c
parent3557097b076cb369f4a9689ee46451b1eb7d2066 (diff)
downloadaur-4c61a9bdf9a724c7bb7f1706e55b3e6f5597fa0e.tar.gz
Rename package to qpi1
Change-Id: I5f2c2c57cf6363feab9265b3fcbf7b68bef0eca2
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD17
2 files changed, 13 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5e3fac54187..08fa3c530b5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
# Generated by mksrcinfo v8
-# Fri Jan 8 09:01:50 UTC 2016
-pkgbase = qpi
+# Fri Jan 8 22:59:10 UTC 2016
+pkgbase = qpi1
pkgdesc = Cross compile Qt for the Raspberry Pi1
pkgver = 5.6.0
pkgrel = 4
@@ -17,5 +17,5 @@ pkgbase = qpi
sha256sums = SKIP
sha256sums = d69103ec34b3775edfa47581b14ee9a20789d4b0d7d26220fb92f2cd32eb06f9
-pkgname = qpi
+pkgname = qpi1
diff --git a/PKGBUILD b/PKGBUILD
index d4dc30f60b0..7022344a072 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,10 +22,10 @@
echo "Set your sysroot prior to build" && exit 1
_sysroot=/mnt/pi
+_piver=1
+pkgname=qpi${_piver}
_packaginguser=$(whoami)
-pkgname=qpi
_libspkgname="${pkgname}-libs"
-_piver=1
_mkspec="linux-rpi${_piver}-g++"
pkgver=5.6.0
_pkgver=${pkgver}-beta
@@ -57,8 +57,9 @@ build() {
mkdir -p ${_bindir}
cd ${_bindir}
- # skipping on principle: qtscript xcb qtquickcontrols
- # skipping because of the target in question: widgets qtwebchannel qtquickcontrols2
+ # skipping due to build issues: qtquickcontrols2
+ # skipping on principle: qtscript xcb
+ # skipping because of the target in question: widgets qtwebchannel
# TODO: qtwebengine, a little bulky but useful
# Too bleeding big
@@ -84,7 +85,6 @@ build() {
-skip qtwebengine \
-skip qtwebchannel \
-skip qtwayland \
- -skip qtquickcontrols \
-skip qtquickcontrols2 \
\
-sysroot ${_sysroot} \
@@ -123,16 +123,19 @@ package() {
local _libsdir="${startdir}/${_libspkgname}"
local _libspkgdir="${_libsdir}/topkg"
local _libspkgbuild="${_libsdir}/PKGBUILD"
-
+ local _pkgprofiled=${_libspkgdir}/etc/profile.d
rm -Rf ${_libspkgdir}
mkdir -p ${_libspkgdir}
cp ${startdir}/${_libspkgname}-PKGBUILD ${_libspkgbuild}
mv "${pkgdir}/${_sysroot}/${_baseprefix}" ${_libspkgdir}
-
# set correct libs version
sed -i "s/6.6.6/${pkgver}/" ${_libspkgbuild}
+ mkdir -p ${_pkgprofiled}
+ cp ${startdir}/qpi.sh ${_pkgprofiled}
+ sed -i "s,localpiprefix,${_installprefix}," ${_pkgprofiled}/qpi.sh
+
cd ${_libsdir}
runuser -l ${_packaginguser} -c 'makepkg -f'