Commit 7595c290 authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm play: add tsukimi (eterbug #17376)

parent 45bc7f16
#!/bin/sh
PKGNAME=tsukimi
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION='A Simple Third-party GTK4 Emby client'
URL="https://github.com/tsukinaha/tsukimi"
. $(dirname $0)/common.sh
if [ "$VERSION" = "*" ] ; then
PKGURL=$(eget --list --latest https://github.com/tsukinaha/tsukimi/releases/ "${PKGNAME}_${VERSION}_amd64.deb")
else
PKGURL="https://github.com/tsukinaha/tsukimi/releases/download/v$VERSION/${PKGNAME}_${VERSION}_amd64.deb"
fi
install_pkgurl
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
. $(dirname $0)/common.sh
install_file https://raw.githubusercontent.com/tsukinaha/tsukimi/main/resources/ui/icons/$PRODUCT.png /usr/share/pixmaps/$PRODUCT.png
install_file https://raw.githubusercontent.com/tsukinaha/tsukimi/main/moe.tsuna.tsukimi.gschema.xml /usr/share/glib-2.0/schemas/moe.tsuna.tsukimi.gschema.xml
# create desktop file
cat <<EOF | create_file /usr/share/applications/$PRODUCT.desktop
[Desktop Entry]
Name=Tsukimi
Exec=$PRODUCT
Type=Application
Icon=$PRODUCT
Categories=AudioVideo;
StartupWMClass=moe.tsuna.tsukimi
EOF
# glib-compile-schemas /usr/share/glib-2.0/schemas/
add_requires "/usr/bin/clapper"
add_libs_requires
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment