media-sound/libpd - 0.16.1 (flavour)

Search

Install

Install this version:

emerge -a =media-sound/libpd-0.16.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-sound/libpd-0.16.1

Or alternatively:

emerge --autounmask-write -a =media-sound/libpd-0.16.1

Package Information

Description:
Turning Pure Data into an embeddable audio synthesis library
Homepage:
https://github.com/libpd/libpd
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
0.16.1 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# commenting python support: encountering the following error and no time to look into this.
# pylibpd_wrap.c:3830:30: error: implicit declaration of function 'PyObject_AsReadBuffer';
# did you mean 'PyObject_GetBuffer'?

EAPI="8"

# DISTUTILS_USE_PEP517=setuptools
# PYTHON_COMPAT=( python3_{13..14} )
# inherit distutils-r1 git-r3
inherit git-r3

EGIT_REPO_URI="https://github.com/libpd/libpd.git"
EGIT_COMMIT="0.16.1"
EGIT_SUBMODULES=( "jni/opensl_stream" "pure-data" )

DESCRIPTION="Turning Pure Data into an embeddable audio synthesis library"
HOMEPAGE="https://github.com/libpd/libpd"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"

# IUSE="examples python"
# DEPEND="python? (
#		dev-lang/swig
#	)"
#RDEPEND="python? (
#		dev-python/pyaudio[${PYTHON_USEDEP}]
#	)"

src_compile() {
	emake libpd || die "emake compile libpd failed"

#	if use python; then
#		pushd python
#		distutils-r1_src_compile || die "distutils compile python failed"
#		popd
#	fi
}

src_install() {
	emake prefix="${D}/usr" libdir="${D}/usr/$(get_libdir)" install || die "emake install failed"

#	if use python; then
#		pushd python
#		distutils-r1_src_install
#		popd
#	fi

	# examples
#	if use examples && use python; then
#		insinto "/usr/share/${PN}/examples/python"
#		doins samples/python/*
#	fi

	einstalldocs
}

Inherited Eclasses