1
0

media-libs/soundpipe: New package

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Ryan Fox <flewkey@2a03.party>
This commit is contained in:
Ryan Fox 2021-02-25 01:54:53 +00:00
parent f15b88fcbc
commit ed024523fe
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,2 @@
EBUILD soundpipe-9999.ebuild 611 BLAKE2B 12417da7ee95458c79f6ce3218c6db870cb213f80e362cea412136b882d0ed0e7d98d721ab652d3ce6ee156b70cd219be893426b93f52382549e5629eb00cb0a SHA512 dacd3a8b4823acc80e6aa20e4be463704cc790582a1258806c78c8cb5812e137a516ff38a0c94c308d5002c61831d86dfe0095106cc14126cb7d2b2f62a81fae
MISC metadata.xml 236 BLAKE2B fdb34c66e3059efc0efb2328ffedb24c495be95dfeb68b7adcdf5ab1a88eee6788294d07ec032238de7d9127cffd50a1598b42aa8f99d3d11f54a761c79a9482 SHA512 43add4c2db3d06110521dea982cfcbddc98d63bb1e1b89952511654d54f09746e0d76ac1e0f0e70d2832357f44fe11fc4653500b856c7b29d05a55bb70535e80

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,28 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~pbatch/soundpipe"
DESCRIPTION="A lightweight music DSP library"
HOMEPAGE="https://pbat.ch/proj/soundpipe.html"
LICENSE="MIT"
SLOT="0"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_prepare() {
default
sed -i 's/\/usr\/local\//$(DESTDIR)$(PREFIX)\//g' "${S}/Makefile"
sed -i 's/\/lib/\/$(LIBDIR)/g' "${S}/Makefile"
}
src_install() {
dodir /usr/include
dodir "/usr/$(get_libdir)"
emake DESTDIR="${D}" PREFIX="/usr" LIBDIR="$(get_libdir)" install
}