Archived
0
0
Fork 0

move forks and pkgbuilds to separate repo

This commit is contained in:
Daryl Ronningen 2022-07-13 08:34:01 -07:00
parent e0a2d6bade
commit fbcaf5f7ed
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B
4 changed files with 5 additions and 82 deletions

8
.gitmodules vendored
View file

@ -2,7 +2,7 @@
path = .config/nvim
url = https://code.relms.dev/Relms/neovim-config
branch = main
[submodule "picom"]
path = picom
url = https://code.relms.dev/Relms/picom
branch = implement-window-animations
[submodule "AUR"]
path = AUR
url = https://code.relms.dev/Relms/AUR
branch = main

1
AUR Submodule

@ -0,0 +1 @@
Subproject commit c758e95a41881998aa4989cfbf4dec88c9abf927

1
picom

@ -1 +0,0 @@
Subproject commit e96afc9830ca3fbbcf14a72838b84e201ad79863

View file

@ -1,77 +0,0 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
pkgbase=my-pipewire-media-session
pkgname=(my-pipewire-media-session my-pipewire-media-session-docs)
_pkgbase=pipewire-media-session
_pkgname=(pipewire-media-session pipewire-media-session-docs)
pkgver=0.4.1
pkgrel=3
epoch=1
pkgdesc="Example session manager for PipeWire"
url="https://gitlab.freedesktop.org/pipewire/media-session"
license=(MIT)
arch=(x86_64)
makedepends=(git meson doxygen graphviz 'pipewire>=0.3.39' dbus
alsa-lib)
options=(debug)
_commit=a87008622c9d12dba6dd75c5bbf0bff126da22fb # tags/0.4.1
source=("$_pkgbase::git+https://gitlab.freedesktop.org/pipewire/media-session.git#commit=$_commit")
sha256sums=('SKIP')
# pkgver() {
# cd $_pkgbase
# git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
# }
prepare() {
cd $_pkgbase
}
build() {
local meson_options=(
-D docs=enabled
-D systemd=disabled
-D with-module-sets=[]
)
artix-meson $_pkgbase build "${meson_options[@]}"
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
_pick() {
local p="$1" f d; shift
for f; do
d="$srcdir/$p/${f#$pkgdir/}"
mkdir -p "$(dirname "$d")"
mv "$f" "$d"
rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
done
}
package_my-pipewire-media-session() {
depends=('pipewire>=0.3.39' libpipewire-0.3.so libdbus-1.so
libasound.so)
optdepends=('pipewire-media-session-docs: Documentation')
provides=(pipewire-session-manager)
meson install -C build --destdir "$pkgdir"
_pick docs "$pkgdir"/usr/share/doc
install -Dt "$pkgdir/usr/share/doc/$_pkgname" -m644 $_pkgbase/{NEWS,README}*
install -Dt "$pkgdir/usr/share/licenses/$_pkgname" -m644 $_pkgbase/COPYING
}
package_my-pipewire-media-session-docs() {
pkgdesc+=" - documentation"
mv docs/* "$pkgdir"
install -Dt "$pkgdir/usr/share/licenses/$_pkgname" -m644 $_pkgbase/COPYING
}
# vim:set sw=2 et: