QtScript Generator removed from Amarok SVN
Seb Ruiz
ruiz at kde.org
Sun Mar 22 08:45:02 UTC 2009
2009/3/22 Caleb Cushing <xenoterracide at gmail.com>:
> 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
Make sure that INCLUDE has the Qt4 include directories beneath it.
seb at hammerhead:~$ export INCLUDE=/usr/include/qt4/
seb at hammerhead:~$ ls $INCLUDE
phonon Qt Qt3Support QtAssistant QtCore QtDBus QtDesigner QtGui
QtHelp QtNetwork QtOpenGL QtScript QtSql QtSvg QtTest
QtUiTools QtWebKit QtXml QtXmlPatterns
>
> # 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
> _______________________________________________
> Amarok mailing list
> Amarok at kde.org
> https://mail.kde.org/mailman/listinfo/amarok
>
--
Seb Ruiz
http://www.sebruiz.net/
http://amarok.kde.org/
More information about the Amarok
mailing list