New package: SFML-2.2

This commit is contained in:
Andrea Brancaleoni 2015-04-27 23:49:16 +02:00
parent 21432669e7
commit 5d26b537fc
3 changed files with 31 additions and 1 deletions

View file

@ -1998,4 +1998,8 @@ libfuzzy.so.2 libfuzzy-2.12_1
libSDL_gfx.so.15 SDL_gfx-2.0.25_2
libgdkglextmm-x11-1.2.so.0 gtkglextmm-1.2.0_1
libgtkglextmm-x11-1.2.so.0 gtkglextmm-1.2.0_1
libsfml-network.so.2.2.0 SFML-2.2_1
libsfml-system.so.2.2.0 SFML-2.2_1
libsfml-window.so.2.2.0 SFML-2.2_1
libsfml-audio.so.2.2.0 SFML-2.2_1
libsfml-graphics.so.2.2.0 SFML-2.2_1

1
srcpkgs/SFML-devel Symbolic link
View file

@ -0,0 +1 @@
SFML/

25
srcpkgs/SFML/template Normal file
View file

@ -0,0 +1,25 @@
# Template file for 'SFML'
pkgname=SFML
version=2.2
revision=1
build_style=cmake
hostmakedepends="cmake doxygen"
makedepends="libsndfile-devel libXrandr-devel libjpeg-turbo-devel libopenal-devel glew-devel freetype-devel MesaLib-devel glu-devel"
short_desc="Simple and Fast Multimedia Library"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="zlib"
homepage="http://www.sfml-dev.org/"
distfiles="https://github.com/LaurentGomila/${pkgname}/archive/${version}.tar.gz"
checksum=543458923e35868c16ac70e5f4c3bf172e136af9820d7b546b52afc7f1fc77f5
configure_args="-DSFML_BUILD_EXAMPLES=1 -DSFML_BUILD_DOC=1 -DSFML_INSTALL_PKGCONFIG_FILES=1"
SFML-devel_package() {
depends="SFML>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/SFML
vmove "usr/lib/*.so"
}
}