mirror of
https://github.com/archlinux/aur.git
synced 2026-02-16 06:09:01 +01:00
Initial commit: Puppeteer 0.8.1
This commit is contained in:
commit
30315d6304
2 changed files with 68 additions and 0 deletions
16
.SRCINFO
Normal file
16
.SRCINFO
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
pkgbase = puppeteer
|
||||
pkgdesc = Renderer for OpenSeeFace data made with Godot 3.4
|
||||
pkgver = 0.8.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/virtual-puppet-project/puppeteer
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
depends = python3
|
||||
depends = python-pip
|
||||
depends = python-virtualenv
|
||||
optdepends = python39: Compatible python version for face tracking
|
||||
replaces = openseeface-gd
|
||||
source = puppeteer-0.8.1.zip::https://github.com/virtual-puppet-project/puppeteer/releases/download/0.8.1/openseeface-gd_0.8.1_linux.zip
|
||||
sha256sums = 31932f233a496054a3305033406e6f3fa2b14dc54e0d2fda3895349980714735
|
||||
|
||||
pkgname = puppeteer
|
||||
52
PKGBUILD
Normal file
52
PKGBUILD
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
# Maintainer: ByteDream
|
||||
pkgname=puppeteer
|
||||
pkgdesc="Renderer for OpenSeeFace data made with Godot 3.4"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/virtual-puppet-project/puppeteer"
|
||||
license=('MIT')
|
||||
|
||||
pkgver=0.8.1
|
||||
pkgrel=1
|
||||
|
||||
replaces=(
|
||||
'openseeface-gd'
|
||||
)
|
||||
|
||||
depends=(
|
||||
'python3'
|
||||
'python-pip'
|
||||
'python-virtualenv'
|
||||
)
|
||||
optdepends=(
|
||||
'python39: Compatible python version for face tracking'
|
||||
)
|
||||
|
||||
source=("${pkgname}-${pkgver}.zip::https://github.com/virtual-puppet-project/puppeteer/releases/download/${pkgver}/openseeface-gd_${pkgver}_linux.zip")
|
||||
sha256sums=('31932f233a496054a3305033406e6f3fa2b14dc54e0d2fda3895349980714735')
|
||||
|
||||
package() {
|
||||
mkdir -p $pkgdir/usr/{share/puppeteer,share/applications,bin}
|
||||
cp -rf $(ls . | grep -v "${pkgname}-${pkgver}.zip") $pkgdir/usr/share/puppeteer
|
||||
chmod 755 -R $pkgdir/usr/share/puppeteer/*
|
||||
ln -sf ../share/openseeface-gd/OpenSeeFaceGD.x86_64 $pkgdir/usr/bin/puppeteer
|
||||
|
||||
curl -L https://github.com/virtual-puppet-project/puppeteer/raw/0.8.1/assets/osfgd_icon.png -o "$pkgdir/usr/share/puppeteer/osfgd_icon.png"
|
||||
cat > "$pkgdir/usr/share/applications/pupeteer.desktop"<< EOF
|
||||
[Desktop Entry]
|
||||
Name=Puppeteer
|
||||
Exec=/usr/share/puppeteer/OpenSeeFaceGD.x86_64
|
||||
Icon=/usr/share/puppeteer/osfgd_icon.png
|
||||
Type=Application
|
||||
Categories=Graphics;AudioVideo;Recoder;
|
||||
Terminal=False
|
||||
EOF
|
||||
|
||||
for v in "" "3" "3.9" "3.8" "3.7" "3.6"; do
|
||||
if "python$v" --version 2> /dev/null | grep -E -q "3.[6-9]\."; then
|
||||
return
|
||||
fi
|
||||
done
|
||||
|
||||
echo "No valid python version detected. Please install any python version from 3.6 - 3.9 to run Puppeteer correctly." >&2
|
||||
}
|
||||
|
||||
Loading…
Add table
Reference in a new issue