mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
python-pygame: switch to python2-module
Small clean up while I'm here.
This commit is contained in:
parent
590ad334bb
commit
1e509f3db4
1 changed files with 5 additions and 7 deletions
|
@ -1,10 +1,9 @@
|
||||||
# Template file for 'python-pygame'
|
# Template file for 'python-pygame'
|
||||||
|
pkgname=python-pygame
|
||||||
pkgname="python-pygame"
|
version=1.9.1
|
||||||
version="1.9.1"
|
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="pygame-${version}release"
|
wrksrc="pygame-${version}release"
|
||||||
build_style=python-module
|
build_style=python2-module
|
||||||
short_desc="Collection of python modules for writing games"
|
short_desc="Collection of python modules for writing games"
|
||||||
maintainer="Archaeme <normandy@firemail.cc>"
|
maintainer="Archaeme <normandy@firemail.cc>"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
|
@ -15,9 +14,8 @@ hostmakedepends="python-devel smpeg-devel"
|
||||||
makedepends="python-devel SDL_mixer-devel SDL_image-devel SDL_ttf-devel smpeg-devel v4l-utils-devel"
|
makedepends="python-devel SDL_mixer-devel SDL_image-devel SDL_ttf-devel smpeg-devel v4l-utils-devel"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
python config.py -auto
|
python2 config.py -auto
|
||||||
}
|
}
|
||||||
|
|
||||||
post_configure() {
|
post_configure() {
|
||||||
sed -i 's/linux\/videodev.h/libv4l1-videodev.h/g' ${wrksrc}/src/camera.h
|
sed -i 's/linux\/videodev.h/libv4l1-videodev.h/g' src/camera.h
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue