void-packages/srcpkgs/python-pygame/template
archaeme 0c046358d8 New package: python-pygame-1.9.1
Also added smpeg to common/shlibs to satisfy dependencies.

Closes: #4402 [via git-merge-pr]
2016-08-21 01:49:22 -04:00

24 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
}