blob: ade31dac7c32c2d1747cdad869d1725c8023e4af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Created by: olevole@olevole.ru
# $FreeBSD$
PORTNAME= spice-gtk
PORTVERSION= 0.30
PORTREVISION= 1
CATEGORIES?= deskutils gnome
MASTER_SITES= http://www.spice-space.org/download/gtk/
MAINTAINER= olevole@olevole.ru
COMMENT?= Gtk client and libraries for SPICE remote desktop servers
LICENSE= GPLv2
USE_XORG= pixman
USE_GNOME= gnomeprefix gtk20 gtk30 intltool introspection:build
USES= cpe gmake jpeg libtool pkgconfig tar:bzip2 pathfix python
CPE_VENDOR= redhat
BUILD_DEPENDS= spice-protocol>=0.12.10:devel/spice-protocol \
${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:devel/py-pyparsing
RUN_DEPENDS= spice-protocol>=0.12.10:devel/spice-protocol
.if defined(SPICE_SLAVE)
PORTREVISION= 1
CATEGORIES+= python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gtk2>=0:x11-toolkits/py-gtk2
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gtk2>=0:x11-toolkits/py-gtk2
CONFIGURE_ARGS+= --with-python
PLIST_FILES+= %%PYTHON_SITELIBDIR%%/SpiceClientGtk.so
.endif
CONFIGURE_ENV+= SSL_CFLAGS=-I${OPENSSLINC} \
SSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_OPENSSL= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= NLS DOCS SASL
OPTIONS_DEFAULT= GSTREAMER SASL
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
OPTIONS_SINGLE= AUDIO
OPTIONS_SINGLE_AUDIO= GSTREAMER PULSEAUDIO NOAUDIO
NOAUDIO_DESC= Disable audio backend
GSTREAMER_CONFIGURE_ON= --with-audio=gstreamer
GSTREAMER_USE= GSTREAMER1=yes
PULSEAUDIO_CONFIGURE_ON= --with-audio=pulse
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENABLE= pulse
NOAUDIO_CONFIGURE_ON= --with-audio=no
SASL_CONFIGURE_WITH= sasl=yes
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
.include <bsd.port.mk>
|