From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/liblastfm/, media-libs/liblastfm/files/
Date: Sat, 12 Dec 2020 18:02:46 +0000 (UTC) [thread overview]
Message-ID: <1607795902.70bcb3e284e393f0102c6ac0754389550d41877e.asturm@gentoo> (raw)
commit: 70bcb3e284e393f0102c6ac0754389550d41877e
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 12 16:33:24 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 12 17:58:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70bcb3e2
media-libs/liblastfm: Add missing test dependency even if restricted
Closes: https://bugs.gentoo.org/758896
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../liblastfm-1.1.0_pre20190625-missing-dep.patch | 28 ++++++++++++++++++++++
.../liblastfm/liblastfm-1.1.0_pre20190625.ebuild | 2 ++
2 files changed, 30 insertions(+)
diff --git a/media-libs/liblastfm/files/liblastfm-1.1.0_pre20190625-missing-dep.patch b/media-libs/liblastfm/files/liblastfm-1.1.0_pre20190625-missing-dep.patch
new file mode 100644
index 00000000000..e36a01c1583
--- /dev/null
+++ b/media-libs/liblastfm/files/liblastfm-1.1.0_pre20190625-missing-dep.patch
@@ -0,0 +1,28 @@
+From 9264fbecf8c7e910fa038ab372376ecc9b8c403c Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sat, 12 Dec 2020 17:09:58 +0100
+Subject: [PATCH] Add missing -DBUILD_TESTS dependency Qt5Test
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ CMakeLists.txt | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d4fd670..bb5a895 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -37,6 +37,10 @@ if(NOT BUILD_WITH_QT4)
+ find_package(Qt5Sql REQUIRED CONFIG)
+ endif()
+
++ if(BUILD_TESTS)
++ find_package(Qt5Test CONFIG REQUIRED)
++ endif()
++
+ set(LASTFM_LIB_VERSION_SUFFIX 5)
+ if(UNIX AND NOT APPLE)
+ find_package(Qt5DBus REQUIRED CONFIG)
+--
+2.29.2
+
diff --git a/media-libs/liblastfm/liblastfm-1.1.0_pre20190625.ebuild b/media-libs/liblastfm/liblastfm-1.1.0_pre20190625.ebuild
index 66923fd858e..e7a0b783f0a 100644
--- a/media-libs/liblastfm/liblastfm-1.1.0_pre20190625.ebuild
+++ b/media-libs/liblastfm/liblastfm-1.1.0_pre20190625.ebuild
@@ -34,6 +34,8 @@ DEPEND="${RDEPEND}
test? ( dev-qt/qttest:5 )
"
+PATCHES=( "${FILESDIR}/${P}-missing-dep.patch" )
+
src_configure() {
# demos not working
local mycmakeargs=(
next reply other threads:[~2020-12-12 18:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-12 18:02 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-23 21:46 [gentoo-commits] repo/gentoo:master commit in: media-libs/liblastfm/, media-libs/liblastfm/files/ Andreas Sturmlechner
2018-04-17 12:10 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1607795902.70bcb3e284e393f0102c6ac0754389550d41877e.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox