logo

overlay

My own overlay for experimentations, use with caution, no support is provided

sndio-1.6.0.ebuild (586B)


      1 # Copyright 2020 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
      2 # Distributed under the terms of the GNU General Public License v2
      3 
      4 EAPI=7
      5 
      6 DESCRIPTION="small audio and MIDI framework part of the OpenBSD project"
      7 HOMEPAGE="http://www.sndio.org/"
      8 SRC_URI="http://www.sndio.org/${P}.tar.gz"
      9 LICENSE="ISC"
     10 SLOT="0/7.0"
     11 KEYWORDS="~amd64"
     12 IUSE="alsa"
     13 
     14 DEPEND="
     15 	dev-libs/libbsd
     16 	media-libs/alsa-lib
     17 "
     18 RDEPEND="
     19 	${DEPEND}
     20 	acct-user/sndiod
     21 "
     22 
     23 src_configure() {
     24 	./configure \
     25 		--prefix=/usr \
     26 		--libdir=/usr/$(get_libdir) \
     27 		--privsep-user=${PN}d \
     28 		--enable-alsa \
     29 		--with-libbsd
     30 }