New package: skype-5.3.0.1
Repackaging of the Debian version of Skype for Void. Replaces the skype-32bit package (no longer supported). Closes: #6558 [via git-merge-pr]
This commit is contained in:
parent
d4d99327eb
commit
18cc5fc716
|
@ -1,9 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
MACHINE=$(uname -m)
|
|
||||||
if [ "$MACHINE" = "x86_64" ]; then
|
|
||||||
export LD_LIBRARY_PATH=/usr/lib32
|
|
||||||
export QT_PLUGIN_PATH=/usr/lib32/qt/plugins
|
|
||||||
fi
|
|
||||||
|
|
||||||
PULSE_LATENCY_MSEC=30 exec /usr/lib32/skype/skype "$@"
|
|
|
@ -1,46 +1,39 @@
|
||||||
# Template file for 'skype'
|
# Template file for 'skype'
|
||||||
|
# This just repackages the debian package.
|
||||||
pkgname=skype
|
pkgname=skype
|
||||||
version=4.3.0.37
|
version=5.3.0.1
|
||||||
revision=5
|
revision=1
|
||||||
short_desc="P2P software for high-quality voice communication"
|
only_for_archs="x86_64"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
||||||
homepage="http://www.skype.com"
|
|
||||||
license="skype"
|
|
||||||
distfiles="http://download.skype.com/linux/${pkgname}-${version}.tar.bz2"
|
|
||||||
checksum=8c99dc3978a588fb13303df7c8134379fb55b8dd460efefbc79ae594269b892d
|
|
||||||
|
|
||||||
only_for_archs="i686"
|
|
||||||
repository="nonfree"
|
repository="nonfree"
|
||||||
|
build_style="fetch"
|
||||||
nostrip="yes"
|
nostrip="yes"
|
||||||
depends="pulseaudio qt hicolor-icon-theme ca-certificates alsa-plugins-pulseaudio pavucontrol qt-webkit"
|
short_desc="Skype for Linux Beta"
|
||||||
lib32mode="full"
|
maintainer="Lon Willett <xgit@lonw.net>"
|
||||||
|
license="skype"
|
||||||
|
homepage="https://www.skype.com"
|
||||||
|
distfiles="https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb"
|
||||||
|
checksum=3fdb61292cfdeef42ddb473d019884a4a8c5798f871793086f5edb6fb14d4e23
|
||||||
|
|
||||||
|
do_extract() {
|
||||||
|
ar p ${XBPS_SRCDISTDIR}/${pkgname}-${version}/skypeforlinux_${version}_amd64.deb data.tar.xz | tar xJpf - ./usr
|
||||||
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
# Executable
|
|
||||||
vbin ${FILESDIR}/skype.sh skype
|
|
||||||
vinstall skype 755 usr/lib/skype
|
|
||||||
|
|
||||||
# Data
|
vbin usr/bin/skypeforlinux
|
||||||
vmkdir usr/share/skype
|
|
||||||
vcopy avatars usr/share/skype
|
|
||||||
vcopy lang usr/share/skype
|
|
||||||
vcopy sounds usr/share/skype
|
|
||||||
|
|
||||||
# DBus Service
|
vmkdir usr/share
|
||||||
vinstall skype.conf 644 etc/dbus-1/system.d
|
vcopy usr/share/skypeforlinux usr/share
|
||||||
|
|
||||||
# Icons
|
vlicense usr/share/doc/skypeforlinux/copyright
|
||||||
for _i in 16 32 48; do
|
vlicense usr/share/doc/skypeforlinux/third-party_attributions.html
|
||||||
vmkdir usr/share/icons/hicolor/${_i}x${_i}
|
# The binary needs to be able to find these under /usr/share/doc
|
||||||
vcopy icons/SkypeBlue_${_i}x${_i}.png \
|
vmkdir usr/share/doc/skypeforlinux
|
||||||
usr/share/icons/hicolor/${_i}x${_i}/skype.png
|
ln -s ../../licenses/skype/copyright ../../licenses/skype/third-party_attributions.html ${DESTDIR}/usr/share/doc/skypeforlinux
|
||||||
|
|
||||||
|
vinstall usr/share/applications/skypeforlinux.desktop 644 usr/share/applications
|
||||||
|
vinstall usr/share/pixmaps/skypeforlinux.png 644 usr/share/pixmaps
|
||||||
|
find usr/share/icons -type f -print | while read _f; do
|
||||||
|
vinstall "${_f}" 644 "${_f%/*}"
|
||||||
done
|
done
|
||||||
vinstall icons/SkypeBlue_48x48.png 644 usr/share/pixmaps skype.png
|
|
||||||
|
|
||||||
# Desktop file
|
|
||||||
vinstall skype.desktop 644 usr/share/applications
|
|
||||||
|
|
||||||
# License
|
|
||||||
vlicense LICENSE
|
|
||||||
vlicense third-party_attributions.txt
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue