diff options
Diffstat (limited to 'xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-1.6.1.ebuild')
-rw-r--r-- | xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-1.6.1.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-1.6.1.ebuild b/xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-1.6.1.ebuild new file mode 100644 index 000000000000..61628617175b --- /dev/null +++ b/xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-1.6.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils gnome2-utils + +DESCRIPTION="Alternate application launcher for Xfce" +HOMEPAGE="https://gottcode.org/xfce4-whiskermenu-plugin" +SRC_URI="https://github.com/gottcode/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +RDEPEND=" + virtual/libintl:= + x11-libs/gtk+:2= + xfce-base/exo:= + xfce-base/garcon:= + xfce-base/libxfce4ui:= + xfce-base/libxfce4util:= + xfce-base/xfce4-panel:=" + +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" + +src_prepare() { + local i + cd po || die + if [[ -n "${LINGUAS+x}" ]] ; then + for i in *.po ; do + einfo "removing ${i%.po} linguas" + has ${i%.po} ${LINGUAS} || { rm ${i} || die ; } + done + fi + + 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_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |