# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 inherit cmake-utils DESCRIPTION="Qt4-based keyboard layout switcher" HOMEPAGE="https://code.google.com/p/qxkb/" SRC_URI="http://qxkb.googlecode.com/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND=" x11-libs/libxkbfile dev-qt/qtgui:4 dev-qt/qtsvg:4 " RDEPEND="${DEPEND} x11-apps/setxkbmap " src_prepare() { sed -i -e 's:../language:${CMAKE_SOURCE_DIR}/language:' \ CMakeLists.txt || die cmake-utils_src_prepare }