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

37 lines
1.0 KiB
Bash

# 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 )
"
prepare_one_multibuild() {
edo rm -r gen{,3}
setup-py_prepare_one_multibuild
}