xfce-extra/xfce4-whiskermenu-plugin: Bump to 2.3.4
authorMichał Górny <mgorny@gentoo.org>
Tue, 5 Nov 2019 12:47:58 +0000 (13:47 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 5 Nov 2019 12:47:58 +0000 (13:47 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
xfce-extra/xfce4-whiskermenu-plugin/Manifest
xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.3.4.ebuild [new file with mode: 0644]

index 721351c44c6382f68dcf45dfc0172b20ca32da6d..2d65bcb6158dc57fe25f7983c2545ed08ec8126f 100644 (file)
@@ -1 +1,2 @@
 DIST xfce4-whiskermenu-plugin-2.3.3.tar.bz2 160277 BLAKE2B c4c96175f1d8a7202e8a6d207dc113ec172493eb724f7da7ef18fa3de26e52c3b86bc0135ca8cb1e650a0e9d835e065b6baa18816dee7c90c4034dcfc9033639 SHA512 06e8c0ec623538103974c266c26b8efea94f97093324b5f55305ba6832a8c9eb7fa19c636249dffbc09ed4c7e3f543d338b2bd3455c14601237b2253683f5ac6
+DIST xfce4-whiskermenu-plugin-2.3.4.tar.bz2 160614 BLAKE2B 276842ef860965d139166ea6d8e988d39694aa06ace52bc3f48d6e3d9c9d8c930c3b9e44c3d9f84aaf7bb6fd9412a5efdda39834d8c2d33ed3f048db68893266 SHA512 8e59b6d0067e2302e3bf3e7f528cf96d613586c78c2ce6040143b449bffb3e3037b0d08738450c701d57f11cc5393154221bfbe5fa43825ca5df7ddd3c9f4cf4
diff --git a/xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.3.4.ebuild b/xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.3.4.ebuild
new file mode 100644 (file)
index 0000000..0fc87c2
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils xdg-utils
+
+DESCRIPTION="Alternate application launcher for Xfce"
+HOMEPAGE="https://gottcode.org/xfce4-whiskermenu-plugin/"
+SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND="
+       virtual/libintl
+       x11-libs/gtk+:3
+       xfce-base/exo:=
+       xfce-base/garcon:=
+       xfce-base/libxfce4ui:=
+       xfce-base/libxfce4util:=
+       xfce-base/xfce4-panel:=
+"
+DEPEND="
+       ${RDEPEND}
+"
+BDEPEND="
+       sys-devel/gettext
+       virtual/pkgconfig
+"
+
+src_prepare() {
+       # fix build failure w/ xfce4-panel-4.15.0
+       sed -i -e 's@<libxfce4panel/xfce-panel-plugin\.h>@<libxfce4panel/libxfce4panel.h>@' \
+               panel-plugin/register-plugin.c || die
+       cmake-utils_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DENABLE_AS_NEEDED=OFF
+               -DENABLE_LINKER_OPTIMIZED_HASH_TABLES=OFF
+               -DENABLE_DEVELOPER_MODE=OFF
+       )
+
+       cmake-utils_src_configure
+}
+
+pkg_postinst() {
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_icon_cache_update
+}