Fix gtkplus build by hardcoding X11 support (#6971)
* Fix gtkplus build by hardcoding X11 support * Remove +X variant from gtkplus dependents
This commit is contained in:

committed by
Gregory Lee

parent
dceb66741c
commit
8bdf7e6baa
@@ -35,18 +35,16 @@ class Gtkplus(AutotoolsPackage):
|
||||
version('2.24.31', '68c1922732c7efc08df4656a5366dcc3afdc8791513400dac276009b40954658')
|
||||
version('2.24.25', '38af1020cb8ff3d10dda2c8807f11e92af9d2fa4045de61c62eedb7fbc7ea5b3')
|
||||
|
||||
variant('X', default=False, description="Enable an X toolkit")
|
||||
|
||||
depends_on('pkgconfig', type='build')
|
||||
|
||||
depends_on("atk")
|
||||
depends_on("gdk-pixbuf")
|
||||
depends_on("glib")
|
||||
depends_on("pango")
|
||||
depends_on("pango~X", when='~X')
|
||||
depends_on("pango+X", when='+X')
|
||||
depends_on('gobject-introspection', when='+X')
|
||||
depends_on('atk')
|
||||
depends_on('gdk-pixbuf')
|
||||
depends_on('glib')
|
||||
depends_on('shared-mime-info')
|
||||
# Hardcode X11 support (former +X variant),
|
||||
# see #6940 for rationale:
|
||||
depends_on('pango+X')
|
||||
depends_on('gobject-introspection')
|
||||
|
||||
patch('no-demos.patch')
|
||||
|
||||
|
Reference in New Issue
Block a user