1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/x11/arandr/Makefile
Alexey Dokuchaev af988b48eb Add missing dependency on GTK, otherwise installed package fails to run:
Traceback (most recent call last):
    File "/usr/local/bin/arandr", line 41, in <module>
      from screenlayout.gui import main
    File "/usr/local/lib/python3.7/site-packages/screenlayout/gui.py",
    line 28, in <module>
      gi.require_version('Gtk', '3.0')
    File "/usr/local/lib/python3.7/site-packages/gi/__init__.py",
    line 130, in require_version
      raise ValueError('Namespace %s not available' % namespace)
  ValueError: Namespace Gtk not available

Reported by:	Zeus Panchenko
2020-09-09 07:14:20 +00:00

35 lines
749 B
Makefile

# Created by: Sofian Brabez <sbz@FreeBSD.org>
# $FreeBSD$
PORTNAME= arandr
PORTVERSION= 0.1.10
PORTREVISION= 1
CATEGORIES= x11 deskutils
MAINTAINER= sbz@FreeBSD.org
COMMENT= Another XRandR GUI
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>0.6:textproc/py-docutils@${PY_FLAVOR}
RUN_DEPENDS= xrandr>0:x11/xrandr
USES= gettext gnome python
USE_GITLAB= yes
GL_COMMIT= 43faec00c0feca3f00b0acbae048de14f02c6d21
USE_GNOME= gtk30 pygobject3
USE_PYTHON= distutils noflavors py3kplist
NO_ARCH= yes
PORTDOCS= ChangeLog NEWS README TODO
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>