-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="A Qt based window manager"
HOMEPAGE="http://www.mynetcologne.de/~nc-lindenal/qlwm/
-http://www.alinden.mynetcologne.de/qlwm/"
+ http://www.alinden.mynetcologne.de/qlwm/"
SRC_URI="http://www.alinden.mynetcologne.de/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="4"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="|| ( x11-libs/qt-gui:4 x11-libs/qt:4 )
-x11-libs/libX11
-x11-libs/libXext"
-
+DEPEND="dev-qt/qtgui:4
+ x11-libs/libX11
+ x11-libs/libXext"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
+
# fix path to shared files
sed -i -e 's!^DEST .*$!DEST = /usr/share/'"${PN}-${SLOT}"'!' "Makefile" \
|| die "Cannot fix DEST variable for shared files"