forked from pool/imgui
Accepting request 886979 from home:asmorodskyi:branches:devel:libraries:c_c++
drop logic building imgui.so because this library is dummy and not ship any actual functionality. ImGui suppose to be used as sources OBS-URL: https://build.opensuse.org/request/show/886979 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=3
This commit is contained in:
parent
617b02d4a7
commit
3a601b1625
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 20 11:18:02 UTC 2021 - Anton Smorodskyi <asmorodskyi@suse.com>
|
||||||
|
|
||||||
|
- drop logic building imgui.so because this library is dummy and not
|
||||||
|
ship any actual functionality. ImGui suppose to be used as sources
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 20 15:07:04 UTC 2021 - Matthias Mailänder <mailaender@opensuse.org>
|
Sat Feb 20 15:07:04 UTC 2021 - Matthias Mailänder <mailaender@opensuse.org>
|
||||||
|
|
||||||
|
10
imgui.spec
10
imgui.spec
@ -47,21 +47,11 @@ No specific build process is required. You can add the .cpp files to your projec
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CXXFLAGS="%{optflags} -fPIC" make -C examples/example_null
|
|
||||||
cd examples/example_null
|
|
||||||
c++ -shared -o imgui.so imgui.o imgui_draw.o
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_includedir}/imgui
|
mkdir -p %{buildroot}%{_includedir}/imgui
|
||||||
cp *.h %{buildroot}%{_includedir}/imgui
|
cp *.h %{buildroot}%{_includedir}/imgui
|
||||||
install -Dm 0655 examples/example_null/imgui.so %{buildroot}%{_libdir}/imgui.so
|
|
||||||
|
|
||||||
%files
|
|
||||||
%doc docs/README.md docs/CHANGELOG.txt
|
|
||||||
%license LICENSE.txt
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/imgui.so
|
|
||||||
%{_includedir}/imgui
|
%{_includedir}/imgui
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user