blob: 302856517c6c6c442ba480432850f7ac91ab8158 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Maintainer (AUR): Xavier Devlamynck <magicrhesus@ouranos.be>
# Contributors (AUR): Keshav P R, atommix aka Aleks Lifey, Xavion, Ananda Samaddar, Dan Serban, Xyne
# Contributor: André Silva <emulatorman@hyperbola.info>
# Contributor: Márcio Silva <coadde@hyperbola.info>
# parabola changes and rationale:
# - corrected used license
# - fixed build by removing the following line:
# . /etc/profile.d/apache-ant.sh
# - removed bundled binaries
pkgname=jitsi
pkgver=2.10.5550
pkgrel=10
pkgdesc="An audio/video SIP VoIP phone and instant messenger written in Java (formerly SIP-Communicator)"
arch=('armv7h' 'i686' 'x86_64')
url="http://jitsi.org"
license=('Apache')
depends=('java-runtime=8')
makedepends=('ant' 'java-environment=8')
options=(!strip !emptydirs zipman !libtool docs)
source=("https://download.jitsi.org/jitsi/src/jitsi-src-${pkgver}.zip"
jitsi.desktop
jitsi.sh)
sha256sums=('cdfc6f038d1b877c42d26dba1864ac7c6b554dd55c18767a29f2db3618647287'
'40a411ec494280490a0e1a137735ef5efca434d8d10f18b0124df9e93302f959'
'b22ae316fece079ce7f56060f79722d74867562ec12b9a5279d144eb359587c9')
prepare()
{
cd "${srcdir}/${pkgname}"
rm -rf lib/native
}
build()
{
cd "${srcdir}/${pkgname}"
# append the build revision to the jitsi version
sed -i "s/0\.build\.by\.SVN/build.${pkgver}/" src/net/java/sip/communicator/impl/version/NightlyBuildID.java
cd src/native
ant rebuild
cd ../..
ant rebuild
}
package() {
cd "${srcdir}/${pkgname}"
find lib/ lib/bundle/ -maxdepth 1 -type f -exec install -Dm644 {} "${pkgdir}/usr/lib/${pkgname}/"{} \;
shopt -sq extglob
find sc-bundles/{,os-specific/linux/} -maxdepth 1 -type f -execdir install -Dm644 {} "${pkgdir}/usr/lib/${pkgname}/sc-bundles/"{} \;
install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
cd "resources/install/debian/"
for _file in *.{svg,xpm}; do
install -Dm644 "$_file" "${pkgdir}/usr/share/pixmaps/${_file}"
done
}
|