hasufell-repository/packages/dev-python/pygame_sdl2/pygame_sdl2-6.99.13.exheres-0

39 lines
1.0 KiB
Bash
Raw Normal View History

2016-02-27 15:42:10 +00:00
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require setup-py [ import=distutils work=pygame_sdl2-2.1.0-for-renpy-${PV} ]
SUMMARY="Reimplementation of portions of the pygame API using SDL2"
HOMEPAGE="https://github.com/renpy/pygame_sdl2"
DOWNLOADS="http://www.renpy.org/dl/${PV}/pygame_sdl2-2.1.0-for-renpy-${PV}.tar.gz"
LICENCES="LGPL-2.1 ZLIB"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]]
"
DEPENDENCIES="
build:
dev-python/Cython[python_abis:*(-)?]
build+run:
dev-python/numpy[python_abis:*(-)?]
media-libs/libpng:=
media-libs/SDL:2[X]
media-libs/SDL_image:2
media-libs/SDL_mixer:2
media-libs/SDL_ttf:2
providers:ijg-jpeg? ( media-libs/jpeg:= )
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
"
2016-04-23 10:37:22 +00:00
REMOTE_IDS+=" github:renpy/${PN}"
prepare_one_multibuild() {
edo rm -r gen{,3}
setup-py_prepare_one_multibuild
}