aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharlie Li <git@vishwin.info>2020-05-08 21:08:48 +0800
committerCharlie Li <git@vishwin.info>2020-05-08 21:08:48 +0800
commit81ad68bcfaa93b8a5ea5d4b30ca318812c9ba653 (patch)
tree8a2fd72de2cb18db924be41fe96586146f315ac5
parent0563a85d5a8c45f3dcb71992c580116fbb862e09 (diff)
downloadfreebsd-ports-gnome-81ad68bcfaa93b8a5ea5d4b30ca318812c9ba653.tar.gz
freebsd-ports-gnome-81ad68bcfaa93b8a5ea5d4b30ca318812c9ba653.tar.zst
freebsd-ports-gnome-81ad68bcfaa93b8a5ea5d4b30ca318812c9ba653.zip
x11/cinnamon: include x11-themes/gnome-backgrounds set
-rw-r--r--x11/cinnamon/Makefile9
-rw-r--r--x11/cinnamon/pkg-plist2
2 files changed, 11 insertions, 0 deletions
diff --git a/x11/cinnamon/Makefile b/x11/cinnamon/Makefile
index ff80244837f1..21728a171e4b 100644
--- a/x11/cinnamon/Makefile
+++ b/x11/cinnamon/Makefile
@@ -43,6 +43,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-pam>0:security/py-python-pam@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tinycss>0:textproc/py-tinycss@${PY_FLAVOR} \
timezonemap>0:misc/timezonemap \
+ gnome-backgrounds>0:x11-themes/gnome-backgrounds \
metacity:x11-wm/metacity \
tint2:x11/tint
@@ -124,4 +125,12 @@ post-patch:
pre-configure:
@cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} autogen.sh
+post-install:
+ # Ship the GNOME Backgrounds set
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/cinnamon-background-properties
+ @${LN} -s ${PREFIX}/share/gnome-background-properties/adwaita.xml \
+ ${STAGEDIR}${PREFIX}/share/cinnamon-background-properties/adwaita.xml
+ @${LN} -s ${PREFIX}/share/gnome-background-properties/gnome-backgrounds.xml \
+ ${STAGEDIR}${PREFIX}/share/cinnamon-background-properties/gnome-backgrounds.xml
+
.include <bsd.port.mk>
diff --git a/x11/cinnamon/pkg-plist b/x11/cinnamon/pkg-plist
index 0c08ed461227..0bec9c26b249 100644
--- a/x11/cinnamon/pkg-plist
+++ b/x11/cinnamon/pkg-plist
@@ -67,6 +67,8 @@ share/applications/cinnamon-settings-workspaces.desktop
share/applications/cinnamon-settings.desktop
share/applications/cinnamon.desktop
share/applications/cinnamon2d.desktop
+%%DATADIR%%-background-properties/adwaita.xml
+%%DATADIR%%-background-properties/gnome-backgrounds.xml
%%DATADIR%%-session/sessions/cinnamon.session
%%DATADIR%%-session/sessions/cinnamon2d.session
%%DATADIR%%/applets/a11y@cinnamon.org/applet.js