qutIM: add WIP recipe for version 0.3.3"

It currently compiles and starts but crashes after closing the wizard.
Directory structure needs to be adjusted.
This commit is contained in:
Sergei Reznikov
2015-08-29 16:34:44 +03:00
parent f5b71b546d
commit 67e0573bc4

View File

@@ -0,0 +1,73 @@
SUMMARY="Qt4-based multi-protocol instant messenger"
DESCRIPTION="qutIM — is firstly Open source and free multiprotocol Instant \
Messaging client. With qutIM you can send and receive messages, participate \
in group conferences, make video and audio calls (It appears to come in 0.4) \
and write to different microblogs and social networks.
qutIM — Extremely extendible client. The suitable API and good documented \
code makes it easy to write plugins in C++/Qt or Javascript."
HOMEPAGE="http://www.qutim.org"
SOURCE_URI="git+https://github.com/euroelessar/qutim.git#4f4a252"
SOURCE_URI_2="git+https://github.com/euroelessar/k8json.git"
SOURCE_URI_3="git+https://github.com/euroelessar/q-xdg.git"
SOURCE_URI_4="git+https://github.com/euroelessar/jreen.git"
SOURCE_URI_5="git+https://github.com/euroelessar/qutim-translations.git"
SOURCE_URI_6="git+https://github.com/gorthauer/artwork.git"
REVISION="1"
LICENSE="GNU GPL v3"
COPYRIGHT="2008-2015 by qutim.org team"
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86 !x86_gcc2"
PROVIDES="
qutim$secondaryArchSuffix = $portVersion
cmd:qutim$secondaryArchSuffix
app:qutIM$secondaryArchSuffix
"
REQUIRES="
haiku${secondaryArchSuffix}
libqt4${secondaryArchSuffix} >= 4.8
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
libqt4${secondaryArchSuffix}_devel >= 4.8
devel:libz${secondaryArchSuffix}
# devel:libqca$secondaryArchSuffix
devel:libgsasl$secondaryArchSuffix
# devel:libpurple$secondaryArchSuffix
# devel:libaspell$secondaryArchSuffix
# devel:libattica$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:doxygen
cmd:g++${secondaryArchSuffix}
cmd:git
cmd:make
cmd:pkg_config${secondaryArchSuffix}
"
BUILD()
{
# prepare the directory structure
ln -sfn $sourceDir2/* $sourceDir/core/3rdparty/k8json
ln -sfn $sourceDir3/* $sourceDir/core/3rdparty/q-xdg
ln -sfn $sourceDir4/* $sourceDir/protocols/jabber/jreen
ln -sfn $sourceDir5/* $sourceDir/translations
ln -sfn $sourceDir6/* $sourceDir/artwork
mkdir -p ../qutim-build
cd ../qutim-build
cmake ../qutim-0.3.3 -DVREEN=0 -DVKONTAKTE=0 -DSCREENSHOTER=0 -DCMAKE_INSTALL_PREFIX=$appsDir/qutIM
make $jobArgs
}
INSTALL()
{
cd ../qutim-build
make install
addAppDeskbarSymlink $appsDir/qutIM/qutIM
}