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
This commit is contained in:
Alexey Dokuchaev 2020-09-09 07:14:20 +00:00
parent 02a9c30cdc
commit af988b48eb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=548063

View File

@ -3,6 +3,7 @@
PORTNAME= arandr
PORTVERSION= 0.1.10
PORTREVISION= 1
CATEGORIES= x11 deskutils
MAINTAINER= sbz@FreeBSD.org
@ -17,7 +18,7 @@ RUN_DEPENDS= xrandr>0:x11/xrandr
USES= gettext gnome python
USE_GITLAB= yes
GL_COMMIT= 43faec00c0feca3f00b0acbae048de14f02c6d21
USE_GNOME= pygobject3
USE_GNOME= gtk30 pygobject3
USE_PYTHON= distutils noflavors py3kplist
NO_ARCH= yes