QtScript Generator removed from Amarok SVN

Caleb Cushing xenoterracide at gmail.com
Sun Mar 22 08:37:57 UTC 2009


On Sun, Mar 22, 2009 at 4:11 AM, Seb Ruiz <ruiz at kde.org> wrote:
> You clearly haven't read the rest of this thread. You need to set the
> INCLUDE env var like I said.

really? checkout out line 32

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit multilib qt4

DESCRIPTION="Tool for generating Qt bindings for Qt Script"
HOMEPAGE="http://code.google.com/p/qtscriptgenerator/"
SRC_URI="http://qtscriptgenerator.googlecode.com/files/${PN}-src-${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"

DEPEND=">=x11-libs/qt-dbus-4.5.0
        >=x11-libs/qt-gui-4.5.0
        >=x11-libs/qt-opengl-4.5.0
        || ( >=x11-libs/qt-phonon-4.5.0 media-sound/phonon )
        >=x11-libs/qt-script-4.5.0
        >=x11-libs/qt-sql-4.5.0
        >=x11-libs/qt-svg-4.5.0
        >=x11-libs/qt-webkit-4.5.0
        >=x11-libs/qt-xmlpatterns-4.5.0"
RDEPEND="${RDEPEND}"

S="${WORKDIR}/${PN}-src-${PV}"

pkg_setup(){
        INCLUDE="/usr/include/qt4" # line 32
        QTDIR="/usr/include/qt4"
        QTLIBDIR="/usr/$(get_libdir)/qt4/"
}

src_prepare() {
        epatch "${FILESDIR}/include_everything.patch"
}

src_configure() {
        cd "${S}"/generator
        eqmake4 generator.pro
        cd "${S}"/qtbindings
        eqmake4 qtbindings.pro
}

src_compile() {
        cd "${S}"/generator
        emake || die "emake generator failed"
        ./generator || die "running generator failed"
        cd "${S}"/qtbindings
        emake || die "make qtbindings failed" # TODO: fix emake
}

src_install() {
        insinto "${QTLIBDIR}"/plugins/script/
        doins -r "${S}"/plugins/script/* || die "installing libraries failed"
}


-- 
Caleb Cushing

http://xenoterracide.blogspot.com



More information about the Amarok mailing list