[packages/aegisub] fix build with wxwidgets

glen glen at pld-linux.org
Sun Aug 31 20:01:17 CEST 2014


commit f9d7036886eec4a5401fdc8d60efa25bc9392a44
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Aug 31 21:01:04 2014 +0300

    fix build with wxwidgets

 aegisub.spec | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/aegisub.spec b/aegisub.spec
index d511e41..357579f 100644
--- a/aegisub.spec
+++ b/aegisub.spec
@@ -1,5 +1,7 @@
 # TODO
 # - needs wx-config to build with wxWidgets
+# - system luajit
+# - our cxxflags
 
 # Conditional build:
 %bcond_with		ffms2
@@ -28,6 +30,7 @@ BuildRequires:	lua51-devel
 BuildRequires:	pkg-config >= 0.20
 BuildRequires:	pulseaudio-devel >= 0.5
 BuildRequires:	tar >= 1:1.22
+BuildRequires:	wxGTK2-unicode-gl-devel
 BuildRequires:	wxWidgets-devel >= 2.9.5
 BuildRequires:	xz
 BuildRequires:	zlib-devel
@@ -50,15 +53,10 @@ support using these advanced functions with ease.
 %setup -q
 
 %build
-%{__gettextize}
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-
 %configure \
 	--with-player-audio=PulseAudio \
 	--disable-update-checker \
+	--with-wx-config=wx-gtk2-unicode-config \
 	--without-oss
 
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/aegisub.git/commitdiff/f9d7036886eec4a5401fdc8d60efa25bc9392a44



More information about the pld-cvs-commit mailing list