forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-libs/signon-ui: add 0.15_p20231016 (with Qt 6 support)
Signed-off-by: Sam James <[email protected]>
- Loading branch information
1 parent
cd881de
commit 844d077
Showing
3 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST signon-ui-0.15_p20171022.tar.bz2 55849 BLAKE2B 6b97b3f673fb4494c7e32dc345f6c4697acdb19305b9459fe954d88983e4666211926921dac70829435706cdd9a41f36d36241a73905b2a795873c2894ffa8d7 SHA512 d0a4ca222de00abf4000905d917799fc6f9e04a2c3f49d0d0882dc4e90fdbcde14da91f355d10f8a3feac03661febd321ea6de1df227fa5a3c404eaefa7c2d60 | ||
DIST signon-ui-0.15_p20231016.tar.bz2 55078 BLAKE2B eff35b2b311c4b923148656ad7512418ee6e19607babd02f2bc8bff9d6f2f5cfdc37c7030fb842b65b25c310f6e44f76a73b9d0a4569af52f7661b0eb09da2f2 SHA512 c26be8921c5d2a559bd62793f3eca19184c236c2e2649728631d60d2781f4b4457f63bbd35238cb274ff3a7747220688688f0880df8db0e78ccaf6f126d6e86e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# Copyright 1999-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit qmake-utils | ||
|
||
if [[ ${PV} = *9999* ]] ; then | ||
EGIT_REPO_URI="https://gitlab.com/accounts-sso/signon-ui.git/" | ||
inherit git-r3 | ||
else | ||
COMMIT=eef943f0edf3beee8ecb85d4a9dae3656002fc24 | ||
SRC_URI="https://gitlab.com/accounts-sso/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.bz2 -> ${P}.tar.bz2" | ||
S="${WORKDIR}/${PN}-${COMMIT}" | ||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" | ||
fi | ||
|
||
DESCRIPTION="Online accounts signon UI" | ||
HOMEPAGE="https://gitlab.com/accounts-sso/signon-ui" | ||
|
||
LICENSE="GPL-2 GPL-3" | ||
SLOT="0" | ||
IUSE="qt6 test" | ||
|
||
RESTRICT="test" | ||
|
||
COMMON_DEPEND=" | ||
dev-libs/glib:2 | ||
!qt6? ( | ||
dev-qt/qtcore:5 | ||
dev-qt/qtdbus:5 | ||
dev-qt/qtdeclarative:5 | ||
dev-qt/qtgui:5 | ||
dev-qt/qtnetwork:5[ssl] | ||
dev-qt/qtwebengine:5 | ||
dev-qt/qtwidgets:5 | ||
>=net-libs/accounts-qt-1.16-r1[qt5] | ||
>=net-libs/signond-8.61-r1[qt5] | ||
) | ||
qt6? ( | ||
dev-qt/qtbase:6[dbus,gui,network,ssl,widgets] | ||
dev-qt/qtdeclarative:6 | ||
dev-qt/qtwebengine:6 | ||
>=net-libs/accounts-qt-1.16-r1[qt6] | ||
>=net-libs/signond-8.61-r1[qt6] | ||
) | ||
net-libs/libproxy | ||
x11-libs/libnotify | ||
" | ||
RDEPEND="${COMMON_DEPEND} | ||
!qt6? ( dev-qt/qtwebchannel:5 ) | ||
qt6? ( dev-qt/qtwebchannel:6 ) | ||
" | ||
DEPEND="${COMMON_DEPEND} | ||
test? ( | ||
!qt6? ( dev-qt/qttest:5 ) | ||
) | ||
" | ||
|
||
PATCHES=( | ||
# thanks to openSUSE | ||
"${FILESDIR}/${PN}-0.15_p20171022-webengine-cachedir-path.patch" | ||
"${FILESDIR}/${PN}-0.15_p20171022-fix-username-field-reading.patch" | ||
# downstream | ||
"${FILESDIR}/${PN}-0.15_p20171022-drop-fno-rtti.patch" | ||
"${FILESDIR}/${PN}-0.15_p20171022-disable-tests.patch" | ||
) | ||
|
||
src_configure() { | ||
if use qt6; then | ||
eqmake6 PREFIX="${EPREFIX}"/usr | ||
else | ||
eqmake5 PREFIX="${EPREFIX}"/usr | ||
fi | ||
} | ||
|
||
src_compile() { | ||
emake -j1 | ||
} | ||
|
||
src_install() { | ||
emake INSTALL_ROOT="${D}" -j1 install | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -410,6 +410,7 @@ dev-python/ruamel-std-pathlib | |
~media-libs/pulseaudio-qt-1.4.0 | ||
~net-libs/kdsoap-2.2.0 | ||
~net-libs/kdsoap-ws-discovery-client-0.3.0 | ||
~net-libs/signon-ui-0.15_p20231016 | ||
~sys-auth/polkit-qt-0.175.0 | ||
|
||
# Hans de Graaff <[email protected]> (2023-12-17) | ||
|