forked from ports/contrib
45 lines
1.7 KiB
Plaintext
45 lines
1.7 KiB
Plaintext
# Description: P2P VoIP software which supports end-to-end encryption.
|
|
# URL: http://www.skype.com/intl/en/get-skype/on-your-computer/linux/
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: sten, nick dot steeves at shaw dot ca
|
|
# Depends on: qt4-32 alsa-lib-32 xorg-libxscrnsaver-32 xorg-libxv-32
|
|
|
|
name=skype
|
|
version=4.1.0.20
|
|
release=3
|
|
source=(http://download.skype.com/linux/$name-$version.tar.bz2
|
|
http://ftp.gnome.org/pub/GNOME/sources/glib/2.34/glib-2.34.3.tar.xz)
|
|
|
|
build() {
|
|
# https://jira.skype.com/browse/SCL-977
|
|
cd glib-2.34.3
|
|
|
|
./configure --prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--mandir=/usr/man \
|
|
--with-pcre=system \
|
|
--with-runtime-libdir=../../lib32 \
|
|
--with-gio-module-dir=/lib32/gio/modules
|
|
|
|
make
|
|
install -D -m 0644 gobject/.libs/libgobject-2.0.so.0.3400.3 $PKG/usr/lib32/libgobject-2.0.so.0.3400.3
|
|
|
|
cd ../$name-$version
|
|
install -d $PKG/usr/share/skype/{avatars,lang,sounds}
|
|
install -D -m 0755 skype $PKG/usr/bin/skype-bin
|
|
install -m 0644 avatars/* $PKG/usr/share/skype/avatars
|
|
install -m 0644 lang/* $PKG/usr/share/skype/lang
|
|
install -m 0644 sounds/* $PKG/usr/share/skype/sounds
|
|
|
|
install -D -m 0644 icons/SkypeBlue_16x16.png $PKG/usr/share/icons/hicolor/16x16/apps/skype.png
|
|
install -D -m 0644 icons/SkypeBlue_32x32.png $PKG/usr/share/icons/hicolor/32x32/apps/skype.png
|
|
install -D -m 0644 icons/SkypeBlue_48x48.png $PKG/usr/share/icons/hicolor/48x48/apps/skype.png
|
|
install -D -m 0644 skype.desktop $PKG/usr/share/applications/skype.desktop
|
|
#install -D -m 0644 skype.conf $PKG/etc/dbus-1/system.d/skype.conf
|
|
cat << "__EOF__" > $PKG/usr/bin/skype
|
|
#!/bin/sh
|
|
LD_PRELOAD=/usr/lib32/libgobject-2.0.so.0.3400.3 skype-bin
|
|
__EOF__
|
|
chmod 0755 $PKG/usr/bin/skype
|
|
}
|