new file: appmenu-gtk-module-0.7.3-r2.ebuild
authorroot <root@admin.liquid.me.uk>
Mon, 1 Aug 2022 08:06:22 +0000 (09:06 +0100)
committerroot <root@admin.liquid.me.uk>
Mon, 1 Aug 2022 08:06:22 +0000 (09:06 +0100)
x11-misc/appmenu-gtk-module/Manifest [new file with mode: 0644]
x11-misc/appmenu-gtk-module/appmenu-gtk-module-0.7.3-r2.ebuild [new file with mode: 0644]

diff --git a/x11-misc/appmenu-gtk-module/Manifest b/x11-misc/appmenu-gtk-module/Manifest
new file mode 100644 (file)
index 0000000..d274945
--- /dev/null
@@ -0,0 +1,2 @@
+DIST appmenu-gtk-module-0.7.3.tar.xz 48460 BLAKE2B b7008aa618e643a95445aad25bc19eed5b887810891318a891f088284f8f128e6392671226742a8b0c70699a9455739ee61ed56aec32129532ba53dc69809913 SHA512 d7df7e3cea3ccb66d013b23ae8796b8cbb0e0787f37f54078715c4863797c28d44ff38d7ac965b6eb0fd5cb327c1a4b891c74c66ba95b9b9a06e2c06ba5b2ad8
+EBUILD appmenu-gtk-module-0.7.3-r2.ebuild 1100 BLAKE2B 889cfdecca88bf8149d965c8cf4bdb854a70c8dfad70509782bae2e39ad719388b146d516fcf7450a320a8d8a35acd96e002c6d072e23765d3301c8f1450eb0e SHA512 3e8b3b4dedf822194ebf93e736e88c1340003ffd2c85f700233876d2149e9cf975b45f0890d901a9ca0428cfcfeffdacb237f8680c68dcae063f370c186b78f4
diff --git a/x11-misc/appmenu-gtk-module/appmenu-gtk-module-0.7.3-r2.ebuild b/x11-misc/appmenu-gtk-module/appmenu-gtk-module-0.7.3-r2.ebuild
new file mode 100644 (file)
index 0000000..ba6f7be
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 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 ~arm arm64 ~loong ~ppc64 ~riscv x86"
+IUSE="wayland"
+
+RDEPEND="
+       dev-libs/glib[dbus]
+       >=x11-libs/gtk+-2.24.0:2
+       wayland? ( >=x11-libs/gtk+-3.22.0:3[wayland=] )
+"
+DEPEND="${RDEPEND}
+       wayland? ( dev-libs/wayland )
+"
+
+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
+}