29 lines
925 B
Bash
29 lines
925 B
Bash
# Template file for 'SFML'
|
|
pkgname=SFML
|
|
version=2.5.0
|
|
revision=2
|
|
build_style=cmake
|
|
hostmakedepends="doxygen"
|
|
makedepends="libsndfile-devel libXrandr-devel libjpeg-turbo-devel
|
|
libopenal-devel glew-devel freetype-devel MesaLib-devel glu-devel
|
|
xcb-util-image-devel"
|
|
short_desc="Simple and Fast Multimedia Library"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="zlib"
|
|
homepage="http://www.sfml-dev.org/"
|
|
distfiles="https://github.com/LaurentGomila/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=4bc5ed0b6658f73a31bfb8b36878d71fe1678e6e95e4f20834ab589a1bdc7ef4
|
|
configure_args="-DSFML_BUILD_EXAMPLES=1 -DSFML_BUILD_DOC=1 -DSFML_INSTALL_PKGCONFIG_FILES=1"
|
|
|
|
SFML-devel_package() {
|
|
depends="SFML>=${version}_${revision} libopenal-devel libsndfile-devel
|
|
freetype-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/SFML
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|