freebsd-ports/x11/cinnamon-session/Makefile
Niclas Zeising 4c46ca73d8 Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-07 18:36:55 +00:00

41 lines
1.3 KiB
Makefile

# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$
PORTNAME= cinnamon-session
PORTVERSION= 2.4.3
PORTREVISION= 3
CATEGORIES= x11 gnome
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Session component for the cinnamon desktop
BUILD_DEPENDS= gnome-autogen.sh:devel/gnome-common
LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \
libjson-glib-1.0.so:devel/json-glib \
libupower-glib.so:sysutils/upower \
libcanberra.so:audio/libcanberra
RUN_DEPENDS= console-kit-daemon:sysutils/consolekit2 \
xdpyinfo:x11/xdpyinfo
USES= autoreconf:build gettext gl gmake gnome libtool \
pathfix pkgconfig tar:xz xorg
USE_GITHUB= yes
GH_ACCOUNT= linuxmint
USE_GNOME= gnomeprefix gtk30 intlhack
USE_XORG= ice sm xau xext xtst xrender xtrans xcomposite
USE_GL= gl
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-docbook-docs
CPPFLAGS+= -I${LOCALBASE}/include -Wno-error=format-nonliteral -Wno-error=implicit-function-declaration
CFLAGS+= -I${LOCALBASE}/include -Wno-error=format-nonliteral -Wno-error=implicit-function-declaration
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.cinnamon.SessionManager.gschema.xml
pre-configure:
cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} ./autogen.sh
.include <bsd.port.mk>