It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)
76 lines
2.4 KiB
Makefile
76 lines
2.4 KiB
Makefile
PORTNAME= spice-gtk
|
|
PORTVERSION= 0.37
|
|
CATEGORIES?= deskutils gnome
|
|
MASTER_SITES= http://www.spice-space.org/download/gtk/
|
|
|
|
MAINTAINER= xxjack12xx@gmail.com
|
|
COMMENT= Gtk client and libraries for SPICE remote desktop servers
|
|
WWW= https://www.spice-space.org/
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libepoxy.so:graphics/libepoxy \
|
|
libjson-glib-1.0.so:devel/json-glib \
|
|
libopus.so:audio/opus \
|
|
libva-x11.so:multimedia/libva
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:devel/py-pyparsing@${PY_FLAVOR} \
|
|
spice-protocol>=0.12.15:devel/spice-protocol
|
|
RUN_DEPENDS= spice-protocol>=0.12.15:devel/spice-protocol
|
|
|
|
USES= compiler:c11 cpe gettext-tools gmake gnome gstreamer jpeg \
|
|
libtool localbase:ldflags pkgconfig python ssl tar:bzip2 xorg
|
|
USE_XORG= pixman x11
|
|
USE_GNOME= cairo gdkpixbuf2 gnomeprefix gtk30 intltool introspection:build
|
|
|
|
CPE_VENDOR= spice-gtk_project
|
|
|
|
SPICE_SSL_CFLAGS= -I${OPENSSLINC}
|
|
SPICE_SSL_LIBS= -L${OPENSSLLIB} -lcrypto -lssl
|
|
CONFIGURE_ENV+= OPENSSL_CFLAGS="${SPICE_SSL_CFLAGS}" \
|
|
OPENSSL_LIBS="${SPICE_SSL_LIBS}"
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
# we can't use pathfix with USES=autoreconf
|
|
MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
OPTIONS_DEFINE= BUILTIN-MJPEG DOCS INTROSPECTION LZ4 NLS PIE POLKIT \
|
|
PULSEAUDIO SASL
|
|
OPTIONS_DEFAULT= BUILTIN-MJPEG INTROSPECTION LZ4 PIE POLKIT PULSEAUDIO \
|
|
SASL
|
|
OPTIONS_SUB= yes
|
|
|
|
LZ4_CONFIGURE_ON= --enable-lz4=yes
|
|
LZ4_CONFIGURE_OFF= --enable-lz4=no
|
|
LZ4_LIB_DEPENDS+= liblz4.so:archivers/liblz4
|
|
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
BUILTIN-MJPEG_CONFIGURE_ENABLE= builtin-mjpeg
|
|
BUILTIN-MJPEG_DESC= Enable the builtin mjpeg video decoder
|
|
|
|
INTROSPECTION_CONFIGURE_ON= --enable-introspection=yes
|
|
INTROSPECTION_CONFIGURE_OFF= --enable-introspection=no
|
|
INTROSPECTION_DESC= Enable introspection for this build
|
|
|
|
PIE_CONFIGURE_ON= --enable-pie=yes
|
|
PIE_CONFIGURE_OFF= --enable-pie=no
|
|
PIE_DESC= Enable position-independent-executable support (for usb acl helper)
|
|
|
|
POLKIT_CONFIGURE_ON= --enable-polkit=yes
|
|
POLKIT_CONFIGURE_OFF= --enable-polkit=no
|
|
POLKIT_DESC= Enable PolicyKit support (for usb acl helper)
|
|
|
|
PULSEAUDIO_CONFIGURE_ON= --enable-pulse=yes
|
|
PULSEAUDIO_CONFIGURE_OFF= --enable-pulse=no
|
|
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
|
|
|
SASL_CONFIGURE_ON= --with-sasl=yes
|
|
SASL_CONFIGURE_OFF= --with-sasl=no
|
|
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
|
|
|
|
.include <bsd.port.mk>
|