View | Details | Raw Unified | Return to bug 200608 | Differences between
and this patch

Collapse All | Expand All

(-)net-im/skype4/Makefile (-11 / +20 lines)
Lines 11-16 Link Here
11
MAINTAINER=	xmj@chaot.net
11
MAINTAINER=	xmj@chaot.net
12
COMMENT=	P2P VoIP software
12
COMMENT=	P2P VoIP software
13
13
14
RUN_DEPENDS=	${LINUXBASE}/lib/skype_oss_wrapper/libpulse.so.0:${PORTSDIR}/audio/skype_oss_wrapper
15
14
CONFLICTS=	skype-devel-[0-9]*
16
CONFLICTS=	skype-devel-[0-9]*
15
17
16
OPTIONS_DEFINE=	VIDEO
18
OPTIONS_DEFINE=	VIDEO
Lines 20-26 Link Here
20
22
21
USES=		cpe desktop-file-utils tar:bzip2
23
USES=		cpe desktop-file-utils tar:bzip2
22
USE_LINUX=	yes
24
USE_LINUX=	yes
23
USE_LINUX_APPS+= fontconfig xorglibs qt47 qt47-x11 qt47-webkit libsndfile openssl-compat pulseaudio-libs tcp_wrappers-libs flac libasyncns
25
USE_LINUX_APPS+=	fontconfig xorglibs qt47 qt47-x11 qt47-webkit \
26
			openssl-compat
24
27
25
RESTRICTED=	Redistribution prohibited.
28
RESTRICTED=	Redistribution prohibited.
26
29
Lines 30-38 Link Here
30
SUB_FILES=	skype.sh
33
SUB_FILES=	skype.sh
31
SUB_LIST+=	SKYPEDIR=${SKYPEDIR}
34
SUB_LIST+=	SKYPEDIR=${SKYPEDIR}
32
35
36
.include <bsd.port.pre.mk>
37
38
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100075
33
BROKEN=		Skype 4.3 is missing several Linux syscalls.
39
BROKEN=		Skype 4.3 is missing several Linux syscalls.
34
DEPRECATED=	Broken for more than 6 months
40
.endif
35
EXPIRATION_DATE=	2015-05-26
36
41
37
#NVIDIA_GL_RUN_DEPENDS=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
42
#NVIDIA_GL_RUN_DEPENDS=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
38
#NVIDIA_GL_USE=		LINUX_APPS=xorglibs
43
#NVIDIA_GL_USE=		LINUX_APPS=xorglibs
Lines 48-66 Link Here
48
.endif
53
.endif
49
54
50
do-install:
55
do-install:
51
	@${INSTALL} -d ${STAGEDIR}${PREFIX}/share/applications
56
	${INSTALL} -d ${STAGEDIR}${PREFIX}/share/applications
52
	@${INSTALL_DATA} ${WRKSRC}/skype.desktop ${STAGEDIR}${PREFIX}/share/applications/
57
	${INSTALL_DATA} ${WRKSRC}/skype.desktop \
53
	@${INSTALL_DATA} ${WRKSRC}/icons/SkypeBlue_48x48.png ${STAGEDIR}${PREFIX}/share/pixmaps/skype.png
58
	    ${STAGEDIR}${PREFIX}/share/applications/
54
	@cd ${WRKSRC}/ && ${MKDIR} ${STAGEDIR}${PREFIX}/${SKYPEDIR} && ${COPYTREE_SHARE} "avatars icons sounds lang" ${STAGEDIR}${PREFIX}/${SKYPEDIR}/
59
	${INSTALL_DATA} ${WRKSRC}/icons/SkypeBlue_48x48.png \
60
	    ${STAGEDIR}${PREFIX}/share/pixmaps/skype.png
61
	@cd ${WRKSRC}/ && ${MKDIR} ${STAGEDIR}${PREFIX}/${SKYPEDIR} && \
62
	    ${COPYTREE_SHARE} "avatars icons sounds lang" \
63
	        ${STAGEDIR}${PREFIX}/${SKYPEDIR}/
55
64
56
# The binary main program
65
# The binary main program
57
	@${INSTALL_PROGRAM} ${WRKSRC}/skype ${STAGEDIR}${PREFIX}/${SKYPEDIR}/
66
	${INSTALL_PROGRAM} ${WRKSRC}/skype ${STAGEDIR}${PREFIX}/${SKYPEDIR}/
58
67
59
# The wrapper for main program
68
# The wrapper for main program
60
	@${INSTALL_SCRIPT} ${WRKDIR}/skype.sh ${STAGEDIR}${PREFIX}/bin/skype
69
	${INSTALL_SCRIPT} ${WRKDIR}/skype.sh ${STAGEDIR}${PREFIX}/bin/skype
61
70
62
# Documentation
71
# Documentation
63
	@${INSTALL} -d ${STAGEDIR}${DOCSDIR}
72
	${INSTALL} -d ${STAGEDIR}${DOCSDIR}
64
	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
73
	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
65
74
66
.include <bsd.port.mk>
75
.include <bsd.port.post.mk>
(-)net-im/skype4/files/skype.sh.in (-2 / +3 lines)
Lines 1-3 Link Here
1
#!/compat/linux/bin/sh
1
#!/bin/sh
2
%%VIDEO%% %%PREFIX%%/%%SKYPEDIR%%/skype --resources=%%PREFIX%%/%%SKYPEDIR%% --disable-api $@
2
export %%VIDEO%%LD_LIBRARY_PATH=/lib/skype_oss_wrapper:${LD_LIBRARY_PATH}
3
exec %%PREFIX%%/%%SKYPEDIR%%/skype --resources=%%PREFIX%%/%%SKYPEDIR%% --disable-api "$@"
3
4

Return to bug 200608