Add spectrum2 and biboumi and deps
This commit is contained in:
39
src/swift/.SRCINFO
Normal file
39
src/swift/.SRCINFO
Normal file
@@ -0,0 +1,39 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Mon Feb 29 17:44:58 UTC 2016
|
||||
pkgbase = swift
|
||||
pkgdesc = XMPP client written in C++ with Qt and Swiften
|
||||
pkgver = 3.0
|
||||
pkgrel = 2
|
||||
url = http://swift.im/
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL3
|
||||
makedepends = python2
|
||||
makedepends = openssl
|
||||
makedepends = boost
|
||||
makedepends = qt5-multimedia
|
||||
makedepends = qt5-webkit
|
||||
makedepends = qt5-x11extras
|
||||
makedepends = qt5-tools
|
||||
source = http://swift.im/downloads/releases/swift-3.0/swift-3.0.tar.gz
|
||||
sha256sums = 8aa490431190294e62a9fc18b69ccc63dd0f561858d7d0b05c9c65f4d6ba5397
|
||||
|
||||
pkgname = swift-im
|
||||
pkgdesc = XMPP client written in C++ with Qt and Swiften
|
||||
install = swift-im.install
|
||||
depends = swiften=3.0
|
||||
depends = qt5-multimedia
|
||||
depends = qt5-webkit
|
||||
depends = qt5-x11extras
|
||||
depends = libxss
|
||||
depends = hicolor-icon-theme
|
||||
optdepends = qt5-svg: for SVG avatars
|
||||
|
||||
pkgname = swiften
|
||||
pkgdesc = XMPP library written in C++ with Boost
|
||||
depends = boost-libs
|
||||
depends = libxml2
|
||||
depends = libidn
|
||||
depends = avahi
|
||||
depends = openssl
|
||||
|
41
src/swift/PKGBUILD
Normal file
41
src/swift/PKGBUILD
Normal file
@@ -0,0 +1,41 @@
|
||||
# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
|
||||
|
||||
pkgbase='swift'
|
||||
pkgname=('swift-im' 'swiften')
|
||||
pkgver=3.0
|
||||
pkgrel=2
|
||||
arch=('i686' 'x86_64')
|
||||
pkgdesc='XMPP client written in C++ with Qt and Swiften'
|
||||
url="http://swift.im/"
|
||||
license=('GPL3')
|
||||
makedepends=('python2' 'openssl' 'boost' 'qt5-multimedia'
|
||||
'qt5-webkit' 'qt5-x11extras' 'qt5-tools')
|
||||
source=("http://swift.im/downloads/releases/$pkgbase-$pkgver/$pkgbase-$pkgver.tar.gz")
|
||||
sha256sums=('8aa490431190294e62a9fc18b69ccc63dd0f561858d7d0b05c9c65f4d6ba5397')
|
||||
|
||||
# Those options need to be consistent between each scons invocation.
|
||||
_scons_options='max_jobs=1 optimize=1 debug=0 swiften_dll=1'
|
||||
_directory="$pkgbase-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_directory"
|
||||
./scons $_scons_options Swift Swiften
|
||||
}
|
||||
|
||||
package_swift-im() {
|
||||
pkgdesc='XMPP client written in C++ with Qt and Swiften'
|
||||
depends=("swiften=$pkgver" 'qt5-multimedia' 'qt5-webkit' 'qt5-x11extras' 'libxss' 'hicolor-icon-theme')
|
||||
optdepends=('qt5-svg: for SVG avatars')
|
||||
install="$pkgname.install"
|
||||
|
||||
cd "$srcdir/$_directory"
|
||||
./scons $_scons_options SWIFT_INSTALLDIR="$pkgdir/usr/" "$pkgdir/usr/"
|
||||
}
|
||||
|
||||
package_swiften() {
|
||||
pkgdesc='XMPP library written in C++ with Boost'
|
||||
depends=('boost-libs' 'libxml2' 'libidn' 'avahi' 'openssl')
|
||||
|
||||
cd "$srcdir/$_directory"
|
||||
./scons $_scons_options SWIFTEN_INSTALLDIR="$pkgdir/usr/" "$pkgdir/usr/"
|
||||
}
|
12
src/swift/swift-im.install
Normal file
12
src/swift/swift-im.install
Normal file
@@ -0,0 +1,12 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Reference in New Issue
Block a user