aboutsummaryrefslogtreecommitdiffstats
path: root/community/audacious-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'community/audacious-plugins')
-rw-r--r--community/audacious-plugins/0001-qtglspectrum-work-around-qt-including-opengles.patch23
-rw-r--r--community/audacious-plugins/APKBUILD6
2 files changed, 27 insertions, 2 deletions
diff --git a/community/audacious-plugins/0001-qtglspectrum-work-around-qt-including-opengles.patch b/community/audacious-plugins/0001-qtglspectrum-work-around-qt-including-opengles.patch
new file mode 100644
index 0000000000..f8f11223dc
--- /dev/null
+++ b/community/audacious-plugins/0001-qtglspectrum-work-around-qt-including-opengles.patch
@@ -0,0 +1,23 @@
+From a51aa5fc4133da3359854d1ba03584a1f97a360f Mon Sep 17 00:00:00 2001
+From: Ariadne Conill <ariadne@dereferenced.org>
+Date: Sun, 22 Mar 2020 03:20:18 -0500
+Subject: [PATCH] qtglspectrum: work around Qt including OpenGLES headers
+ instead of OpenGL headers on ARM systems
+
+---
+ src/qtglspectrum/gl-spectrum.cc | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/qtglspectrum/gl-spectrum.cc b/src/qtglspectrum/gl-spectrum.cc
+index 7c80f5e00..0e0c03cf7 100644
+--- a/src/qtglspectrum/gl-spectrum.cc
++++ b/src/qtglspectrum/gl-spectrum.cc
+@@ -31,6 +31,8 @@
+ #include <QGLWidget>
+ #include <QGLFunctions>
+
++#include <GL/gl.h>
++
+ #define NUM_BANDS 32
+ #define DB_RANGE 40
+
diff --git a/community/audacious-plugins/APKBUILD b/community/audacious-plugins/APKBUILD
index 1aaa3b75de..ec3fd8c498 100644
--- a/community/audacious-plugins/APKBUILD
+++ b/community/audacious-plugins/APKBUILD
@@ -42,7 +42,8 @@ makedepends="
autoconf
"
subpackages="$pkgname-lang $pkgname-dbg"
-source="http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2"
+source="http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2
+ 0001-qtglspectrum-work-around-qt-including-opengles.patch"
options="!check" # No test suite (or any plans for one)
build() {
@@ -62,4 +63,5 @@ package() {
DESTDIR="$pkgdir" make install
}
-sha512sums="f9f7d249ff5b8337729ce59b24ec249b96842ed9986a6a42a4de179bed44a431316537311a5514d652c0f847d7e849afd18e0bb2a2a5628d24cc6d449c52095c audacious-plugins-4.0.tar.bz2"
+sha512sums="f9f7d249ff5b8337729ce59b24ec249b96842ed9986a6a42a4de179bed44a431316537311a5514d652c0f847d7e849afd18e0bb2a2a5628d24cc6d449c52095c audacious-plugins-4.0.tar.bz2
+17e5eef6973023e70fb90f75b0e531fed21d67f05903adecc6b161b1fd1232eba4e348e7f50c7f37db8c0a4144449c7774e7f3c384f7392c3aa51b638e24751a 0001-qtglspectrum-work-around-qt-including-opengles.patch"