[net-im/swift] sync release with live, add cs, fix some removals

This commit is contained in:
Robert Förster 2016-10-30 10:58:47 +01:00
parent 8ae16c0d25
commit c2d1ce0107
2 changed files with 9 additions and 12 deletions

View File

@ -4,7 +4,7 @@
EAPI="6"
inherit scons-utils toolchain-funcs linux-info
inherit scons-utils toolchain-funcs
if [[ ${PV} = "9999" ]] ; then
EGIT_REPO_URI="git://swift.im/swift"
@ -40,7 +40,7 @@ DEPEND="${RDEPEND}
>=app-text/docbook-xml-dtd-4.5
dev-libs/libxslt
)"
LANGS="ca de es fr gl he hu nl pl ru sk sv"
LANGS="ca cs de es fr gl he hu nl pl ru sk sv"
for X in ${LANGS} ; do
IUSE="${IUSE} l10n_${X}"
done
@ -54,23 +54,20 @@ set_scons_targets() {
src_prepare() {
# remove all bundled packages to ensure
# consistency of headers and linked libraries
rm -rf 3rdparty || die
rm -r 3rdParty || die
for x in ${LANGS}; do
if use !l10n_${x}; then
rm -f Swift/Translations/swift_${x}.ts || die
rm Swift/Translations/swift_${x}.ts || die
fi
done
if use !zeroconf; then
rm -rf Slumber || die
rm -r Slimber || die
fi
rm -rf Swift || die
rm -r Swift || die
sed -i BuildTools/SCons/Tools/qt4.py \
-e "s/linux2/linux${KV_MAJOR}/" \
|| die
eapply_user
}

View File

@ -40,7 +40,7 @@ DEPEND="${RDEPEND}
>=app-text/docbook-xml-dtd-4.5
dev-libs/libxslt
)"
LANGS="ca de es fr gl he hu nl pl ru sk sv"
LANGS="ca cs de es fr gl he hu nl pl ru sk sv"
for X in ${LANGS} ; do
IUSE="${IUSE} l10n_${X}"
done
@ -54,7 +54,7 @@ set_scons_targets() {
src_prepare() {
# remove all bundled packages to ensure
# consistency of headers and linked libraries
rm -r 3rdparty || die
rm -r 3rdParty || die
for x in ${LANGS}; do
if use !l10n_${x}; then
@ -63,7 +63,7 @@ src_prepare() {
done
if use !zeroconf; then
rm -r Slumber || die
rm -r Slimber || die
fi
rm -r Swift || die