]> git.pld-linux.org Git - packages/elinks.git/commitdiff
- enable libevent by default
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Sat, 4 Jun 2022 20:09:07 +0000 (22:09 +0200)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Sat, 4 Jun 2022 20:09:07 +0000 (22:09 +0200)
  (there is weird bug related to select call on x32). libevent is better here
- rel 2

elinks.spec

index e2a25462b633d2b37eed0f0124afab1abc8e258c..8ab88665877bf04b879a8b65d41aba21e677b1af 100644 (file)
@@ -27,6 +27,7 @@
 %bcond_with    x               # Use the X Window System
 # - misc
 %bcond_without verbose         # verbose build (V=1)
+%bcond_without libevent        # build without libevent
 
 %if %{with gnutls}
 %undefine      with_openssl
@@ -38,7 +39,7 @@ Summary(pl.UTF-8):    Eksperymentalny Links (tekstowa przeglądarka WWW)
 Summary(pt_BR.UTF-8):  O links é um browser para modo texto, similar ao lynx
 Name:          elinks
 Version:       0.15.0
-Release:       1
+Release:       2
 Epoch:         1
 License:       GPL v2
 Group:         Applications/Networking
@@ -61,6 +62,7 @@ BuildRequires:        libstdc++-devel
 BuildRequires: rpmbuild(macros) >= 1.736
 %{?with_js:BuildRequires:      sqlite3-devel}
 %{?with_brotli:BuildRequires:  libbrotli-devel}
+%{?with_libevent:BuildRequires:        libevent-devel}
 %{?with_idn:BuildRequires:     libidn-devel}
 %{?with_smb:BuildRequires:     libsmbclient-devel}
 %{?with_lua:BuildRequires:     lua53-devel}
@@ -146,7 +148,8 @@ keepalive.
        %{?with_python:-Dpython=true} \
        %{?with_ruby:-Druby=true} \
        %{?with_js:-Dquickjs=true} \
-       %{?with_x:-Dx=true}
+       %{?with_x:-Dx=true} \
+       %{?with_libevent:-Dlibevent=true}
 
 %ninja_build -C build
 
This page took 0.171733 seconds and 4 git commands to generate.