mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
@@ -2,16 +2,17 @@ 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"
|
||||
CHECKSUM_SHA256="d20f79845da742a0711c76834e4c3199648d032bf49267fe28c2f1a2b494adb7"
|
||||
REVISION="1"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2005-2015, Psi+ Project"
|
||||
PATCHES="psi_plus_x86-0.16.475.patchset"
|
||||
ADDITIONAL_FILES="psi-plus.rdef"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
@@ -19,19 +20,11 @@ PROVIDES="
|
||||
app:Psi$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
libqt4${secondaryArchSuffix} >= 4.8
|
||||
lib:libqca$secondaryArchSuffix
|
||||
haiku$secondaryArchSuffix
|
||||
libqt4$secondaryArchSuffix >= 4.8
|
||||
lib:libqca$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:g++${secondaryArchSuffix}
|
||||
cmd:patch
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:cmake
|
||||
cmd:make
|
||||
cmd:which
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
libqt4${secondaryArchSuffix}_devel >= 4.8
|
||||
@@ -40,22 +33,27 @@ BUILD_REQUIRES="
|
||||
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
|
||||
}
|
||||
|
||||
PATCHES="psi_plus_x86-0.16.475.patchset"
|
||||
ADDITIONAL_FILES="psi-plus.rdef"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./configure --disable-qdbus --enable-plugins \
|
||||
--prefix=$prefix \
|
||||
--bindir=$appsDir/Psi-plus \
|
||||
--libdir=$appsDir/Psi-plus/lib \
|
||||
--datadir=$appsDir/Psi-plus/data
|
||||
./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
|
||||
@@ -64,13 +62,13 @@ BUILD()
|
||||
# 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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user