Also added smpeg to common/shlibs to satisfy dependencies. Closes: #4402 [via git-merge-pr]
23 lines
736 B
Bash
23 lines
736 B
Bash
# Template file for 'python-pygame'
|
|
|
|
pkgname="python-pygame"
|
|
version="1.9.1"
|
|
revision=1
|
|
wrksrc="pygame-${version}release"
|
|
build_style=python-module
|
|
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() {
|
|
python config.py -auto
|
|
}
|
|
|
|
post_configure() {
|
|
sed -i 's/linux\/videodev.h/libv4l1-videodev.h/g' ${wrksrc}/src/camera.h
|
|
}
|