From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A7076138359 for ; Sun, 26 Jul 2020 18:35:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CFE9CE0826; Sun, 26 Jul 2020 18:35:41 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A73AEE0826 for ; Sun, 26 Jul 2020 18:35:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A4D3C34ED52 for ; Sun, 26 Jul 2020 18:35:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 501F7295 for ; Sun, 26 Jul 2020 18:35:39 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1595788509.ce5c0c6e75b32b546ade4fc42ef44f14be5ee0ea.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/appmenu-gtk-module/files/, x11-misc/appmenu-gtk-module/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/appmenu-gtk-module/Manifest x11-misc/appmenu-gtk-module/appmenu-gtk-module-0.7.3.ebuild x11-misc/appmenu-gtk-module/files/appmenu-gtk-module x11-misc/appmenu-gtk-module/metadata.xml X-VCS-Directories: x11-misc/appmenu-gtk-module/files/ x11-misc/appmenu-gtk-module/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: ce5c0c6e75b32b546ade4fc42ef44f14be5ee0ea X-VCS-Branch: master Date: Sun, 26 Jul 2020 18:35:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7da3b836-7953-47f5-b57e-7d900f98b50f X-Archives-Hash: 170ed80db2eff09f2ccac4119cb028e2 commit: ce5c0c6e75b32b546ade4fc42ef44f14be5ee0ea Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jul 26 17:53:06 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jul 26 18:35:09 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce5c0c6e x11-misc/appmenu-gtk-module: New Package Initial ebuild by Gino McCarty, improvements by Marco Genasci and myself. See also: https://github.com/gentoo/gentoo/pull/11951 Bug: https://bugs.gentoo.org/341757 Thanks-to: Gino McCarty protonmail.com> Thanks-to: Marco Genasci gmail.com> Signed-off-by: Andreas Sturmlechner gentoo.org> x11-misc/appmenu-gtk-module/Manifest | 1 + .../appmenu-gtk-module-0.7.3.ebuild | 48 ++++++++++++++++++++++ .../appmenu-gtk-module/files/appmenu-gtk-module | 12 ++++++ x11-misc/appmenu-gtk-module/metadata.xml | 11 +++++ 4 files changed, 72 insertions(+) diff --git a/x11-misc/appmenu-gtk-module/Manifest b/x11-misc/appmenu-gtk-module/Manifest new file mode 100644 index 00000000000..2ab8f70f6a5 --- /dev/null +++ b/x11-misc/appmenu-gtk-module/Manifest @@ -0,0 +1 @@ +DIST appmenu-gtk-module-0.7.3.tar.xz 48460 BLAKE2B b7008aa618e643a95445aad25bc19eed5b887810891318a891f088284f8f128e6392671226742a8b0c70699a9455739ee61ed56aec32129532ba53dc69809913 SHA512 d7df7e3cea3ccb66d013b23ae8796b8cbb0e0787f37f54078715c4863797c28d44ff38d7ac965b6eb0fd5cb327c1a4b891c74c66ba95b9b9a06e2c06ba5b2ad8 diff --git a/x11-misc/appmenu-gtk-module/appmenu-gtk-module-0.7.3.ebuild b/x11-misc/appmenu-gtk-module/appmenu-gtk-module-0.7.3.ebuild new file mode 100644 index 00000000000..cf681273b6a --- /dev/null +++ b/x11-misc/appmenu-gtk-module/appmenu-gtk-module-0.7.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake gnome2-utils systemd + +DESCRIPTION="Application menu module for GTK" +HOMEPAGE="https://gitlab.com/vala-panel-project/vala-panel-appmenu" +SRC_URI="https://gitlab.com/vala-panel-project/vala-panel-appmenu/uploads/570a2d1a65e77d42cb19e5972d0d1b84/${P}.tar.xz" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + dev-libs/glib[dbus] + >=x11-libs/gtk+-2.24.0:2 + >=x11-libs/gtk+-3.22.0:3 +" +RDEPEND="${DEPEND}" + +src_prepare() { + cmake_src_prepare + sed -i -e "/^pkg_check_modules(SYSTEMD/d" data/CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DGSETTINGS_COMPILE=OFF + -DCMAKE_DISABLE_FIND_PACKAGE_VCM=ON + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + exeinto /etc/X11/xinit/xinitrc.d + newexe "${FILESDIR}"/${PN} 85-${PN} + + systemd_dounit "${BUILD_DIR}"/data/appmenu-gtk-module.service +} + +pkg_postinst() { + gnome2_schemas_update +} diff --git a/x11-misc/appmenu-gtk-module/files/appmenu-gtk-module b/x11-misc/appmenu-gtk-module/files/appmenu-gtk-module new file mode 100644 index 00000000000..d506c77a121 --- /dev/null +++ b/x11-misc/appmenu-gtk-module/files/appmenu-gtk-module @@ -0,0 +1,12 @@ +if [[ -n "$GTK_MODULES" }]; then + GTK_MODULES="${GTK_MODULES}:appmenu-gtk-module" +else + GTK_MODULES="appmenu-gtk-module" +fi + +if [[ -z "$UBUNTU_MENUPROXY" ]]; then + UBUNTU_MENUPROXY=1 +fi + +export GTK_MODULES +export UBUNTU_MENUPROXY diff --git a/x11-misc/appmenu-gtk-module/metadata.xml b/x11-misc/appmenu-gtk-module/metadata.xml new file mode 100644 index 00000000000..bbffdc11233 --- /dev/null +++ b/x11-misc/appmenu-gtk-module/metadata.xml @@ -0,0 +1,11 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + + shlomif/rinutils + +