Initial commit
This commit is contained in:
8
psi-plus/README
Normal file
8
psi-plus/README
Normal file
@@ -0,0 +1,8 @@
|
||||
Psi is a free instant messaging application designed for the XMPP network
|
||||
(including Google Talk). Fast and lightweight, Psi is fully open-source
|
||||
and compatible with Windows, Linux, and Mac OS X.
|
||||
|
||||
With Psi's full Unicode support and localizations, easy file transfers,
|
||||
customizable iconsets, and many other great features, you'll learn why
|
||||
users around the world are making the switch to free, open instant
|
||||
messaging.
|
||||
8
psi-plus/doinst.sh
Normal file
8
psi-plus/doinst.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ] \
|
||||
&& [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
108
psi-plus/psi-plus.SlackBuild
Executable file
108
psi-plus/psi-plus.SlackBuild
Executable file
@@ -0,0 +1,108 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Slackware build script for psi
|
||||
|
||||
# Copyright 2010-2017 Eugene Wissner, Dachau, Germany
|
||||
# Copyright 2023 Sergei Fedosoff <eleksir@gmail.com>
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=psi-plus
|
||||
VERSION=${VERSION:-1.5.1652}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_EXs}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/EXs}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX=64
|
||||
else
|
||||
SLKCFLAGS=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-snapshots-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
export CFLAGS="-g $SLKFLAGS -rdynamic"
|
||||
export CXXFLAGS="-g $SLKFLAGS -rdynamic"
|
||||
export LDFLAGS="-rdynamic -Wl,--export-dynamic -Wl,-E -Wl,--no-as-needed -Wl,-O2"
|
||||
mkdir build
|
||||
cd build
|
||||
cmake \
|
||||
-DCMAKE_C_FLAGS:STRING="-g $SLKCFLAGS -rdynamic" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="-g $SLKCFLAGS -rdynamic" \
|
||||
-DLINK_FLAGS:STRING="-rdynamic -Wl,--export-dynamic -Wl,-E -Wl,--no-as-needed -Wl,-O2" \
|
||||
-DUSE_CCACHE=ON \
|
||||
-DBUILD_IRIS_TOOLS=OFF \
|
||||
-DBUILD_PSIMEDIA=OFF \
|
||||
-DBUNDLED_IRIS=ON \
|
||||
-DBUNDLED_USRSCTP=OFF \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DENABLE_PLUGINS=ON \
|
||||
-DJINGLE_SCTP=OFF \
|
||||
-DPLUGINS_NO_DEBUG=ON \
|
||||
-DPSI_LIBDIR=/usr/lib${LIBDIRSUFFIX}/psi \
|
||||
..
|
||||
|
||||
make -j$(nproc)
|
||||
make install DESTDIR=$PKG
|
||||
cd ..
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a COPYING INSTALL.md README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
10
psi-plus/psi-plus.info
Normal file
10
psi-plus/psi-plus.info
Normal file
@@ -0,0 +1,10 @@
|
||||
PRGNAM="psi-plus"
|
||||
VERSION="1.5.1652"
|
||||
HOMEPAGE="http://psi-im.org/"
|
||||
DOWNLOAD="https://github.com/psi-plus/psi-plus-snapshots/archive/refs/tags/1.5.1652.tar.gz"
|
||||
MD5SUM="6e23f451e4086f331b2bf84a413a7d65"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Sergei Fedosoff"
|
||||
EMAIL="eleksir@gmail.com"
|
||||
19
psi-plus/slack-desc
Normal file
19
psi-plus/slack-desc
Normal file
@@ -0,0 +1,19 @@
|
||||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
psi-plus: psi-plus-plus (Qt Jabber client)
|
||||
psi-plus:
|
||||
psi-plus: psi-plus is a free instant messaging application designed for the
|
||||
psi-plus: XMPP network (including Google Talk). Fast and lightweight, psi-plus
|
||||
psi-plus: is fully open-source and compatible with Windows, Linux, and Mac OS.
|
||||
psi-plus:
|
||||
psi-plus: With psi-plus's full Unicode support and localizations, easy file
|
||||
psi-plus: transfers, customizable iconsets, and many other great features,
|
||||
psi-plus: you'll learn why users around the world are making the switch to
|
||||
psi-plus: free, open instant messaging.
|
||||
psi-plus:
|
||||
3
psi-plus/slack-required
Normal file
3
psi-plus/slack-required
Normal file
@@ -0,0 +1,3 @@
|
||||
libsignal-protocol-c
|
||||
libotr
|
||||
|
||||
Reference in New Issue
Block a user