diff --git a/orion/.SRCINFO b/orion/.SRCINFO new file mode 100644 index 0000000..96c0577 --- /dev/null +++ b/orion/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = orion + pkgdesc = QML/C++-written desktop client for Twitch.tv + pkgver = 1.6.6 + pkgrel = 2 + url = https://github.com/alamminsalo/orion/ + arch = x86_64 + license = GPL3 + depends = mpv + depends = qt5-svg + depends = qt5-quickcontrols2 + depends = qt5-quickcontrols + depends = qt5-graphicaleffects + source = orion-1.6.6.tar.gz::https://github.com/alamminsalo/orion/archive/1.6.6.tar.gz + sha256sums = 3c8750555e9302e49904c43f35f2c2870a0224a231304c63301b9112471575e1 + +pkgname = orion + diff --git a/orion/PKGBUILD b/orion/PKGBUILD new file mode 100644 index 0000000..a83cf07 --- /dev/null +++ b/orion/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Giovanni Harting <539@idlegandalf.com> +# Contributor: sum01 +# Contributor: David McInnis +# Contributor: HabarNam + +pkgname=orion +pkgver=1.6.6 +pkgrel=2 +pkgdesc="QML/C++-written desktop client for Twitch.tv" +arch=('x86_64') +url="https://github.com/alamminsalo/orion/" +license=('GPL3') +depends=('mpv' 'qt5-svg' 'qt5-quickcontrols2' 'qt5-quickcontrols' 'qt5-graphicaleffects') +source=("$pkgname-$pkgver.tar.gz::https://github.com/alamminsalo/orion/archive/${pkgver}.tar.gz") +sha256sums=('3c8750555e9302e49904c43f35f2c2870a0224a231304c63301b9112471575e1') + +prepare() { + cd "$srcdir/${pkgname}-${pkgver}" + + # Fix for https://github.com/alamminsalo/orion/issues/253 + sed -i 's/c++11/c++14/g' orion.pro +} + +build() { + cd "$srcdir/${pkgname}-${pkgver}" + qmake CONFIG+=mpv + make +} + +package() { + cd "$srcdir/${pkgname}-${pkgver}" + install -Dm644 distfiles/orion.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/orion.svg" + install -Dm644 distfiles/Orion.desktop "${pkgdir}/usr/share/applications/Orion.desktop" + install -Dm755 orion "${pkgdir}/usr/bin/orion" +}