diff options
Diffstat (limited to 'media-sound/qastools')
-rw-r--r-- | media-sound/qastools/Manifest | 1 | ||||
-rw-r--r-- | media-sound/qastools/files/qastools-0.22.0-qt-5.15.patch | 64 | ||||
-rw-r--r-- | media-sound/qastools/qastools-0.22.0.ebuild | 40 |
3 files changed, 105 insertions, 0 deletions
diff --git a/media-sound/qastools/Manifest b/media-sound/qastools/Manifest index c8e3caab9ca6..fafc71507344 100644 --- a/media-sound/qastools/Manifest +++ b/media-sound/qastools/Manifest @@ -1 +1,2 @@ +DIST qastools-v0.22.0.tar.gz 289261 BLAKE2B 25ff23753cbc1b4d758ff2f42b9022785391c61d9211e0024b55cc08841f41cdf0468c485af9e459dc8b65dac526b8238947419c36003d556e8e1fa13a4896e8 SHA512 9656960095520a1bee58efa3985dda30fae1b6be666dfd65b50cb582be21a40d273a1c06b69e870bc2b467f5d644b22ea30c2fd73eee9057b50de5e85864d712 DIST qastools_0.21.0.tar.xz 206548 BLAKE2B e9a8e9f20aa6d0388f16866911c0bc85da28ff51e6e23d3d61fd2bd0fc1540630caf4f95807d6072c96f73372d4633eef7f9148a9940552e9bd0c76fba7de20e SHA512 17c837ef508a5bf1853f597abd38c3c950914c8cefe98f83a47a911462e1da11f410e3fe3f8426e3f17a3aac8980ee6459f50de2480120813202b342a1e3509b diff --git a/media-sound/qastools/files/qastools-0.22.0-qt-5.15.patch b/media-sound/qastools/files/qastools-0.22.0-qt-5.15.patch new file mode 100644 index 000000000000..606630d7eebb --- /dev/null +++ b/media-sound/qastools/files/qastools-0.22.0-qt-5.15.patch @@ -0,0 +1,64 @@ +From 9975fe653c8159504807ca6288bd974b4f6057b7 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Mon, 8 Jun 2020 11:01:33 +0200 +Subject: [PATCH] Fix build with Qt 5.15 (missing QPainterPath includes) + +Fixes https://gitlab.com/sebholt/qastools/-/issues/1 +--- + shared/src/wdg/ds_slider_painter_bevelled.cpp | 1 + + shared/src/wdg/ds_switch_painter_circle.cpp | 1 + + shared/src/wdg/ds_switch_painter_close.cpp | 1 + + shared/src/wdg/sliders_pad_style.hpp | 1 + + 4 files changed, 4 insertions(+) + +diff --git a/shared/src/wdg/ds_slider_painter_bevelled.cpp b/shared/src/wdg/ds_slider_painter_bevelled.cpp +index 3c90143..1748c6e 100644 +--- a/shared/src/wdg/ds_slider_painter_bevelled.cpp ++++ b/shared/src/wdg/ds_slider_painter_bevelled.cpp +@@ -15,6 +15,7 @@ + + #include <QImage> + #include <QPainter> ++#include <QPainterPath> + #include <QLinearGradient> + #include <QRadialGradient> + #include <QScopedPointer> +diff --git a/shared/src/wdg/ds_switch_painter_circle.cpp b/shared/src/wdg/ds_switch_painter_circle.cpp +index 32fa8f1..36933af 100644 +--- a/shared/src/wdg/ds_switch_painter_circle.cpp ++++ b/shared/src/wdg/ds_switch_painter_circle.cpp +@@ -13,6 +13,7 @@ + + #include <QImage> + #include <QPainter> ++#include <QPainterPath> + #include <QRadialGradient> + #include <QScopedPointer> + +diff --git a/shared/src/wdg/ds_switch_painter_close.cpp b/shared/src/wdg/ds_switch_painter_close.cpp +index ef058a3..76932cc 100644 +--- a/shared/src/wdg/ds_switch_painter_close.cpp ++++ b/shared/src/wdg/ds_switch_painter_close.cpp +@@ -13,6 +13,7 @@ + + #include <QImage> + #include <QPainter> ++#include <QPainterPath> + #include <QRadialGradient> + #include <QScopedPointer> + +diff --git a/shared/src/wdg/sliders_pad_style.hpp b/shared/src/wdg/sliders_pad_style.hpp +index 3108f92..81a9075 100644 +--- a/shared/src/wdg/sliders_pad_style.hpp ++++ b/shared/src/wdg/sliders_pad_style.hpp +@@ -5,6 +5,7 @@ + #define __INC_sliders_pad_style_hpp__ + + #include <QPainter> ++#include <QPainterPath> + #include <QPicture> + #include <QPen> + +-- +2.27.0 + diff --git a/media-sound/qastools/qastools-0.22.0.ebuild b/media-sound/qastools/qastools-0.22.0.ebuild new file mode 100644 index 000000000000..9867792640f0 --- /dev/null +++ b/media-sound/qastools/qastools-0.22.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Qt5 GUI ALSA tools: mixer, configuration browser" +HOMEPAGE="https://gitlab.com/sebholt/qastools" +SRC_URI="https://gitlab.com/sebholt/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +BDEPEND=" + dev-qt/linguist-tools:5 +" +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + media-libs/alsa-lib + virtual/libudev:= +" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${P}-qt-5.15.patch" ) + +S="${WORKDIR}"/${PN}-v${PV} + +src_configure() { + local mycmakeargs=( + -DSKIP_LICENSE_INSTALL=ON + ) + cmake_src_configure +} |