Skip to content

Instantly share code, notes, and snippets.

@michaelmrose
Last active August 11, 2016 07:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelmrose/f93125326cfa0b3ba85d4ea406324bb3 to your computer and use it in GitHub Desktop.
Save michaelmrose/f93125326cfa0b3ba85d4ea406324bb3 to your computer and use it in GitHub Desktop.
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils toolchain-funcs
DESCRIPTION="Hides mouse pointer while not in use, Airbladers xfixes version"
HOMEPAGE="https://github.com/Airblader/unclutter-xfixes"
SRC_URI="https://github.com/Airblader/unclutter-xfixes/archive/v${PV}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}
!x11-misc/unclutter
x11-libs/libXfixes
x11-libs/libXi
app-text/asciidoc
dev-libs/libev"
S=${WORKDIR}/${P}
src_compile() {
emake CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" LDOPTIONS="${LDFLAGS}"
}
src_install () {
dobin unclutter
doman ${S}/man/unclutter-xfixes.1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment