commit:     18bf489a4d20212b9d840a5cd884e4c5739adffa
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 20:56:55 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 21:10:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18bf489a

net-libs/accounts-qml: Drop no-tests.patch from FILESDIR, use tarball

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-libs/accounts-qml/accounts-qml-0.7-r1.ebuild           |  5 +++--
 .../accounts-qml/files/accounts-qml-0.7-no-tests.patch     | 14 --------------
 2 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/net-libs/accounts-qml/accounts-qml-0.7-r1.ebuild 
b/net-libs/accounts-qml/accounts-qml-0.7-r1.ebuild
index 2e93ec2c43fd..69d8dd7a258a 100644
--- a/net-libs/accounts-qml/accounts-qml-0.7-r1.ebuild
+++ b/net-libs/accounts-qml/accounts-qml-0.7-r1.ebuild
@@ -7,7 +7,8 @@ inherit qmake-utils
 
 DESCRIPTION="QML bindings for accounts-qt and signond"
 HOMEPAGE="https://accounts-sso.gitlab.io/";
-SRC_URI="https://gitlab.com/accounts-sso/${PN}-module/-/archive/VERSION_${PV}/${PN}-module-VERSION_${PV}.tar.gz";
+SRC_URI="https://gitlab.com/accounts-sso/${PN}-module/-/archive/VERSION_${PV}/${PN}-module-VERSION_${PV}.tar.gz
+       https://dev.gentoo.org/~asturm/distfiles/${P}-patches-1.tar.xz";
 
 LICENSE="LGPL-2.1"
 SLOT="0"
@@ -33,7 +34,7 @@ DEPEND="${RDEPEND}
 # dbus problems
 RESTRICT="test"
 
-PATCHES=( "${FILESDIR}/${P}-no-tests.patch" )
+PATCHES=( "${WORKDIR}/${P}-patches-1/${P}-no-tests.patch" )
 
 S="${WORKDIR}/${PN}-module-VERSION_${PV}"
 

diff --git a/net-libs/accounts-qml/files/accounts-qml-0.7-no-tests.patch 
b/net-libs/accounts-qml/files/accounts-qml-0.7-no-tests.patch
deleted file mode 100644
index cfe8dec082bb..000000000000
--- a/net-libs/accounts-qml/files/accounts-qml-0.7-no-tests.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/accounts-qml-module.pro  2016-06-08 09:26:26.000000000 +0200
-+++ b/accounts-qml-module.pro  2019-12-08 14:16:24.058806381 +0100
-@@ -5,8 +5,9 @@
- TEMPLATE = subdirs
- CONFIG += ordered
- SUBDIRS = \
--    src \
--    tests
-+    src
-+
-+CONFIG(tests): SUBDIRS += tests
- 
- include(common-installs-config.pri)
- 

Reply via email to