Package-Manager: portage-2.2.14
RepoMan-Options: --force
This commit is contained in:
Mario Fetka 2015-03-20 16:51:56 +01:00
parent 9db6bc4937
commit 4d295fba70
4 changed files with 192 additions and 3 deletions

View File

@ -1,7 +1,14 @@
# ChangeLog for net-im/jitsi
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*jitsi-2.6.5390 (20 Mar 2015)
*jitsi-2.8.5426 (20 Mar 2015)
20 Mar 2015; Mario Fetka <mario.fetka@gmail.com> +jitsi-2.6.5390.ebuild,
+jitsi-2.8.5426.ebuild:
Bump
*jitsi-2.4.4997 (08 Jan 2014)
08 Jan 2014; Mario Fetka <mario.fetka@gmail.com> +jitsi-2.4.4997.ebuild,

View File

@ -2,6 +2,8 @@ AUX jitsi 1295 SHA256 883788ffe84e327fabbe63ab3d26cd8d3a245c41100d8655e346c01909
AUX jitsi-2.3 1250 SHA256 439b05f184ae20b807b1828fcd648739f57e1adb353fa4fb54d5cbc1e722c19a SHA512 4245a333ebb4c11d335ed941a6a175bf6a4951d306300011e8de21782c2f19547bcc74a2834ceda3d825c99a2c41fbe2704537d534dc7771ff8a55f0548a96a7 WHIRLPOOL 66206eb34b0c4253cfc5b35b688fbd2bcf20e94446d6b354a8b58cc657ba8dc0f1e72d7d92991d8b8a8a197185675b1917cf76e672930d90c772724c8edab5a9
DIST jitsi-src-2.4.4997.zip 64745374 SHA256 f1c2688d7d6bf1916fed3b8b105a785662980c5b297dcab3c9e7d272647ef825 SHA512 5c6afeffa9ff59fb07cd836b742c73a50dd23b4a954d377290fb31e9d13318db499b26c29261256809eaf801b7e0b4830128017136220b8cde8fd31cc63dcd0a WHIRLPOOL d37c3aa368775affd6e95a15a2b3d112be2fed5d9cc8d0d929da5f13935444c6d2bbe9f22a167e4c31230c70e76d33a71cf32187f3108c89aaf8ab65466d52da
DIST jitsi-src-2.6.5390.zip 67861690 SHA256 853d4358b265e9fba274dc354dd2b692522d7ee24fd3fa4a37ac07d2b983c887 SHA512 794e767ea550d9ad386f6e15ef4425ee845cef393e94ab2636e071862430d795c8d14cea097c4f8fa11faba19bd10f4a690288e75a3aa41ed3e211269e3017a7 WHIRLPOOL df01af9019a2deed3a9b0e4f7d694f80a5740c368c5284ca5de0935d702ddd2e157755f3ef649892be57685ef24cc661698cbabe28024b8a91c2e3a41ba55793
DIST jitsi-src-2.8.5426.zip 67515973 SHA256 e649867e186cf195c4b1bb159d7ffe0a38c4dc60659e5c55f9a74461a309f36c SHA512 9a44f3af10620e42a4de87967c74084f6d07eea433c69f9e2e0ddd529723777ac48bcd250d5717872f8cea926cdf237cbbaf44cbeaba1ab201f23a34d68d7841 WHIRLPOOL c060e8eadfd7607f2ad5c8edbace630ae030efb5218f42fedf8e1d08ea149ad9047aeaa12bd37f0fdeaf8bf04c318b4afabb532ce2f5164d4b23a946fafa0c49
EBUILD jitsi-2.4.4997.ebuild 2669 SHA256 ff1b9e964a176c0d0c3e1002ebd6a3638a2f740fd3339d675a5490517cc45e8b SHA512 d4e04ae339913d986d67321731ead58122f8bc83556a66e6511b395dc8829e6eaf84eee9b91763aa6c76e14efe831141b2ce1f668ab800a92bace5051467ced4 WHIRLPOOL cebbdea0d780fa35d57bd083248303a981b72982597674dca68090add896e81d8a7c0a44ea57d489e4d96ae553c290082c147adea6af2e542bbe29b41e643488
EBUILD jitsi-2.6.5390.ebuild 2669 SHA256 ff1b9e964a176c0d0c3e1002ebd6a3638a2f740fd3339d675a5490517cc45e8b SHA512 d4e04ae339913d986d67321731ead58122f8bc83556a66e6511b395dc8829e6eaf84eee9b91763aa6c76e14efe831141b2ce1f668ab800a92bace5051467ced4 WHIRLPOOL cebbdea0d780fa35d57bd083248303a981b72982597674dca68090add896e81d8a7c0a44ea57d489e4d96ae553c290082c147adea6af2e542bbe29b41e643488
MISC ChangeLog 524 SHA256 cc2c40f0be60850326a3346d52edcdc2f1157e4cc49918b5466ddb7f6bfe3d5c SHA512 1c46aeac66b4b2ad4d8783a9c799d8100a7c96c78cff82751934d687d47505ba03f34f7709f613fd38714c3b13b156562ac2b48a9e0dd59bfa482b16b1ba7f17 WHIRLPOOL 1acc0d6201c94ad193fa3a382548b47b352ead49a842d1b35fab26f8a59405f1155b1472abeb6db296ffec2f142646a3a83af2ca509383a39943428958411d40
EBUILD jitsi-2.6.5390.ebuild 2669 SHA256 63733c69561b92308f9fb1ec0dc13267d4f7413468f9d0b7f40be8f5f4ec276f SHA512 58a4554469d81eb5f4d3fb7351a899e45cc8d7aff6e6e03ca323de3374d66e36f2a655b84f7fed9729b2b739e2e4ee698d8ef802694b9a7eb1b84e9614d945bf WHIRLPOOL 92ff9b0417323677f60355317b926bd6e0f8a452328a8940c3abc4c223b8f0bf7721e152acdabd3be2312f6531e0ea1772e2471f7d1acbef8ec47a9765cb29cf
EBUILD jitsi-2.8.5426.ebuild 2669 SHA256 63733c69561b92308f9fb1ec0dc13267d4f7413468f9d0b7f40be8f5f4ec276f SHA512 58a4554469d81eb5f4d3fb7351a899e45cc8d7aff6e6e03ca323de3374d66e36f2a655b84f7fed9729b2b739e2e4ee698d8ef802694b9a7eb1b84e9614d945bf WHIRLPOOL 92ff9b0417323677f60355317b926bd6e0f8a452328a8940c3abc4c223b8f0bf7721e152acdabd3be2312f6531e0ea1772e2471f7d1acbef8ec47a9765cb29cf
MISC ChangeLog 694 SHA256 48c8c46b8a1d39c754aff71c5627b690f002fcffccf08c6ab83453d27b66c738 SHA512 1c285e6d72b760bca16b4add10f276a6f586efa9e61b6002705704f1078a78fb81de15bb24d86e4e4110959622abf0e3ea46f33dc13d37514ad441e4f0be87a0 WHIRLPOOL d4f76cab4f7458fe9a3bef2f9e7d8f5bd6ca4a6cea84fcfa06b98b5cd5463f1efd1e03a87feedb8e22a5d9d15adce068db63b529288969dc4a96f000507280a1

