aboutsummaryrefslogblamecommitdiff
path: root/www/chrome-gnome-shell/Makefile
blob: 6308a432661313f1fc66a4d1e17f7f82c1e9f395 (plain) (tree)

































                                                                                                         
PORTNAME=	chrome-gnome-shell
DISTVERSION=	10.1
CATEGORIES=	www gnome
MASTER_SITES=	GNOME

MAINTAINER=	daniel@shafer.cc
COMMENT=	GNOME Shell integration for Chrome

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	base64:converters/base64 \
		gnome-shell>=3.28:x11/gnome-shell \
		jq:textproc/jq

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
		gnome-shell>=3.28:x11/gnome-shell \
		unzip>=6.0:archivers/unzip

USES=		cmake gnome python tar:xz
USE_GNOME=	pygobject3

CMAKE_OFF=	BUILD_EXTENSION
CMAKE_ARGS=	-DCMAKE_INSTALL_LIBDIR=lib

INSTALL_TARGET=	install

NO_ARCH=	yes
INSTALLS_ICONS=	yes

post-patch:
	@${REINPLACE_CMD} -e '/find_program_ex/s|gsha256sum|gsha256sum sha256|g' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>