diff --git a/version/0.2.0-1/LICENSE b/version/0.2.0-1/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..68268767615b99a46a12ee1a1db01d461a4de555 --- /dev/null +++ b/version/0.2.0-1/LICENSE @@ -0,0 +1,14 @@ +Copyright (c) 2015-2020 Eric Vidal <eric@obarun.org> +All rights reserved. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/version/0.2.0-1/PKGBUILD b/version/0.2.0-1/PKGBUILD new file mode 100644 index 0000000000000000000000000000000000000000..2fd0f38fc9ef8ec6660469a984e2c9540c46bec1 --- /dev/null +++ b/version/0.2.0-1/PKGBUILD @@ -0,0 +1,60 @@ +# Obarun : 66 init/supervisor +# Maintainer : Eric Vidal <eric@obarun.org> +# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org> +# PkgSource : https://framagit.org/observice/pipewire-66serv +#-------------------------------------------------------------------------------------- + +service=( + 'pipewire' + 'pipewire-pulse' + 'pipewire-media-session' +) + +pkgname=pipewire-66serv + +pkgdesc="pipewire service for 66 tools" + +pkgver=0.2.0 +pkgrel=1 + +url="https://framagit.org/pkg/observice/${pkgname}.git" + +track=branch +target=master +source=("${pkgname}::git+${url}#${track}=${target}") + +makedepends=( + 'git') + +#-------------------------------------------------------------------------------------- + +prepare() { + cd "${pkgname}/trunk" + for i in ${service[@]};do + sed "s:@VERSION@:${pkgver}:" -i "${i}" + done +} + +#-------------------------------------------------------------------------------------- +package() { + cd "${pkgname}/trunk" + + for i in ${service[@]};do + install -Dm 0644 ${i} "${pkgdir}"/usr/lib/66/service/${i} + done + install -Dm 0644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE +} +#-------------------------------------------------------------------------------------- + +arch=('x86_64') + +depends=( + '66>=0.5.1.0' + '66-tools>=0.0.6.2' + 'pipewire') + +#-------------------------------------------------------------------------------------- + +sha512sums=('SKIP') + +license=('ISC') diff --git a/version/0.2.0-1/pipewire b/version/0.2.0-1/pipewire new file mode 100644 index 0000000000000000000000000000000000000000..810ee7adc04c4c3cb7c615eaa5c265a95aa84956 --- /dev/null +++ b/version/0.2.0-1/pipewire @@ -0,0 +1,10 @@ +[main] +@type = longrun +@version = @VERSION@ +@description = "Pipewire session" +@user = ( user ) +@options = ( log ) + +[start] +@build = auto +@execute = ( /usr/bin/pipewire ) diff --git a/version/0.2.0-1/pipewire-media-session b/version/0.2.0-1/pipewire-media-session new file mode 100644 index 0000000000000000000000000000000000000000..2075f8b9f63a8c87eaefb50caed4a508178b0622 --- /dev/null +++ b/version/0.2.0-1/pipewire-media-session @@ -0,0 +1,11 @@ +[main] +@type = longrun +@version = @VERSION@ +@description = "Pipewire media session" +@user = ( user ) +@options = ( log ) +@depends = ( pipewire ) + +[start] +@build = auto +@execute = ( /usr/bin/pipewire-media-session ) diff --git a/version/0.2.0-1/pipewire-pulse b/version/0.2.0-1/pipewire-pulse new file mode 100644 index 0000000000000000000000000000000000000000..46f116fc93fa1318d84da8e3f5fb05a631cef2da --- /dev/null +++ b/version/0.2.0-1/pipewire-pulse @@ -0,0 +1,10 @@ +[main] +@type = longrun +@version = @VERSION@ +@description = "Pipewire pulse" +@user = ( user ) +@options = ( log ) + +[start] +@build = auto +@execute = ( /usr/bin/pipewire-pulse )