Updates debian package with dependency to yui-compressor, which generates min versions of some libs (strophe plugins).

This commit is contained in:
Damian Minkov 2014-10-21 14:59:48 +03:00
parent 667a8c1493
commit d9d1f010ab
3 changed files with 11 additions and 5 deletions

3
debian/control vendored
View File

@ -3,7 +3,7 @@ Section: net
Priority: extra
Maintainer: Jitsi Team <dev@jitsi.org>
Uploaders: Emil Ivov <emcho@jitsi.org>, Damian Minkov <damencho@jitsi.org>
Build-Depends: debhelper (>= 8.0.0), libjs-strophe (>= 1.1.3)
Build-Depends: debhelper (>= 8.0.0), libjs-strophe (>= 1.1.3), yui-compressor
Standards-Version: 3.9.5
Homepage: https://jitsi.org/meet
@ -21,6 +21,7 @@ Description: WebRTC JavaScript video conferences
Package: jitsi-meet-prosody
Architecture: all
Pre-Depends: openssl, prosody | prosody-trunk, jitsi-videobridge
Depends: ${misc:Depends}
Description: Prosody configuration for Jitsi Meet
Jitsi Meet is a WebRTC JavaScript application that uses Jitsi
Videobridge to provide high quality, scalable video conferences.

View File

@ -8,14 +8,14 @@ Use something like the script below to update from Git
#!/bin/bash
VERSION=1.0.1-1
VERSION=1.0.1
echo "*.min.js export-ignore" > .gitattributes
echo "jquery-2.1.1.* export-ignore" >> .gitattributes
echo "jquery-ui.js export-ignore" >> .gitattributes
echo ".gitignore export-ignore" >> .gitattributes
echo "$VERSION" > version.txt
sed -i "s/1.0.1-1/$VERSION/g" debian/changelog
sed -i "s/1.0.1/$VERSION/g" debian/changelog
git archive --worktree-attributes --format tar --prefix jitsi-meet-$VERSION/ -o ../jitsi-meet_${VERSION}.orig.tar master
tar --transform "s,^,jitsi-meet-$VERSION/," -rf ../jitsi-meet_${VERSION}.orig.tar

7
debian/rules vendored
View File

@ -14,4 +14,9 @@
override_dh_install:
dh_installdirs
dh_install -Xlibs/strophe/strophe.min.js
dh_install
yui-compressor -o debian/jitsi-meet/usr/share/jitsi-meet/libs/strophe/strophe.caps.jsonly.min.js \
debian/patches/missing-source/libs/strophe/strophe.caps.jsonly.js
yui-compressor -o debian/jitsi-meet/usr/share/jitsi-meet/libs/strophe/strophe.disco.min.js \
debian/patches/missing-source/libs/strophe/sha1.js \
debian/patches/missing-source/libs/strophe/strophe.disco.js