# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/qxkb/qxkb-0.4.6.ebuild,v 1.1 2014/02/26 13:56:33 yngwin Exp $ EAPI=5 inherit cmake-utils DESCRIPTION="Qt4-based keyboard layout switcher" HOMEPAGE="http://code.google.com/p/qxkb/" SRC_URI="http://qxkb.googlecode.com/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="dev-qt/qtgui:4 dev-qt/qtsvg:4 x11-libs/libxkbfile" RDEPEND="${DEPEND} x11-apps/setxkbmap" src_prepare() { sed -i -e 's:../language:${CMAKE_SOURCE_DIR}/language:' \ CMakeLists.txt || die cmake-utils_src_prepare }