summaryrefslogtreecommitdiff
path: root/dev-python/pyopenal/pyopenal-0.1.6-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyopenal/pyopenal-0.1.6-r1.ebuild')
-rw-r--r--dev-python/pyopenal/pyopenal-0.1.6-r1.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/pyopenal/pyopenal-0.1.6-r1.ebuild b/dev-python/pyopenal/pyopenal-0.1.6-r1.ebuild
new file mode 100644
index 00000000000..027803fa943
--- /dev/null
+++ b/dev-python/pyopenal/pyopenal-0.1.6-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 flag-o-matic
+
+MY_P="${P/pyopenal/PyOpenAL}"
+
+DESCRIPTION="OpenAL library port for Python"
+HOMEPAGE="http://home.gna.org/oomadness/en/pyopenal/"
+SRC_URI="http://download.gna.org/pyopenal/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND=">=dev-python/pyogg-1.1[${PYTHON_USEDEP}]
+ >=dev-python/pyvorbis-1.1[${PYTHON_USEDEP}]
+ media-libs/freealut
+ media-libs/openal"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( AUTHORS CHANGES )
+PATCHES=( "${FILESDIR}/${P}-setup.patch" )
+
+python_compile() {
+ local CFLAGS=${CFLAGS}
+ append-cflags -fno-strict-aliasing
+ distutils-r1_python_compile
+}