1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/net-im/skype4/files/skype.sh.in
Johannes Jost Meixner 3b7562930f net-im/skype4: unbreak on 11.0-CURRENT
Changes:

  The "skype" binary works fine after recent update in linux compat layer when
  linux-c6-pulseaudio (libpulse.so.0) is not installed (but linprocfs(5) must be
  mounted into ${LINUXBASE}/proc). So:

  - Unbreak net-im/skype4 for __FreeBSD_version >= 1100075.
  - (temporarily) Disable PA dependency.

  Also:
  - Drop (indirect) PA dependencies.
  - Add tcp_wrappers-libs into linux-c6-pulseaudio-libs dependencies (used by
    libpulse.so.0)
  - Fix some portlint(1) warnings.

  Workaround: libpulse.so.0 can be replaced with PA wrapper from
  https://github.com/waterlaz/skype_oss_wrapper - then sound will work too (with
  mounted devfs(5) in ${LINUXBASE}/dev).

PR:		200608
Submitted by:	Andriy Voskoboinyk <s3erios@gmail.com>
2015-06-11 14:58:03 +00:00

5 lines
175 B
Bash

#!/bin/sh
export %%VIDEO%%LD_LIBRARY_PATH=/lib/skype_oss_wrapper:${LD_LIBRARY_PATH}
exec %%PREFIX%%/%%SKYPEDIR%%/skype --resources=%%PREFIX%%/%%SKYPEDIR%% --disable-api "$@"