psi_plus: drop older recipe

This commit is contained in:
Sergei Reznikov
2017-11-30 16:00:58 +03:00
parent 4846f5e773
commit 908f577a17

View File

@@ -1,87 +0,0 @@
SUMMARY="A development branch of Psi IM XMPP/Jabber client"
DESCRIPTION="Psi is a cross-platform powerful XMPP/Jabber client (Qt, C++) \
designed for the Jabber power users."
HOMEPAGE="https://code.google.com/p/psi-dev/"
COPYRIGHT="2005-2015, Psi+ Project"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="https://github.com/psi-plus/psi-plus-snapshots/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="d20f79845da742a0711c76834e4c3199648d032bf49267fe28c2f1a2b494adb7"
SOURCE_FILENAME="psi-plus-$portVersion.tar.gz"
SOURCE_DIR="psi-plus-snapshots-$portVersion"
PATCHES="psi_plus_x86-0.16.475.patchset"
ADDITIONAL_FILES="psi-plus.rdef"
ARCHITECTURES="!x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
psi$secondaryArchSuffix = $portVersion
app:Psi$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
libqt4$secondaryArchSuffix >= 4.8
lib:libqca$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
libqt4${secondaryArchSuffix}_devel >= 4.8
devel:libaspell$secondaryArchSuffix
devel:libidn$secondaryArchSuffix
devel:libqca$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:g++$secondaryArchSuffix
cmd:patch
cmd:pkg_config$secondaryArchSuffix
cmd:cmake
cmd:make
cmd:which
"
PATCH()
{
sed -i 's/ qca2-qt4//g' configure
}
BUILD()
{
./configure --disable-qdbus --enable-plugins --enable-webkit \
--prefix=$prefix \
--bindir=$appsDir/Psi-plus \
--libdir=$appsDir/Psi-plus/lib \
--datadir=$appsDir/Psi-plus/data
make $jobArgs
cd src/plugins/generic
mkdir -p $appsDir/Psi-plus/plugins
# TODO: fix screenshotplugin, otrplugin and python plugins
for dir in attentionplugin autoreplyplugin birthdayreminderplugin \
captchaformsplugin cleanerplugin clientswitcherplugin \
conferenceloggerplugin contentdownloaderplugin chessplugin \
gomokugameplugin jabberdiskplugin \
extendedmenuplugin extendedoptionsplugin gmailserviceplugin gnupgplugin \
historykeeperplugin icqdieplugin imageplugin juickplugin \
pepchangenotifyplugin qipxstatusesplugin skinsplugin stopspamplugin \
storagenotesplugin translateplugin watcherplugin
do
pushd "$dir" && qmake && make && cp *.so $appsDir/Psi-plus/plugins && popd
done
}
INSTALL()
{
make install
rm -rf $prefix/share
rm -rf $appsDir/Psi-plus/psi-plus.debug
mv $appsDir/Psi-plus/psi-plus $appsDir/Psi-plus/Psi-plus
addResourcesToBinaries $portDir/additional-files/psi-plus.rdef \
$appsDir/Psi-plus/Psi-plus
addAppDeskbarSymlink $appsDir/Psi-plus/Psi-plus
}