2016-07-01 02:28:02 +02:00
|
|
|
# Template file for 'python-pygame'
|
2016-10-17 00:30:49 +02:00
|
|
|
pkgname=python-pygame
|
|
|
|
version=1.9.1
|
2016-07-01 02:28:02 +02:00
|
|
|
revision=1
|
|
|
|
wrksrc="pygame-${version}release"
|
2016-10-17 00:30:49 +02:00
|
|
|
build_style=python2-module
|
2016-07-01 02:28:02 +02:00
|
|
|
short_desc="Collection of python modules for writing games"
|
|
|
|
maintainer="Archaeme <normandy@firemail.cc>"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
homepage="http://www.pygame.org/"
|
|
|
|
distfiles="http://www.pygame.org/ftp/pygame-${version}release.tar.gz"
|
|
|
|
checksum="a26095472ae4be9631e0d5bfb9a52ac57a3a091e45757913128e4a473807d433"
|
|
|
|
hostmakedepends="python-devel smpeg-devel"
|
|
|
|
makedepends="python-devel SDL_mixer-devel SDL_image-devel SDL_ttf-devel smpeg-devel v4l-utils-devel"
|
|
|
|
|
|
|
|
do_configure() {
|
2016-10-17 00:30:49 +02:00
|
|
|
python2 config.py -auto
|
2016-07-01 02:28:02 +02:00
|
|
|
}
|
|
|
|
post_configure() {
|
2016-10-17 00:30:49 +02:00
|
|
|
sed -i 's/linux\/videodev.h/libv4l1-videodev.h/g' src/camera.h
|
2016-07-01 02:28:02 +02:00
|
|
|
}
|