mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
cegui: drop unused dependencies in makedepends.
The only package currently depending on cegui (TSC) doesn't require these and they are both EOL: - Drop python-devel, since configure output shows that it wasn't even building the python extension modules due to some issue with Boost-python. - Drop gtk2 (gtk+-devel) since it is only used for samples, and TSC only required freetype2, which is now included separately instead of pulled in in dependency tree of gtk+-devel.
This commit is contained in:
parent
c2c9f159e6
commit
29951cc108
1 changed files with 7 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'cegui'
|
# Template file for 'cegui'
|
||||||
pkgname=cegui
|
pkgname=cegui
|
||||||
version=0.8.7.20190225
|
version=0.8.7.20190225
|
||||||
revision=5
|
revision=6
|
||||||
_githash=bfc6a841de45b8e63040d33b9cccc67745337f4e
|
_githash=bfc6a841de45b8e63040d33b9cccc67745337f4e
|
||||||
wrksrc="${pkgname}-${_githash}"
|
wrksrc="${pkgname}-${_githash}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
@ -10,12 +10,11 @@ configure_args="-DOpenGL_GL_PREFERENCE=GLVND \
|
||||||
-DCEGUI_SAMPLES_ENABLED=OFF"
|
-DCEGUI_SAMPLES_ENABLED=OFF"
|
||||||
make_build_args="all html"
|
make_build_args="all html"
|
||||||
hostmakedepends="graphviz doxygen dejavu-fonts-ttf gd glm perl pkg-config"
|
hostmakedepends="graphviz doxygen dejavu-fonts-ttf gd glm perl pkg-config"
|
||||||
makedepends="libglvnd-devel SDL2-devel SDL2_image-devel libxml2-devel boost-devel
|
makedepends="libglvnd-devel SDL2-devel SDL2_image-devel libxml2-devel
|
||||||
devil-devel glfw-devel glm ois-devel silly-devel fribidi-devel lua53-devel minizip-devel
|
boost-devel devil-devel glfw-devel glm ois-devel silly-devel fribidi-devel
|
||||||
|
lua53-devel minizip-devel freetype-devel
|
||||||
$(vopt_if irrlicht irrlicht-devel)
|
$(vopt_if irrlicht irrlicht-devel)
|
||||||
$(vopt_if ogre libogre-devel)
|
$(vopt_if ogre libogre-devel)"
|
||||||
$(vopt_if python python-devel)
|
|
||||||
$(vopt_if gtk gtk+-devel)"
|
|
||||||
short_desc="Crazy Eddie's Graphical User Interface"
|
short_desc="Crazy Eddie's Graphical User Interface"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -24,10 +23,9 @@ distfiles="https://github.com/cegui/cegui/archive/${_githash}.tar.gz"
|
||||||
checksum=70156257313b81d068d6592887157dd16b91d7bc0dfdcba02a96ed371d329e64
|
checksum=70156257313b81d068d6592887157dd16b91d7bc0dfdcba02a96ed371d329e64
|
||||||
replaces="cegui-data>=0 cegui-sample>=0"
|
replaces="cegui-data>=0 cegui-sample>=0"
|
||||||
|
|
||||||
build_options="gtk irrlicht ogre python"
|
build_options="irrlicht ogre"
|
||||||
desc_option_irrlicht="Enable support for Irrlicht"
|
desc_option_irrlicht="Enable support for Irrlicht"
|
||||||
desc_option_ogre="Enable support for Ogre"
|
desc_option_ogre="Enable support for Ogre"
|
||||||
build_options_default="gtk python"
|
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
# irrlicht interface fails to cross compile
|
# irrlicht interface fails to cross compile
|
||||||
|
@ -42,7 +40,7 @@ pre_configure() {
|
||||||
cp -p ${FILESDIR}/FindOpenGLES.cmake cmake
|
cp -p ${FILESDIR}/FindOpenGLES.cmake cmake
|
||||||
|
|
||||||
# cmake sets standard to c++03 (which doesn’t know int16_t)
|
# cmake sets standard to c++03 (which doesn’t know int16_t)
|
||||||
sed -i -e "s/-std=c++03//" CMakeLists.txt
|
vsed -i -e "s/-std=c++03//" CMakeLists.txt
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
local _ver2=${version%.*.*}
|
local _ver2=${version%.*.*}
|
||||||
|
|
Loading…
Add table
Reference in a new issue