summaryrefslogtreecommitdiff
path: root/mate-extra/mate-polkit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-21 13:58:21 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-21 13:58:21 +0000
commitd8e7aaf1b90b28ec354e7854abea07d53644e754 (patch)
treea3dfecdac470c25645b7bcacd4923343eec46afe /mate-extra/mate-polkit
parenta473f013073f9c57e59e7d30f088eee89312dd0d (diff)
gentoo auto-resync : 21:12:2023 - 13:58:21
Diffstat (limited to 'mate-extra/mate-polkit')
-rw-r--r--mate-extra/mate-polkit/Manifest3
-rw-r--r--mate-extra/mate-polkit/files/mate-polkit-1.27.1-configure.patch54
-rw-r--r--mate-extra/mate-polkit/mate-polkit-1.27.1.ebuild48
3 files changed, 105 insertions, 0 deletions
diff --git a/mate-extra/mate-polkit/Manifest b/mate-extra/mate-polkit/Manifest
index be999a70d2cd..429e207c57c9 100644
--- a/mate-extra/mate-polkit/Manifest
+++ b/mate-extra/mate-polkit/Manifest
@@ -1,4 +1,7 @@
AUX mate-polkit-1.26.0-ayatana.patch 6764 BLAKE2B 351a5f347c685f610ba1fb0ef746be0c3ce1d59d6dc039421929f20f6ca658c0d2a236e0825b9ff9f148405c573f0aa186109c0485e0434d760f0bd5d8266e5e SHA512 0db50fabc09129db71a7c196e10017704a9fef8808c4d45ccd427384c4f3012e486a56cac587ea4c10df2ac3c2af6ba30bbbdf27234edb2c616e029b57fe48ec
+AUX mate-polkit-1.27.1-configure.patch 2400 BLAKE2B e5d8caaae8fa1c1268eefa254135efbb4697c1b59be614e3caeea82180bba614de642022092f7b1dd64c5f4e6da8f2341fbec66addece8c933f0c3cbbb8a78be SHA512 974dcbfcfa3b938b3917a5b1f94e94d03aa01254c7b1b78f76d1a6d997ff8f7fa39e55ecfe16ce19bbd85cc0bf5cbb48e762fb10b4c13bd6ada220a3a3a052ba
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
EBUILD mate-polkit-1.26.0-r1.ebuild 1049 BLAKE2B 85e68a2e433e2fa18eb5e268770de9633b356a06aed28379d86d7288b55e249e4b73522865ed050039343f06524bc99ee3a91fecca4eff7a4de0c2d43c478197 SHA512 e2756dc57540b6c0eaea627892b90b92c2f67ef9d3370926c022c8f65453f0beaf7b89a2de0a63b4ce5463241c767c78b81b4260322523f4155f03fcef4b321f
+EBUILD mate-polkit-1.27.1.ebuild 1020 BLAKE2B 4264a6d25ce5e219bf2e25f1d1511a80585176c3c74666c3628002f86b3a5101a1203d91c5152fc607419aa240c1768568ec413d37f0cc9cfd178b753d6c74de SHA512 8841d69228797cff28920c642e2999211ef60d23a4f687312a393fe99bfddb6af5b001ed174897fd6a5b360ab21e80fdbebdc6785f5c7d86917252eb7005e7be
MISC metadata.xml 358 BLAKE2B 74f8cc5641a32b53ebc9db891d18831e8738ba864a86a2fa3a7f044f570d932b4782794d27ac37fc07e970e68f2254393f12205e6bbc193b4e51a125e9b0a0a2 SHA512 55b0aaa320bef1adbd11391ecb7b5475a0f66843a1f827ef37e17db26a6a91dbce8453168d091954444c26f68778ca72bbc41ae453ecb4955cdbbfc8ce94fce1
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..8c923bac4fe4
--- /dev/null
+++ b/mate-extra/mate-polkit/mate-polkit-1.27.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit mate
+
+MINOR=$(($(ver_cut 2) % 2))
+if [[ ${MINOR} -eq 0 ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+else
+ KEYWORDS=""
+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)
+}