]> git.pld-linux.org Git - packages/vte.git/commitdiff
- glx bcond (and turned it off by default - prove please that
authorjpc <jpc@pld-linux.org>
Sat, 10 Jul 2004 21:50:32 +0000 (21:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  this is is useful and not only an unnecesary dep)

Changed files:
    vte.spec -> 1.57

vte.spec

index 4b5018b3fa0035c40f71bc1f08ec63109102dd45..473aae1a9e0dbfe36d05707e390a4cfb19cb6ab5 100644 (file)
--- a/vte.spec
+++ b/vte.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    glx # build for glX support
+#
 %include        /usr/lib/rpm/macros.python
 Summary:       VTE terminal widget library
 Summary(pl):   Biblioteka z kontrolk± terminala VTE
@@ -13,7 +17,7 @@ Patch1:               %{name}-localenames.patch
 Patch2:                %{name}-atktextselection.patch
 Patch3:                %{name}-types-include.patch
 Patch4:                %{name}-performance.patch
-BuildRequires: OpenGL-devel
+%{?with_glx:BuildRequires:     OpenGL-devel}
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: glib2-devel >= 2.2.0
@@ -106,7 +110,7 @@ CFLAGS="-I/usr/include/ncurses"
 %configure \
        --with-xft2 \
        --with-pangox \
-       --with-glX \
+       %{?with_glx:--with-glX} \
        --with-default-emulation=xterm \
        --enable-gtk-doc \
        --with-html-dir=%{_gtkdocdir}
This page took 0.05051 seconds and 4 git commands to generate.