orion: update to 1.6.6.
This commit is contained in:
parent
4bdac8a450
commit
430a77e5f8
3 changed files with 29 additions and 4 deletions
11
srcpkgs/orion/patches/cpp.patch
Normal file
11
srcpkgs/orion/patches/cpp.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- orion.pro 2018-10-15 16:18:14.000000000 +0200
|
||||||
|
+++ - 2019-01-07 16:44:55.286087420 +0100
|
||||||
|
@@ -8,7 +8,7 @@
|
||||||
|
|
||||||
|
QMAKE_CXXFLAGS += -Wall -O2
|
||||||
|
|
||||||
|
-CONFIG += c++11
|
||||||
|
+CONFIG += c++14
|
||||||
|
#CONFIG += console
|
||||||
|
|
||||||
|
TARGET = orion
|
14
srcpkgs/orion/patches/mpv-setlocale.patch
Normal file
14
srcpkgs/orion/patches/mpv-setlocale.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- src/player/mpvobject.cpp 2018-10-15 16:18:14.000000000 +0200
|
||||||
|
+++ - 2019-01-07 16:58:32.132459477 +0100
|
||||||
|
@@ -103,8 +103,10 @@
|
||||||
|
};
|
||||||
|
|
||||||
|
MpvObject::MpvObject(QQuickItem * parent)
|
||||||
|
- : QQuickFramebufferObject(parent), mpv{mpv_create()}, mpv_gl(nullptr)
|
||||||
|
+ : QQuickFramebufferObject(parent), mpv_gl(nullptr)
|
||||||
|
{
|
||||||
|
+ std::setlocale(LC_NUMERIC, "C");
|
||||||
|
+ mpv = mpv_create();
|
||||||
|
if (!mpv)
|
||||||
|
throw std::runtime_error("could not create mpv context");
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'orion'
|
# Template file for 'orion'
|
||||||
pkgname=orion
|
pkgname=orion
|
||||||
version=1.6.1
|
version=1.6.6
|
||||||
revision=2
|
revision=1
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
hostmakedepends="qt5-qmake"
|
hostmakedepends="qt5-qmake"
|
||||||
makedepends="qt5-declarative-devel qt5-quickcontrols2-devel mpv-devel"
|
makedepends="qt5-declarative-devel qt5-quickcontrols2-devel mpv-devel"
|
||||||
|
@ -10,8 +10,8 @@ short_desc="Qt-based client for Twitch.tv"
|
||||||
maintainer="Chinmay Pai <chinmaydpai@gmail.com>"
|
maintainer="Chinmay Pai <chinmaydpai@gmail.com>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://github.com/alamminsalo/orion"
|
homepage="https://github.com/alamminsalo/orion"
|
||||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||||
checksum=eaa8ace822d3381a1915db82c4203d4ce4e56ec324d4ee18544bd68b00bce749
|
checksum=3c8750555e9302e49904c43f35f2c2870a0224a231304c63301b9112471575e1
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ];then
|
if [ "$CROSS_BUILD" ];then
|
||||||
hostmakedepends+=" qt5-host-tools qt5-declarative-devel qt5-svg-devel qt5-quickcontrols2-devel"
|
hostmakedepends+=" qt5-host-tools qt5-declarative-devel qt5-svg-devel qt5-quickcontrols2-devel"
|
||||||
|
|
Loading…
Reference in a new issue