freebsd-ports/x11/gnome-shell/Makefile
Mathieu Arnold 551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00

73 lines
2.3 KiB
Makefile

# Created by: Pawel Worach <pawel.worach@gmail.com>
# $FreeBSD$
PORTNAME= gnome-shell
PORTVERSION= 3.18.5
PORTREVISION= 5
CATEGORIES= x11 gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Next generation GNOME desktop shell
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ca_root_nss>=0:security/ca_root_nss \
nss>=0:security/nss \
gnome-control-center:sysutils/gnome-control-center
LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification \
libcaribou.so:accessibility/caribou \
libmutter.so:x11-wm/mutter \
libatk-bridge-2.0.so:accessibility/at-spi2-atk \
libnspr4.so:devel/nspr \
libsoup-2.4.so:devel/libsoup \
libjson-glib-1.0.so:devel/json-glib \
libsecret-1.so:security/libsecret \
libgcr-3.so:security/gcr \
libtelepathy-glib.so:net-im/telepathy-glib \
libibus-1.0.so:textproc/ibus \
libical.so:devel/libical \
libmozjs-24.so:lang/spidermonkey24 \
libicuuc.so:devel/icu \
libpulse.so:audio/pulseaudio \
libcroco-0.6.so:textproc/libcroco \
libdbus-glib-1.so:devel/dbus-glib \
libcanberra.so:audio/libcanberra \
libcanberra-gtk3.so:audio/libcanberra-gtk3 \
libp11-kit.so:security/p11-kit \
libpolkit-gobject-1.so:sysutils/polkit \
libcogl.so:graphics/cogl \
libclutter-1.0.so:graphics/clutter \
libgjs.so:lang/gjs
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} \
nss>=0:security/nss \
gnome-control-center:sysutils/gnome-control-center \
ca_root_nss>=0:security/ca_root_nss \
gkbd-keyboard-display:x11/libgnomekbd
PORTSCOUT= limitw:1,even
USES= compiler:c11 cpe gettext gmake gnome libtool localbase \
pathfix pkgconfig python:3.4+ sqlite tar:xz webplugin:native
USE_GNOME= cairo evolutiondataserver3 gdkpixbuf2 gtk30 intltool \
introspection libxml2
USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr
USE_GL= egl
USE_GSTREAMER1= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
WEBPLUGIN_NAME= libgnome-shell-browser-plugin.so
WEBPLUGIN_DIR= ${PREFIX}/lib/mozilla/plugins/
WEBPLUGIN_FILES=libgnome-shell-browser-plugin.so
INSTALL_TARGET= install-strip
CPE_VENDOR= gnome
GLIB_SCHEMAS= org.gnome.shell.gschema.xml
post-patch:
@${REINPLACE_CMD} -e 's|applications.menu|gnome-applications.menu|g' \
${WRKSRC}/src/shell-app-system.c
.include <bsd.port.mk>