# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 DESCRIPTION="Ubuntu UI Toolkit Preview" HOMEPAGE="https://launchpad.net/ubuntu-ui-toolkit" SRC_URI="" inherit bzr EBZR_REPO_URI="lp:ubuntu-ui-toolkit" LICENSE="" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="" RDEPEND="${DEPEND}" src_prepare() { sed -i -e "s:/opt:/usr/$(get_libdir):" documentation/documentation.pri } src_compile() { emake -j1 || die "emake failed" } src_configure() { /usr/$(get_libdir)/qt5/bin/qmake ${S} # was qmake successful? if ! eend $? ; then echo eerror "Running qmake has failed! (see above for details)" echo die "eqmake5 failed" fi } src_install() { emake INSTALL_ROOT="${D}" install || die "Install failed" }