From: Elan Ruusamäe Date: Sun, 31 Aug 2014 18:22:22 +0000 (+0300) Subject: clean (most of) vendors X-Git-Tag: auto/th/aegisub-3.2.0-1~4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Faegisub.git;a=commitdiff_plain;h=fc87a4b8585ad994fdf41b60431bcc051750ae32 clean (most of) vendors --- diff --git a/aegisub.spec b/aegisub.spec index 357579f..a4f51ee 100644 --- a/aegisub.spec +++ b/aegisub.spec @@ -1,6 +1,7 @@ # TODO -# - needs wx-config to build with wxWidgets -# - system luajit +# - unvendor vendor/luabins +# - unvendor vendor/luajit +# - unvendor vendor/universalchardet # - our cxxflags # Conditional build: @@ -52,6 +53,10 @@ support using these advanced functions with ease. %prep %setup -q +mv vendor{,.keep} +mkdir vendor +mv vendor.keep/{luabins,luajit,universalchardet} vendor + %build %configure \ --with-player-audio=PulseAudio \ @@ -63,7 +68,8 @@ support using these advanced functions with ease. %install rm -rf $RPM_BUILD_ROOT -%make_install +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT %find_lang %{name}-32