blob: ca315d3c0e56fa16ce661c2a09059e85ba2d1df2 (
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
68
69
70
71
72
73
74
75
76
77
|
# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$
PORTNAME= cinnamon-settings-daemon
PORTVERSION= 2.4.3
PORTREVISION= 4
CATEGORIES= sysutils gnome
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME 3 settings daemon
BUILD_DEPENDS= cinnamon-session:x11/cinnamon-session \
gnome-autogen.sh:devel/gnome-common \
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \
docbook-xsl>=0:textproc/docbook-xsl
LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \
libpolkit-gobject-1.so:sysutils/polkit \
libibus-1.0.so:textproc/ibus \
libdbus-1.so:devel/dbus \
libcolord.so:graphics/colord \
liblcms2.so:graphics/lcms2 \
libcinnamon-desktop.so:x11/cinnamon-desktop \
libpulse.so:audio/pulseaudio \
libgdbm.so:databases/gdbm \
libnotify.so:devel/libnotify
RUN_DEPENDS= cinnamon-session:x11/cinnamon-session \
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
USES= autoreconf gettext gmake libtool pathfix \
pkgconfig tar:xz
USE_GNOME= gnomeprefix intlhack libgnomekbd \
libxslt:build
USE_GITHUB= yes
GH_ACCOUNT= linuxmint
USE_XORG= xxf86misc
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-gudev \
--disable-systemd \
--disable-packagekit \
--with-gnome-distributor="FreeBSD GNOME Project"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.cinnamon.settings-daemon.enums.xml \
org.cinnamon.settings-daemon.peripherals.gschema.xml \
org.cinnamon.settings-daemon.plugins.background.gschema.xml \
org.cinnamon.settings-daemon.plugins.color.gschema.xml \
org.cinnamon.settings-daemon.plugins.gschema.xml \
org.cinnamon.settings-daemon.plugins.housekeeping.gschema.xml \
org.cinnamon.settings-daemon.plugins.keyboard.gschema.xml \
org.cinnamon.settings-daemon.plugins.media-keys.gschema.xml \
org.cinnamon.settings-daemon.plugins.orientation.gschema.xml \
org.cinnamon.settings-daemon.plugins.power.gschema.xml \
org.cinnamon.settings-daemon.plugins.print-notifications.gschema.xml \
org.cinnamon.settings-daemon.plugins.xrandr.gschema.xml \
org.cinnamon.settings-daemon.plugins.xsettings.gschema.xml \
OPTIONS_SUB= yes
OPTIONS_DEFINE= CUPS SMARTCARD
OPTIONS_DEFAULT=CUPS SMARTCARD
SMARTCARD_DESC= Smartcard support
CUPS_CONFIGURE_ENABLE= cups
CUPS_LIB_DEPENDS= libcups.so:print/cups
SMARTCARD_CONFIGURE_ENABLE= smartcard-support
SMARTCARD_LIB_DEPENDS= libnss3.so:security/nss
post-patch:
@${REINPLACE_CMD} -e 's|/etc/gnome|${PREFIX}/etc/gnome|g' \
${WRKSRC}/data/org.cinnamon.settings-daemon.plugins.xrandr.gschema.xml.in.in
@${REINPLACE_CMD} -e '/wacom/d' \
${WRKSRC}/data/Makefile.am
.include <bsd.port.mk>
|