summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPier Luigi Fiorini2018-10-20 10:26:44 +0200
committerPier Luigi Fiorini2018-10-20 10:26:44 +0200
commit597f4aa0f97d5b692ef5ffb46690044e6b951b49 (patch)
tree365046fcb52db91a534371ab719eb841a97d29fd
downloadaur-597f4aa0f97d5b692ef5ffb46690044e6b951b49.tar.gz
Initial import
-rw-r--r--.SRCINFO37
-rw-r--r--PKGBUILD50
2 files changed, 87 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2c43623d1dd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,37 @@
+# Generated by mksrcinfo v8
+# Sat Oct 20 08:26:41 UTC 2018
+pkgbase = liri-eglfs-git
+ pkgdesc = Liri QPA plugin
+ pkgver = 20181012.6.ce8c6e6
+ pkgrel = 1
+ url = https://liri.io
+ arch = i686
+ arch = x86_64
+ arch = armv6h
+ arch = armv7h
+ groups = liri-git
+ license = GPL3
+ makedepends = git
+ makedepends = liri-qbs-shared-git
+ depends = systemd
+ depends = libdrm
+ depends = libinput
+ depends = qt5-declarative
+ depends = qt5-wayland
+ depends = xkeyboard-config
+ depends = libxkbcommon
+ depends = glib2
+ depends = fontconfig
+ depends = freetype2
+ depends = qt5-udev-git
+ depends = libliri-git
+ provides = liri-eglfs
+ conflicts = liri-eglfs
+ replaces = liri-eglfs
+ options = debug
+ options = !strip
+ source = eglfs::git://github.com/lirios/eglfs.git#branch=develop
+ md5sums = SKIP
+
+pkgname = liri-eglfs-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e5bc929785f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
+
+pkgname=liri-eglfs-git
+pkgver=20181012.6.ce8c6e6
+pkgrel=1
+pkgdesc="Liri QPA plugin"
+arch=('i686' 'x86_64' 'armv6h' 'armv7h')
+url='https://liri.io'
+license=('GPL3')
+depends=('systemd' 'libdrm' 'libinput' 'qt5-declarative' 'qt5-wayland'
+ 'xkeyboard-config' 'libxkbcommon' 'glib2' 'fontconfig' 'freetype2'
+ 'qt5-udev-git' 'libliri-git')
+makedepends=('git' 'liri-qbs-shared-git')
+options=(debug !strip)
+conflicts=('liri-eglfs')
+replaces=('liri-eglfs')
+provides=('liri-eglfs')
+groups=('liri-git')
+
+_gitroot="git://github.com/lirios/eglfs.git"
+_gitbranch=develop
+_gitname=eglfs
+source=(${_gitname}::${_gitroot}#branch=${_gitbranch})
+md5sums=('SKIP')
+
+pkgver() {
+ cd ${srcdir}/${_gitname}
+ echo "$(git log -1 --format="%cd" --date=short | tr -d '-').$(git rev-list --count HEAD).$(git log -1 --format="%h")"
+}
+
+prepare() {
+ cd ${srcdir}/${_gitname}
+ git submodule update --init
+}
+
+build() {
+ cd ${srcdir}/${_gitname}
+ qbs setup-toolchains --type gcc /usr/bin/g++ gcc
+ qbs setup-qt /usr/bin/qmake-qt5 qt5
+ qbs config profiles.qt5.baseProfile gcc
+ qbs build --no-install -d build profile:qt5 \
+ modules.lirideployment.prefix:/usr \
+ modules.lirideployment.qmlDir:/usr/lib/qt/qml \
+ modules.lirideployment.pluginsDir:/usr/lib/qt/plugins
+}
+
+package() {
+ cd ${srcdir}/${_gitname}
+ qbs install -d build --no-build -v --install-root $pkgdir profile:qt5
+}