summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-07-17 10:09:43 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-07-17 10:16:09 +0200
commit2abd7a630e93df7af75add980d1d4623c46fcb71 (patch)
tree044cd487fe53ef5a71ff06bad637db1f7aeb6505 /x11-misc
parentx11-misc/appmenu-gtk-module: correct upstream metadata (diff)
downloadgentoo-2abd7a630e93df7af75add980d1d4623c46fcb71.tar.gz
gentoo-2abd7a630e93df7af75add980d1d4623c46fcb71.tar.bz2
gentoo-2abd7a630e93df7af75add980d1d4623c46fcb71.zip
x11-misc/appmenu-gtk-module: Fix pkgconfig version, fix LICENSE
- Minor ebuild style - Patch naming - Sync with 0.7.3 keywording change Package-Manager: Portage-3.0.32, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/appmenu-gtk-module/appmenu-gtk-module-0.7.6.ebuild16
-rw-r--r--x11-misc/appmenu-gtk-module/files/appmenu-gtk-module-0.7.6-fix-pkgconfig.patch10
-rw-r--r--x11-misc/appmenu-gtk-module/files/appmenu-gtk-module-0.7.6-no-automagic-gtk.patch (renamed from x11-misc/appmenu-gtk-module/files/0.7.6-no-automagic-gtk.patch)0
-rw-r--r--x11-misc/appmenu-gtk-module/files/appmenu-gtk-module-0.7.6-no-automagic-unitdir.patch (renamed from x11-misc/appmenu-gtk-module/files/0.7.6-no-automagic-unitdir.patch)0
4 files changed, 17 insertions, 9 deletions
diff --git a/x11-misc/appmenu-gtk-module/appmenu-gtk-module-0.7.6.ebuild b/x11-misc/appmenu-gtk-module/appmenu-gtk-module-0.7.6.ebuild
index b79bf5484484..8cfa793babbc 100644
--- a/x11-misc/appmenu-gtk-module/appmenu-gtk-module-0.7.6.ebuild
+++ b/x11-misc/appmenu-gtk-module/appmenu-gtk-module-0.7.6.ebuild
@@ -8,29 +8,27 @@ inherit gnome2-utils meson 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/e0b6a32a340922cd05060292b0757162/${P}.tar.xz"
+S="${WORKDIR}/${PN}"
-LICENSE="GPL-2 LGPL-2"
+LICENSE="LGPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="gtk2 wayland"
-BDEPEND="virtual/pkgconfig"
-
RDEPEND="
dev-libs/glib[dbus]
>=x11-libs/gtk+-3.22.0:3[wayland=]
gtk2? ( >=x11-libs/gtk+-2.24.0:2 )
"
-
DEPEND="${RDEPEND}
wayland? ( dev-libs/wayland )
"
-
-S="${WORKDIR}/${PN}"
+BDEPEND="virtual/pkgconfig"
PATCHES=(
- "${FILESDIR}/0.7.6-no-automagic-gtk.patch"
- "${FILESDIR}/0.7.6-no-automagic-unitdir.patch"
+ "${FILESDIR}/${P}-no-automagic-gtk.patch"
+ "${FILESDIR}/${P}-no-automagic-unitdir.patch"
+ "${FILESDIR}/${P}-fix-pkgconfig.patch"
)
src_configure() {
diff --git a/x11-misc/appmenu-gtk-module/files/appmenu-gtk-module-0.7.6-fix-pkgconfig.patch b/x11-misc/appmenu-gtk-module/files/appmenu-gtk-module-0.7.6-fix-pkgconfig.patch
new file mode 100644
index 000000000000..f8b5439b28cb
--- /dev/null
+++ b/x11-misc/appmenu-gtk-module/files/appmenu-gtk-module-0.7.6-fix-pkgconfig.patch
@@ -0,0 +1,10 @@
+--- a/meson.build 2020-10-28 22:05:23.000000000 +0100
++++ b/meson.build 2022-07-17 09:53:55.047880112 +0200
+@@ -1,6 +1,6 @@
+ project('appmenu-gtk-module', 'c',
+ meson_version: '>=0.49.0',
+- version: '0.7',
++ version: '0.7.6',
+ license: ['LGPL-3.0-or-later'],
+ default_options: [
+ 'c_std=gnu11',
diff --git a/x11-misc/appmenu-gtk-module/files/0.7.6-no-automagic-gtk.patch b/x11-misc/appmenu-gtk-module/files/appmenu-gtk-module-0.7.6-no-automagic-gtk.patch
index 716aefa37612..716aefa37612 100644
--- a/x11-misc/appmenu-gtk-module/files/0.7.6-no-automagic-gtk.patch
+++ b/x11-misc/appmenu-gtk-module/files/appmenu-gtk-module-0.7.6-no-automagic-gtk.patch
diff --git a/x11-misc/appmenu-gtk-module/files/0.7.6-no-automagic-unitdir.patch b/x11-misc/appmenu-gtk-module/files/appmenu-gtk-module-0.7.6-no-automagic-unitdir.patch
index e46fe74c0734..e46fe74c0734 100644
--- a/x11-misc/appmenu-gtk-module/files/0.7.6-no-automagic-unitdir.patch
+++ b/x11-misc/appmenu-gtk-module/files/appmenu-gtk-module-0.7.6-no-automagic-unitdir.patch