View File

@ -0,0 +1,90 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit java-pkg-2 java-ant-2 eutils multilib prefix
DESCRIPTION="An audio/video SIP VoIP phone and instant messenger written in Java"
HOMEPAGE="http://www.jitsi.org/"
#SRC_URI="https://download.jitsi.org/jitsi/nightly/src/${PN}-src-${PV}.zip"
SRC_URI="https://download.jitsi.org/jitsi/src/${PN}-src-${PV}.zip"
# This download comes with 30 Mb of useless jars.
# SVN access is available, but requires an account at java.net.
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="" # FIXME: Should not use ALSA directly, unless USE="alsa", because e.g. PulseAudio could already use and block it.
RDEPEND=">=virtual/jdk-1.6"
DEPEND=">=virtual/jdk-1.6
dev-java/xalan:0
dev-java/ant-nodeps:0
dev-util/patchelf"
S=${WORKDIR}/${PN}
QA_PREBUILT="usr/lib*/${PN}/lib/native/*"
EANT_BUILD_TARGET="rebuild"
src_prepare() {
# Set RPATH for preserve-libs handling.
local x jarch
if [[ ${ARCH} == amd64 ]] ; then
jarch=amd64
cd lib/native/linux-64 || die
else
jarch=i386
cd lib/native/linux || die
fi
local x jarch jdir
jdir=$(java-config -o || die)
for x in * ; do
# Use \x7fELF header to separate ELF executables and libraries
[[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
patchelf --set-rpath "\$ORIGIN:${jdir}/jre/lib/${jarch}:${jdir}/jre/lib/${jarch}/client:${jdir}/jre/lib/${jarch}/xawt:/usr/lib/${PN}/lib/native" "${x}" ||
die "patchelf failed on ${x}"
done
}
src_install() {
# Netbeans bundles
insinto /usr/$(get_libdir)/${PN}/sc-bundles
doins sc-bundles/*.jar sc-bundles/os-specific/linux/*.jar
# Other libraries
insinto /usr/$(get_libdir)/${PN}/lib
doins lib/*
doins -r lib/bundle # Unnecessary?
# Native libraries
exeinto /usr/$(get_libdir)/${PN}/lib/native
# WARNING: Foreign binaries!
if [[ ${ARCH} == amd64 ]] ; then
doexe lib/native/linux-64/*
else
doexe lib/native/linux/*
fi
# Make sure revdep-rebuild doesn't complain about them.
echo "SEARCH_DIRS_MASK=\"${EPREFIX}/usr/$(get_libdir)/${PN}/lib/native\"" > 50-"${PN}"
insinto /etc/revdep-rebuild && doins "50-${PN}"
# Starter item / icon
insinto /usr/share/pixmaps
doins resources/install/debian/${PN}.svg
make_desktop_entry ${PN} Jitsi ${PN} "AudioVideo;Network;InstantMessaging;Chat;Telephony;VideoConference;Java;"
# Generate man page from template
sed -e 's/_PACKAGE_NAME_/jitsi/g' -e 's/_APP_NAME_/Jitsi/g' \
resources/install/debian/jitsi.1.tmpl > "${T}/jitsi.1" || die
doman "${T}/jitsi.1"
# Install custom runscript
exeinto /usr/bin
newbin "${FILESDIR}/jitsi-2.3" "jitsi"
}

View File

@ -0,0 +1,90 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit java-pkg-2 java-ant-2 eutils multilib prefix
DESCRIPTION="An audio/video SIP VoIP phone and instant messenger written in Java"
HOMEPAGE="http://www.jitsi.org/"
#SRC_URI="https://download.jitsi.org/jitsi/nightly/src/${PN}-src-${PV}.zip"
SRC_URI="https://download.jitsi.org/jitsi/src/${PN}-src-${PV}.zip"
# This download comes with 30 Mb of useless jars.
# SVN access is available, but requires an account at java.net.
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="" # FIXME: Should not use ALSA directly, unless USE="alsa", because e.g. PulseAudio could already use and block it.
RDEPEND=">=virtual/jdk-1.6"
DEPEND=">=virtual/jdk-1.6
dev-java/xalan:0
dev-java/ant-nodeps:0
dev-util/patchelf"
S=${WORKDIR}/${PN}
QA_PREBUILT="usr/lib*/${PN}/lib/native/*"
EANT_BUILD_TARGET="rebuild"
src_prepare() {
# Set RPATH for preserve-libs handling.
local x jarch
if [[ ${ARCH} == amd64 ]] ; then
jarch=amd64
cd lib/native/linux-64 || die
else
jarch=i386
cd lib/native/linux || die
fi
local x jarch jdir
jdir=$(java-config -o || die)
for x in * ; do
# Use \x7fELF header to separate ELF executables and libraries
[[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
patchelf --set-rpath "\$ORIGIN:${jdir}/jre/lib/${jarch}:${jdir}/jre/lib/${jarch}/client:${jdir}/jre/lib/${jarch}/xawt:/usr/lib/${PN}/lib/native" "${x}" ||
die "patchelf failed on ${x}"
done
}
src_install() {
# Netbeans bundles
insinto /usr/$(get_libdir)/${PN}/sc-bundles
doins sc-bundles/*.jar sc-bundles/os-specific/linux/*.jar
# Other libraries
insinto /usr/$(get_libdir)/${PN}/lib
doins lib/*
doins -r lib/bundle # Unnecessary?
# Native libraries
exeinto /usr/$(get_libdir)/${PN}/lib/native
# WARNING: Foreign binaries!
if [[ ${ARCH} == amd64 ]] ; then
doexe lib/native/linux-64/*
else
doexe lib/native/linux/*
fi
# Make sure revdep-rebuild doesn't complain about them.
echo "SEARCH_DIRS_MASK=\"${EPREFIX}/usr/$(get_libdir)/${PN}/lib/native\"" > 50-"${PN}"
insinto /etc/revdep-rebuild && doins "50-${PN}"
# Starter item / icon
insinto /usr/share/pixmaps
doins resources/install/debian/${PN}.svg
make_desktop_entry ${PN} Jitsi ${PN} "AudioVideo;Network;InstantMessaging;Chat;Telephony;VideoConference;Java;"
# Generate man page from template
sed -e 's/_PACKAGE_NAME_/jitsi/g' -e 's/_APP_NAME_/Jitsi/g' \
resources/install/debian/jitsi.1.tmpl > "${T}/jitsi.1" || die
doman "${T}/jitsi.1"
# Install custom runscript
exeinto /usr/bin
newbin "${FILESDIR}/jitsi-2.3" "jitsi"
}