New package: cegui07-0.7.9
This commit is contained in:
parent
ee74e2df25
commit
bcab621d57
|
@ -2136,6 +2136,20 @@ libSILLY.so.1 silly-0.1.0_1
|
|||
libkeybinder-3.0.so.0 libkeybinder3-0.3.0_1
|
||||
libbrlapi.so.0.6 brltty-5.2_1
|
||||
liblouis.so.9 liblouis-2.6.4_1
|
||||
libCEGUIBase-0.7.9.so cegui07-0.7.9_1
|
||||
libCEGUIFalagardWRBase-0.7.9.so cegui07-0.7.9_1
|
||||
libCEGUIDevILImageCodec-0.7.9.so cegui07-0.7.9_1
|
||||
libCEGUIExpatParser-0.7.9.so cegui07-0.7.9_1
|
||||
libCEGUIOpenGLRenderer-0.7.9.so cegui07-0.7.9_1
|
||||
libCEGUIIrrlichtRenderer-0.7.9.so cegui07-0.7.9_1
|
||||
libCEGUILibxmlParser-0.7.9.so cegui07-0.7.9_1
|
||||
libCEGUILuaScriptModule-0.7.9.so cegui07-0.7.9_1
|
||||
libCEGUISILLYImageCodec-0.7.9.so cegui07-0.7.9_1
|
||||
libCEGUISTBImageCodec-0.7.9.so cegui07-0.7.9_1
|
||||
libCEGUISampleHelper-0.7.9.so cegui07-0.7.9_1
|
||||
libCEGUITGAImageCodec-0.7.9.so cegui07-0.7.9_1
|
||||
libCEGUITinyXMLParser-0.7.9.so cegui07-0.7.9_1
|
||||
libCEGUItoluapp-0.7.9.so cegui07-0.7.9_1
|
||||
libCEGUIBase-0.so.2 cegui-0.8.4_1
|
||||
libCEGUIOpenGLRenderer-0.so.2 cegui-0.8.4_1
|
||||
libCEGUIOgreRenderer-0.so.2 cegui-0.8.4_1
|
||||
|
|
1
srcpkgs/cegui07-data
Symbolic link
1
srcpkgs/cegui07-data
Symbolic link
|
@ -0,0 +1 @@
|
|||
cegui07
|
1
srcpkgs/cegui07-devel
Symbolic link
1
srcpkgs/cegui07-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
cegui07
|
1
srcpkgs/cegui07-doc
Symbolic link
1
srcpkgs/cegui07-doc
Symbolic link
|
@ -0,0 +1 @@
|
|||
cegui07
|
78
srcpkgs/cegui07/template
Normal file
78
srcpkgs/cegui07/template
Normal file
|
@ -0,0 +1,78 @@
|
|||
# Template file for 'cegui07'
|
||||
pkgname=cegui07
|
||||
version=0.7.9
|
||||
revision=1
|
||||
wrksrc=CEGUI-${version}
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-samples ${vopt_with gtk2 gtk2}"
|
||||
hostmakedepends="automake libtool graphviz doxygen dejavu-fonts-ttf gd glm perl pkg-config"
|
||||
makedepends="libxml2-devel boost-devel glu-devel glew-devel glfw-devel
|
||||
devil-devel ois-devel silly-devel fribidi-devel lua51-devel minizip-devel
|
||||
$(vopt_if irrlicht irrlicht-devel)
|
||||
$(vopt_if python 'python-devel boost-python')
|
||||
$(vopt_if gtk2 gtk+-devel)"
|
||||
depends="${pkgname}-data"
|
||||
make_build_args="all html"
|
||||
short_desc="Crazy Eddie's Graphical User Interface (0.7.x)"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="MIT"
|
||||
homepage="http://cegui.org.uk/"
|
||||
distfiles="${SOURCEFORGE_SITE}/crayzedsgui/CEGUI%20Mk-2/${version}/CEGUI-${version}.tar.gz"
|
||||
checksum=7c3b264def08b46de749c2acaba363e907479d924612436f3bd09da2e474bb8c
|
||||
|
||||
build_options="gtk2 irrlicht python"
|
||||
desc_option_gtk2="Enable support for GTK2"
|
||||
desc_option_irrlicht="Enable support for Irrlicht"
|
||||
build_options_default="gtk2 irrlicht"
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
# XXX: boost-python is not available when cross building
|
||||
build_options_default+=" python"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
find . -name Makefile.am -exec sed -i "{}" \
|
||||
-e "1i ACLOCAL_AMFLAGS = -I m4" \;
|
||||
# -e "s;INCLUDES;AM_CPPFLAGS;g" \;
|
||||
sed -i configure.ac \
|
||||
-e "s;dist-zip tar-ustar;& subdir-objects;" \
|
||||
-e "/^AM_INIT_AUTOMAKE.*/a AC_CONFIG_MACRO_DIRS([m4])"
|
||||
mkdir m4
|
||||
cp doc/COPYING doc/README .
|
||||
touch NEWS AUTHORS ChangeLog
|
||||
autoreconf -if
|
||||
}
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
vdoc doc/README
|
||||
vdoc doc/GLEW-LICENSE
|
||||
vdoc doc/PCRE-LICENSE
|
||||
vdoc doc/TinyXML-License
|
||||
vdoc doc/stringencoders-license
|
||||
}
|
||||
|
||||
cegui07-data_package() {
|
||||
short_desc+=" - data files"
|
||||
noarch=yes
|
||||
pkg_install() {
|
||||
vmove usr/share/CEGUI
|
||||
}
|
||||
}
|
||||
cegui07-doc_package() {
|
||||
short_desc+=" - documentation"
|
||||
noarch=yes
|
||||
pkg_install() {
|
||||
vmkdir usr/share/doc/${sourcepkg}
|
||||
vcopy ${wrksrc}/doc/doxygen/html usr/share/doc/${sourcepkg}
|
||||
}
|
||||
}
|
||||
cegui07-devel_package() {
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
# Move only the symlink *.so files
|
||||
find ${DESTDIR}/usr/lib/ -type l -exec mv "{}" ${PKGDESTDIR}/usr/lib \;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user