diff options
author | Donald Carr | 2016-02-19 21:22:42 -0800 |
---|---|---|
committer | Donald Carr | 2017-06-15 14:41:15 -0700 |
commit | 72983d6a1d5838bbd014f6b5c57e5724a1389199 (patch) | |
tree | eaac2a6b90e17c4342507824e9526b369bfa680e | |
download | aur-72983d6a1d5838bbd014f6b5c57e5724a1389199.tar.gz |
Initial commit of functioning compositor
Change-Id: I82612d9da43fb63211690842ee6a9bf8f7c889bc
Adjust dependencies in according with one target name
Change-Id: Id7aabc7857554d28d0f4d4206b8198fd6fb27738
Bump version
Change-Id: I2b2eb419c31acd66f85395e5958368f1e3eb85f6
Introduce qcec dependency
Change-Id: Icb87df41a64851094b4ea560f564b671ee0c342a
Generate .SRCINFO
Change-Id: I279bfc264fcfc90ea46232c1b539276ee526eeb2
Update PKGBUILD to use tags
Store service file in src tree
Change-Id: Ia0dd6183739fcd2fc7abaf7068618ae3aecfeb30
Bump .SRCINFO
Change-Id: I59ee8ee834db47148fb79297034247734ebf971d
Always make clean to prevent cross contamination between the builds
Change-Id: I2b44a585aed63f71e7c2263eab7a695ff079686c
Bump version numbers
Change-Id: I8e661e230545d29c2495e46761a4d592e60f792b
Move to tag based versioning
Change-Id: Icf00d65a5f143655b97417b6ea8e870af5c602cc
Move to tag based versioning
Change-Id: Icf00d65a5f143655b97417b6ea8e870af5c602cc
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 54 |
2 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c46cd8f436b9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Thu Jun 15 21:41:10 UTC 2017 +pkgbase = skunkjuice-git + pkgdesc = Rudimentary QML compositor branched off qtwayland/examples/wayland/pure-qml + pkgver = 0.0.2.r2.gee9c258 + pkgrel = 1 + url = http://www.qt.io + arch = any + license = LGPL3 + license = GPL3 + options = !strip + source = git://github.com/sirspudd/skunkjuice.git + sha256sums = SKIP + +pkgname = skunkjuice-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..580d1d690f96 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,54 @@ +# Contributer: Donald Carr <sirspudd@gmail.com> + +#set -e + +_qmake="qmake" +_piver="" + +if [[ -z $_piver ]] && [[ -n $LOCAL_PI_VER ]]; then + _piver=$LOCAL_PI_VER +fi + +if [[ -n "$_piver" ]]; then + _qmake="/opt/qt-sdk-raspberry-pi${_piver}/bin/qmake" + makedepends=("qt-sdk-raspberry-pi${_piver}") + depends=("qt-sdk-raspberry-pi-target-libs") +fi + +_pkgname="skunkjuice" +pkgname="${_pkgname}-git" +pkgver=0.0.2.r2.gee9c258 +pkgrel=1 +pkgdesc="Rudimentary QML compositor branched off qtwayland/examples/wayland/pure-qml" +arch=("any") +url="http://www.qt.io" +license=("LGPL3" "GPL3") +source=("git://github.com/sirspudd/${_pkgname}.git") +sha256sums=("SKIP") +options=('!strip') + +pkgver() { + cd ${srcdir}/${_pkgname} + git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + local repo_src=${srcdir}/${_pkgname} + + cd ${repo_src} + $_qmake + make clean + make +} + +package() { + local repo_src=${srcdir}/${_pkgname} + local deploy_path=${pkgdir}/opt/pi-compositor + local systemd_deploy_path=${pkgdir}/usr/lib/systemd/system + + mkdir -p $deploy_path + mkdir -p $systemd_deploy_path + + cp ${repo_src}/${_pkgname} ${deploy_path} + cp ${repo_src}/resources/*.service ${systemd_deploy_path} +} |