27 lines
878 B
Bash
27 lines
878 B
Bash
# Template file for 'SFML'
|
|
pkgname=SFML
|
|
version=2.4.2
|
|
revision=1
|
|
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 <miwaxe@gmail.com>"
|
|
license="zlib"
|
|
homepage="http://www.sfml-dev.org/"
|
|
distfiles="https://github.com/LaurentGomila/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=cf268fb487e4048c85e5b2f53d62596854762c98cba1c1b61ccd91f78253ef4b
|
|
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"
|
|
}
|
|
}
|