diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | qbuttongroup.patch | 13 |
3 files changed, 26 insertions, 8 deletions
@@ -1,15 +1,15 @@ pkgbase = algobox pkgdesc = Algorithmic learning for high school students - pkgver = 0.9 - pkgrel = 2 + pkgver = 1.0.2 + pkgrel = 1 url = http://www.xm1math.net/algobox/index.html arch = x86_64 arch = i686 license = GPLv2 depends = qt5-base depends = qt5-webkit - source = http://www.xm1math.net/algobox/algobox-0.9.tar.bz2 - md5sums = b8d57286e6838c5ec4ef2aa416bd2cb1 + source = http://www.xm1math.net/algobox/algobox-1.0.2.tar.bz2 + md5sums = c89783eaf926e67b570d37f87ab94c05 pkgname = algobox @@ -1,7 +1,7 @@ # Maintainer: Marc Cousin <cousinmarc@gmail.com> pkgname=algobox -pkgver=0.9 -pkgrel=2 +pkgver=1.0.2 +pkgrel=1 pkgdesc="Algorithmic learning for high school students" url="http://www.xm1math.net/algobox/index.html" arch=('x86_64' 'i686') @@ -11,11 +11,16 @@ optdepends=() makedepends=() source=("http://www.xm1math.net/algobox/${pkgname}-${pkgver}.tar.bz2" ) -md5sums=('b8d57286e6838c5ec4ef2aa416bd2cb1') +md5sums=('c89783eaf926e67b570d37f87ab94c05') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/../qbuttongroup.patch" +} build() { cd "${srcdir}/${pkgname}-${pkgver}" - qmake + qmake make } diff --git a/qbuttongroup.patch b/qbuttongroup.patch new file mode 100644 index 000000000000..0e1013e41e8a --- /dev/null +++ b/qbuttongroup.patch @@ -0,0 +1,13 @@ +diff -r -c algobox-1.0.2-orig/algobox.cpp algobox-1.0.2/algobox.cpp +*** algobox-1.0.2-orig/algobox.cpp 2017-08-08 17:20:13.000000000 +0200 +--- algobox-1.0.2/algobox.cpp 2018-09-12 07:31:31.692412191 +0200 +*************** +*** 67,72 **** +--- 67,73 ---- + #include <QTextDocumentWriter> + #include <QTextCharFormat> + #include <QAbstractItemModel> ++ #include <QButtonGroup> + + #define STRINGIFY_INTERNAL(x) #x + #define STRINGIFY(x) STRINGIFY_INTERNAL(x) |