diff options
author | Ian Jordan <immoloism@gmail.com> | 2023-12-18 02:29:24 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-12-21 11:49:42 +0000 |
commit | b0b7ae42b41dcf3bdda4f438bf43cddfbeee55e9 (patch) | |
tree | 46d92b3d35e3e7c6b11083ca1a14f5b955e0aa33 /mate-extra/mate-polkit | |
parent | mate-extra/mate-netbook: add 1.27.0 (diff) | |
download | gentoo-b0b7ae42b41dcf3bdda4f438bf43cddfbeee55e9.tar.gz gentoo-b0b7ae42b41dcf3bdda4f438bf43cddfbeee55e9.tar.bz2 gentoo-b0b7ae42b41dcf3bdda4f438bf43cddfbeee55e9.zip |
mate-extra/mate-polkit: add 1.27.1
configure patch added to fix break on /bin/sh until upstream merge
Thanks: Sam James <sam@gentoo.org>
Signed-off-by: Ian Jordan <immoloism@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mate-extra/mate-polkit')
-rw-r--r-- | mate-extra/mate-polkit/Manifest | 1 | ||||
-rw-r--r-- | mate-extra/mate-polkit/files/mate-polkit-1.27.1-configure.patch | 54 | ||||
-rw-r--r-- | mate-extra/mate-polkit/mate-polkit-1.27.1.ebuild | 45 |
3 files changed, 100 insertions, 0 deletions
diff --git a/mate-extra/mate-polkit/Manifest b/mate-extra/mate-polkit/Manifest index ff78ef273a92..f86a47ec81d7 100644 --- a/mate-extra/mate-polkit/Manifest +++ b/mate-extra/mate-polkit/Manifest @@ -1 +1,2 @@ DIST mate-polkit-1.26.0.tar.xz 335768 BLAKE2B 15b1fd38efcb157802ff96f09879a8790d6a8356d6fe75f833bcd4b9f088e30b019a7e0739d48000aed4a7d9b5634727c2176ce7b725d82431118c7da4e04f04 SHA512 393a8a0a9567ec75762dcd1e776a1544756f4b9b88b8bbb4f6d1ed87dcc25c30025e27d6f4e18c04c79f5f02152490f577fb89c758ce042dc466a387d9202e0f +DIST mate-polkit-1.27.1.tar.xz 345096 BLAKE2B ffdf98fbfc8d840a441b33ef7db3e09ac9a651fa9af9d68df52b939abd5322f3fdba352114fbfc442ebbb794c50a305687f171ad38fe3b79182749cde7e6f0a9 SHA512 5dc91c02e8538c214b72ac799ac7724327e8c950837213a41f91ecdc25834b0ef059143f173f570b8ac1195a76b073c54a189e3067a91b3ca8382edaf98d740c diff --git a/mate-extra/mate-polkit/files/mate-polkit-1.27.1-configure.patch b/mate-extra/mate-polkit/files/mate-polkit-1.27.1-configure.patch new file mode 100644 index 000000000000..fb8475bfab38 --- /dev/null +++ b/mate-extra/mate-polkit/files/mate-polkit-1.27.1-configure.patch @@ -0,0 +1,54 @@ +--- a/configure 2023-12-18 23:51:41.786478480 -0000 ++++ b/configure 2023-12-18 23:52:15.509810347 -0000 +@@ -14654,16 +14654,16 @@ + + + +-if test "x$enable_appindicator" == "xauto" && +- (test "x$have_appindicator_ayatana" == "xyes" || +- test "x$have_appindicator_ubuntu" == "xyes"); then ++if test "x$enable_appindicator" = "xauto" && ++ (test "x$have_appindicator_ayatana" = "xyes" || ++ test "x$have_appindicator_ubuntu" = "xyes"); then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Enabling AppIndicator support (as --enable-appindicator=auto was used)." >&5 + printf "%s\n" "$as_me: Enabling AppIndicator support (as --enable-appindicator=auto was used)." >&6;} + enable_appindicator="yes" + fi + +-if test "x$enable_appindicator" == "xyes"; then +- if test "x$have_appindicator_ayatana" == "xyes"; then ++if test "x$enable_appindicator" = "xyes"; then ++ if test "x$have_appindicator_ayatana" = "xyes"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Buidling against Ayatana AppIndicator." >&5 + printf "%s\n" "$as_me: Buidling against Ayatana AppIndicator." >&6;} + +--- a/configure.ac 2023-12-18 23:56:44.346465318 -0000 ++++ b/configure.ac 2023-12-18 23:57:21.129797051 -0000 +@@ -129,14 +129,14 @@ + [enable_appindicator="auto"]) + + +-if test "x$enable_appindicator" == "xauto" && +- (test "x$have_appindicator_ayatana" == "xyes" || +- test "x$have_appindicator_ubuntu" == "xyes"); then ++if test "x$enable_appindicator" = "xauto" && ++ (test "x$have_appindicator_ayatana" = "xyes" || ++ test "x$have_appindicator_ubuntu" = "xyes"); then + AC_MSG_NOTICE([Enabling AppIndicator support (as --enable-appindicator=auto was used).]) + enable_appindicator="yes" + fi + +-if test "x$enable_appindicator" == "xyes"; then ++if test "x$enable_appindicator" = "xyes"; then + if test "x$have_appindicator_ayatana" == "xyes"; then + AC_MSG_NOTICE([Buidling against Ayatana AppIndicator.]) + PKG_CHECK_MODULES(AYATANA_APPINDICATOR, +@@ -144,7 +144,7 @@ + [AC_DEFINE(HAVE_AYATANA_APPINDICATOR, 1, [Have Ayatana AppIndicator])]) + AC_SUBST(AYATANA_APPINDICATOR_CFLAGS) + AC_SUBST(AYATANA_APPINDICATOR_LIBS) +- elif test "x$have_appindicator_ubuntu" == "xyes"; then ++ elif test "x$have_appindicator_ubuntu" = "xyes"; then + AC_MSG_NOTICE([Buidling against Ubuntu AppIndicator.]) + PKG_CHECK_MODULES(UBUNTU_APPINDICATOR, + [$UBUNTU_APPINDICATOR_PKG >= $APPINDICATOR_REQUIRED], diff --git a/mate-extra/mate-polkit/mate-polkit-1.27.1.ebuild b/mate-extra/mate-polkit/mate-polkit-1.27.1.ebuild new file mode 100644 index 000000000000..aa4a62e0e40a --- /dev/null +++ b/mate-extra/mate-polkit/mate-polkit-1.27.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit mate + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" +fi + +DESCRIPTION="A MATE specific DBUS service that is used to bring up authentication dialogs" +LICENSE="LGPL-2" +SLOT="0" + +IUSE="accountsservice appindicator" + +COMMON_DEPEND="x11-libs/gdk-pixbuf:2 + virtual/libintl:0 + >=x11-libs/gtk+-3.22.0:3 + appindicator? ( dev-libs/libayatana-appindicator )" + +RDEPEND="${COMMON_DEPEND} + >=dev-libs/glib-2.50:2 + >=sys-auth/polkit-0.102 + accountsservice? ( sys-apps/accountsservice )" + +BDEPEND="${COMMON_DEPEND} + dev-util/gtk-doc + dev-util/gtk-doc-am + >=dev-util/intltool-0.35 + sys-devel/gettext + >=sys-devel/libtool-2.2.6 + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-1.27.1-configure.patch +) + +src_configure() { + mate_src_configure \ + --disable-static \ + $(use_enable accountsservice) \ + $(use_enable appindicator) +} |