[packages/weechat] javascript plugin needs v8

glen glen at pld-linux.org
Mon May 11 11:55:29 CEST 2015


commit 9fc5e4a1184f864fe4638cc57c5ae73754620aaa
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon May 11 12:55:18 2015 +0300

    javascript plugin needs v8

 weechat.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/weechat.spec b/weechat.spec
index 1897204..7a17448 100644
--- a/weechat.spec
+++ b/weechat.spec
@@ -14,6 +14,7 @@
 %bcond_without	python	# don't enable Python scripting language
 %bcond_without	ruby	# don't enable Ruby scripting language
 %bcond_without	tcl	# don't enable Tcl scripting language
+%bcond_without	js	# don't enable JavaScript scripting language (V8 engine)
 
 Summary:	WeeChat - fast and light chat environment
 Summary(pl.UTF-8):	WeeChat - szybkie i lekkie środowisko do rozmów
@@ -39,6 +40,7 @@ BuildRequires:	ncurses-devel
 %{?with_perl:BuildRequires:	perl-devel}
 BuildRequires:	pkgconfig
 BuildRequires:	sed >= 4.0
+%{?with_js:BuildRequires:	v8-devel}
 %if %{with python}
 BuildRequires:	python-devel
 BuildRequires:	python-modules
@@ -138,7 +140,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/%{name}/plugins/exec.so
 %attr(755,root,root) %{_libdir}/%{name}/plugins/fifo.so
 %attr(755,root,root) %{_libdir}/%{name}/plugins/irc.so
-%attr(755,root,root) %{_libdir}/%{name}/plugins/javascript.so
 %attr(755,root,root) %{_libdir}/%{name}/plugins/logger.so
 %attr(755,root,root) %{_libdir}/%{name}/plugins/relay.so
 %attr(755,root,root) %{_libdir}/%{name}/plugins/script.so
@@ -155,6 +156,7 @@ rm -rf $RPM_BUILD_ROOT
 %{?with_python:%attr(755,root,root) %{_libdir}/%{name}/plugins/python.so}
 %{?with_ruby:%attr(755,root,root) %{_libdir}/%{name}/plugins/ruby.so}
 %{?with_tcl:%attr(755,root,root) %{_libdir}/%{name}/plugins/tcl.so}
+%{?with_js:%attr(755,root,root) %{_libdir}/%{name}/plugins/javascript.so}
 
 %if %{with doc}
 %files doc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/weechat.git/commitdiff/9fc5e4a1184f864fe4638cc57c5ae73754620aaa



More information about the pld-cvs-commit mailing list