diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2019-03-17 02:19:02 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2019-03-17 14:11:12 +0300 |
commit | 4474be7714d865be62288f7bc7a3095797b90959 (patch) | |
tree | df0af53e929006e3563f5c4fe63e0b7dca4fe1c2 /mate-base/mate-menus | |
parent | mate-extra/mate-system-monitor: minorfox due to gksu removal (diff) | |
download | gentoo-4474be7714d865be62288f7bc7a3095797b90959.tar.gz gentoo-4474be7714d865be62288f7bc7a3095797b90959.tar.bz2 gentoo-4474be7714d865be62288f7bc7a3095797b90959.zip |
mate-base/mate-menus: Version bump (v1.22.0)
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'mate-base/mate-menus')
-rw-r--r-- | mate-base/mate-menus/Manifest | 1 | ||||
-rw-r--r-- | mate-base/mate-menus/mate-menus-1.22.0.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/mate-base/mate-menus/Manifest b/mate-base/mate-menus/Manifest index d8ac70d1ae36..ef8b98977966 100644 --- a/mate-base/mate-menus/Manifest +++ b/mate-base/mate-menus/Manifest @@ -1 +1,2 @@ DIST mate-menus-1.18.1.tar.xz 359768 BLAKE2B c57095e772610c56a02a5b6b1405c5ccc11cb590ea959efa14bd0ffb5cafbe3a678f8a681e39ae9cf607225f57becfc520ec483e6451f07b7f9e80418496502b SHA512 bfd010735acd3447700a4732da16728d429ca8ba559c6bfc6edfdaea52f4e40552882bb09615fc4f040730bffac7614bb74fe18aee3ab8ee1684dad40a82d572 +DIST mate-menus-1.22.0.tar.xz 355948 BLAKE2B f65bd45c4c7c04f11f9228499991d7c2dfa60a3e74e4cbfcffc3a02f09e8e6cad6b4b4adb6d9227a4e893bad9dc032afc6cce8098ea62fd133ef836cbe9abdf2 SHA512 7ca02c1bb89c83b6b331fc2e8878862fa8f02f5cd52b297aa44b36dd5c2d1ee1ffeb1641d63a10bd4deb99f63ded9c3b890a05ab7f7faf32d7f895b0a2f68d70 diff --git a/mate-base/mate-menus/mate-menus-1.22.0.ebuild b/mate-base/mate-menus/mate-menus-1.22.0.ebuild new file mode 100644 index 000000000000..9f30adb69d62 --- /dev/null +++ b/mate-base/mate-menus/mate-menus-1.22.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python2_7 ) + +inherit python-r1 mate + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +DESCRIPTION="MATE menu system, implementing the F.D.O cross-desktop spec" +LICENSE="GPL-2 LGPL-2" +SLOT="0" + +IUSE="debug +introspection python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +COMMON_DEPEND=">=dev-libs/glib-2.50:2 + virtual/libintl + introspection? ( >=dev-libs/gobject-introspection-0.6.7:= ) + python? ( + dev-python/pygtk:2[${PYTHON_USEDEP}] + ${PYTHON_DEPS} + )" + +RDEPEND="${COMMON_DEPEND}" + +DEPEND="${COMMON_DEPEND} + >=dev-util/intltool-0.40 + sys-devel/gettext:* + virtual/pkgconfig:*" + +src_prepare() { + mate_src_prepare + use python && python_copy_sources +} + +src_configure() { + # Do NOT compile with --disable-debug/--enable-debug=no as it disables API + # usage checks. + mate_py_cond_func_wrap mate_src_configure \ + --enable-debug=$(usex debug yes minimum) \ + $(use_enable python) \ + $(use_enable introspection) +} + +src_compile() { + mate_py_cond_func_wrap default +} + +src_test() { + mate_py_cond_func_wrap emake check +} + +src_install() { + mate_py_cond_func_wrap mate_src_install + + exeinto /etc/X11/xinit/xinitrc.d/ + doexe "${FILESDIR}/10-xdg-menu-mate" +} + +pkg_postinst() { + mate_pkg_postinst + einfo "Due to upstream bug" + einfo "https://github.com/mate-desktop/mate-menus/issues/2," + einfo "it is highly recommended to run the following command" + einfo "once you have logged in to your desktop for the first time:" + einfo "cd ~/.config/menus && ln -s {,mate-}applications-merged" +} |