Changeset View
Changeset View
Standalone View
Standalone View
x11/cinnamon/Makefile
PORTNAME= cinnamon | PORTNAME= cinnamon | ||||
PORTVERSION= 4.8.6 | PORTVERSION= 5.4.9 | ||||
PORTREVISION= 3 | |||||
CATEGORIES= x11 gnome | CATEGORIES= x11 gnome | ||||
DIST_SUBDIR= gnome | DIST_SUBDIR= gnome | ||||
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ | PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ | ||||
PATCHFILES+= aa0bf5b13078.patch:-p1 # https://github.com/linuxmint/cinnamon/pull/10606 | |||||
MAINTAINER= gnome@FreeBSD.org | MAINTAINER= gnome@FreeBSD.org | ||||
COMMENT= Fork of GNOME Shell with layout similar to GNOME 2 | COMMENT= Fork of GNOME Shell with layout similar to GNOME 2 | ||||
WWW= http://cinnamon.linuxmint.com/ | WWW= https://github.com/linuxmint/cinnamon | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
BUILD_DEPENDS= ca_root_nss>0:security/ca_root_nss | BUILD_DEPENDS= ca_root_nss>0:security/ca_root_nss \ | ||||
${LOCALBASE}/include/EGL/eglmesaext.h:graphics/mesa-dri | |||||
LIB_DEPENDS= libcjs.so:lang/cjs \ | LIB_DEPENDS= libcjs.so:lang/cjs \ | ||||
libmuffin.so:x11-wm/muffin \ | libmuffin.so:x11-wm/muffin \ | ||||
libcinnamon-menu-3.so:x11/cinnamon-menus \ | libcinnamon-menu-3.so:x11/cinnamon-menus \ | ||||
libdbus-1.so:devel/dbus \ | libdbus-1.so:devel/dbus \ | ||||
libpolkit-agent-1.so:sysutils/polkit \ | libpolkit-agent-1.so:sysutils/polkit \ | ||||
libatk-bridge-2.0.so:accessibility/at-spi2-atk \ | libatk-bridge-2.0.so:accessibility/at-spi2-atk \ | ||||
libstartup-notification-1.so:x11/startup-notification \ | libsoup-2.4.so:devel/libsoup \ | ||||
libsoup-2.4.so:devel/libsoup | libxapp.so:x11/xapp | ||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \ | RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \ | ||||
ca_root_nss>0:security/ca_root_nss \ | ca_root_nss>0:security/ca_root_nss \ | ||||
gnome-themes-extra>3.0.0:x11-themes/gnome-themes-extra \ | gnome-themes-extra>3.0.0:x11-themes/gnome-themes-extra \ | ||||
caribou>0:accessibility/caribou \ | caribou>0:accessibility/caribou \ | ||||
cinnamon-control-center:sysutils/cinnamon-control-center \ | cinnamon-control-center:sysutils/cinnamon-control-center \ | ||||
cinnamon-screensaver:x11/cinnamon-screensaver \ | cinnamon-screensaver:x11/cinnamon-screensaver \ | ||||
nemo:x11-fm/nemo \ | nemo:x11-fm/nemo \ | ||||
${PY_PILLOW} \ | ${PY_PILLOW} \ | ||||
${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ | ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}pyinotify>0:devel/py-pyinotify@${PY_FLAVOR} \ | ${PYTHON_PKGNAMEPREFIX}pyinotify>0:devel/py-pyinotify@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} \ | ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}python-xapp>0:x11/py-python-xapp@${PY_FLAVOR} \ | ${PYTHON_PKGNAMEPREFIX}python-xapp>0:x11/py-python-xapp@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}python-pam>0:security/py-python-pam@${PY_FLAVOR} \ | ${PYTHON_PKGNAMEPREFIX}python-pam>0:security/py-python-pam@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}tinycss>0:textproc/py-tinycss@${PY_FLAVOR} \ | ${PYTHON_PKGNAMEPREFIX}tinycss>0:textproc/py-tinycss@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \ | ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR} \ | ${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ | |||||
gkbd-keyboard-display:x11/libgnomekbd \ | |||||
gucharmap:deskutils/gucharmap \ | |||||
keybinder-gtk3>0:x11/keybinder-gtk3 \ | |||||
timezonemap>0:misc/timezonemap \ | timezonemap>0:misc/timezonemap \ | ||||
${LOCALBASE}/lib/girepository-1.0/GSound-1.0.typelib:audio/gsound \ | |||||
gnome-backgrounds>0:x11-themes/gnome-backgrounds \ | gnome-backgrounds>0:x11-themes/gnome-backgrounds \ | ||||
metacity:x11-wm/metacity \ | metacity:x11-wm/metacity \ | ||||
tint2:x11/tint | tint2:x11/tint | ||||
USES= compiler:c11 cpe gettext gl gnome gstreamer meson pkgconfig python:3.5+ shebangfix xorg | USES= compiler:c11 cpe gettext-runtime gettext-tools:run gl gnome gstreamer \ | ||||
meson perl5 pkgconfig python shebangfix xorg | |||||
CPE_VENDOR= linuxmint | CPE_VENDOR= linuxmint | ||||
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool introspection libxml2 pygobject3 | USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool introspection libxml2 pygobject3 | ||||
USE_XORG= x11 xfixes | USE_XORG= x11 xfixes | ||||
USE_GL= gl | USE_GL= gl | ||||
USE_PERL5= build | |||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= linuxmint | GH_ACCOUNT= linuxmint | ||||
SHEBANG_GLOB= *.py | SHEBANG_GLOB= *.py | ||||
SHEBANG_FILES= files/* | SHEBANG_FILES= files/* src/data-to-c.pl | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
BINARY_ALIAS= python3=${PYTHON_CMD} | BINARY_ALIAS= python3=${PYTHON_CMD} | ||||
MESON_ARGS= -Ddisable_networkmanager=true | MESON_ARGS= -Ddisable_networkmanager=true | ||||
GLIB_SCHEMAS= org.cinnamon.gschema.xml | GLIB_SCHEMAS= org.cinnamon.gschema.xml | ||||
Show All 37 Lines | post-patch: | ||||
@${FIND} ${WRKSRC} -name '*.bak' -type f -delete | @${FIND} ${WRKSRC} -name '*.bak' -type f -delete | ||||
# Adhere to our hier(7) | # Adhere to our hier(7) | ||||
@${MKDIR} ${WRKSRC}/files${PREFIX} | @${MKDIR} ${WRKSRC}/files${PREFIX} | ||||
@${MV} ${WRKSRC}/files/etc ${WRKSRC}/files${PREFIX} | @${MV} ${WRKSRC}/files/etc ${WRKSRC}/files${PREFIX} | ||||
. for i in bin share | . for i in bin share | ||||
@${MV} ${WRKSRC}/files/usr/${i} ${WRKSRC}/files${PREFIX} | @${MV} ${WRKSRC}/files/usr/${i} ${WRKSRC}/files${PREFIX} | ||||
. endfor | . endfor | ||||
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> | .include <bsd.port.mk> |