summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-01-24 07:10:28 -0600
committerBen Kohler <bkohler@gentoo.org>2020-01-24 07:11:19 -0600
commitf7475ea4657c0ed12da3562a1bbb0d56f0668a17 (patch)
treea02b926035d7ad7b500ae39659123081e7e77931 /x11-misc
parentapp-benchmarks/iozone: Version bump to 3.488 (diff)
downloadgentoo-f7475ea4657c0ed12da3562a1bbb0d56f0668a17.tar.gz
gentoo-f7475ea4657c0ed12da3562a1bbb0d56f0668a17.tar.bz2
gentoo-f7475ea4657c0ed12da3562a1bbb0d56f0668a17.zip
x11-misc/obmenu-generator: bump to 0.87 & make Gtk2/Gtk3 optional
Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/obmenu-generator/Manifest1
-rw-r--r--x11-misc/obmenu-generator/obmenu-generator-0.87.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/x11-misc/obmenu-generator/Manifest b/x11-misc/obmenu-generator/Manifest
index 475b622af6a3..2d19d508d469 100644
--- a/x11-misc/obmenu-generator/Manifest
+++ b/x11-misc/obmenu-generator/Manifest
@@ -1 +1,2 @@
DIST obmenu-generator-0.85.tar.gz 20558 BLAKE2B 526657eb9fc7ed0adc3681809d0f8b763f5faf7b2cb578962e1c2ab2e2bd488f386bcd6e7bf45e5752a2d339048af37f05bf31ef3947c2a9642f15e99db00eac SHA512 d6925ec8c2b75eec12bc23840799cedf4b882787b62a6b8814ca6c8b3bc5d22d2b8a4510fa6829d66541923caf3163a85eefc068a96ead631a3200467c563545
+DIST obmenu-generator-0.87.tar.gz 20648 BLAKE2B ba4f223c61cc380aa510d02c640e0694a6235a06cd44db0b6f929730747ff8f7f62842c545a8684a00fe31fa990ec7ce8488f8b2efd45cbd5852803c3c81ce99 SHA512 dfbe9e2f1565c7f02c08885ac9980fd35e6d698208f813d62cf97a34befe16987e0fca29429fce006bafbb8bd04a05c63e1a109d70bb757240199b8a970ba55e
diff --git a/x11-misc/obmenu-generator/obmenu-generator-0.87.ebuild b/x11-misc/obmenu-generator/obmenu-generator-0.87.ebuild
new file mode 100644
index 000000000000..d00c2b742b88
--- /dev/null
+++ b/x11-misc/obmenu-generator/obmenu-generator-0.87.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils
+
+DESCRIPTION="A fast pipe/static menu generator for the Openbox Window Manager"
+HOMEPAGE="https://github.com/trizen/obmenu-generator"
+SRC_URI="https://github.com/trizen/obmenu-generator/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-lang/perl[gdbm]
+ dev-perl/Data-Dump
+ >=dev-perl/Linux-DesktopFiles-0.90.0
+ x11-wm/openbox
+"
+
+src_install() {
+ dobin ${PN}
+
+ insinto /etc/xdg/obmenu-generator
+ doins schema.pl
+
+ dodoc README.md
+}
+
+pkg_postinst() {
+ elog "For icon (-i) functionality, install:"
+ optfeature "support via gtk+:2 (default)" dev-perl/Gtk2
+ optfeature "support via gtk+:3 (enabled via config)" dev-perl/Gtk3
+}