# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-base/kxkb/kxkb-3.5.6.ebuild,v 1.3 2007/07/22 10:32:29 omp Exp $ KMNAME=kdebase MAXKDEVER=$PV KM_DEPRANGE="$PV $MAXKDEVER" inherit kde-meta eutils SRC_URI="${SRC_URI} mirror://gentoo/kdebase-3.5-patchset-01.tar.bz2" DESCRIPTION="Kxkb is a KControl module and frontend for X11 keyboard extension, allowing the user to configure and switch between keyboard mappings." KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="kdehiddenvisibility" RDEPEND="${RDEPEND} || ( x11-misc/xkeyboard-config x11-misc/xkbdata ) x11-apps/setxkbmap" KMEXTRACTONLY="${KMEXTRACTONLY} kdm/configure.in.in" src_unpack() { kde-meta_src_unpack # Avoid using imake (kde bug 114466) epatch "${WORKDIR}/patches/kdebase-3.5.0_beta2-noimake.patch" # Remove reference to kde.desktop in AC_OUTPUT to allow building with # autoconf 2.59d sed -i -e '/kde.desktop/ s:^:#:g' "${S}/kdm/configure.in.in" }