From: blackraven Date: Tue, 15 Sep 2015 15:38:17 +0000 (+0100) Subject: dev-libs/libgaminggear: version bump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a21411140a64ca2e06e341985312b61fcbfecd2c;p=gentoo.git dev-libs/libgaminggear: version bump --- diff --git a/dev-libs/libgaminggear/libgaminggear-0.11.1.ebuild b/dev-libs/libgaminggear/libgaminggear-0.11.1.ebuild new file mode 100644 index 000000000000..e2cdc0d9913b --- /dev/null +++ b/dev-libs/libgaminggear/libgaminggear-0.11.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils gnome2-utils + +DESCRIPTION="Provides functionality for gaming input devices" + +HOMEPAGE="http://sourceforge.net/projects/libgaminggear/" +SRC_URI="mirror://sourceforge/libgaminggear/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=" + x11-libs/gtk+:2 + x11-libs/libnotify + media-libs/libcanberra + virtual/libusb:1 + dev-libs/dbus-glib +" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.10.0-doc.patch +} + +src_configure() { + mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr + -DDOCDIR=share/doc/${PF} + $(cmake-utils_use_with doc DOC) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}