mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
libogre: fix build
This commit is contained in:
parent
f10b867d67
commit
4a88cbb494
1 changed files with 9 additions and 2 deletions
|
@ -14,14 +14,21 @@ short_desc="Scene-oriented, flexible 3D engine"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://www.ogre3d.org"
|
homepage="http://www.ogre3d.org"
|
||||||
distfiles="https://github.com/OGRECave/ogre/archive/v$version.tar.gz"
|
distfiles="https://github.com/OGRECave/ogre/archive/v$version.tar.gz
|
||||||
checksum=028e7d0bbfce8fd254e1102666b07b7cbb9379321e88885d82feee5e061342aa
|
https://github.com/ocornut/imgui/archive/v1.77.tar.gz
|
||||||
|
"
|
||||||
|
checksum="028e7d0bbfce8fd254e1102666b07b7cbb9379321e88885d82feee5e061342aa
|
||||||
|
c0dae830025d4a1a169df97409709f40d9dfa19f8fc96b550052224cbb238fa8"
|
||||||
|
|
||||||
|
skip_extraction="v1.77.tar.gz"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
find -name CMakeLists.txt -exec sed -i "{}" \
|
find -name CMakeLists.txt -exec sed -i "{}" \
|
||||||
-e "/target_link_libraries/s/)/ atomic)/" \;
|
-e "/target_link_libraries/s/)/ atomic)/" \;
|
||||||
fi
|
fi
|
||||||
|
vsed -i -e "s,https://github.com/ocornut/imgui/archive,file://${XBPS_SRCDISTDIR}/${pkgname}-${version}," \
|
||||||
|
Components/Overlay/CMakeLists.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue