Commit 87927b7d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add audiorelay

parent 42116f36
#!/bin/sh
PKGNAME=audiorelay
SUPPORTEDARCHES="x86_64"
DESCRIPTION="AudioRelay from the official site"
URL="https://audiorelay.net"
. $(dirname $0)/common.sh
VERSION="0.27.5"
# https://audiorelay.net/downloads
# TODO: https://api.audiorelay.net/downloads
epm install "https://dl.audiorelay.net/setups/linux/audiorelay-$VERSION.deb"
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PREINSTALL_PACKAGES="libalsa libfreetype libpulseaudio libX11 libXext libXi libXrender libXtst zlib"
# needs /usr/lib64/alsa-lib/libasound_module_ctl_pulse.so
PREINSTALL_PACKAGES="$PREINSTALL_PACKAGES alsa-plugins-pulse"
. $(dirname $0)/common.sh
subst '1iAutoProv:no' $SPEC
add_bin_exec_command $PRODUCT $PRODUCTDIR/bin/AudioRelay
install_file $PRODUCTDIR/lib/AudioRelay.png /usr/share/pixmaps/$PRODUCT.png
install_file $PRODUCTDIR/lib/audiorelay-AudioRelay.desktop /usr/share/applications/$PRODUCT.desktop
fix_desktop_file /opt/audiorelay/bin/AudioRelay $PRODUCT
fix_desktop_file /opt/audiorelay/lib/AudioRelay.png $PRODUCT
for i in .$PRODUCTDIR/lib/lib*.so ; do
a= patchelf --set-rpath '$ORIGIN' $i
done
for i in .$PRODUCTDIR/lib/runtime/lib/lib*.so ; do
a= patchelf --set-rpath '$ORIGIN:$ORIGIN/server' $i
done
# TODO:
# https://aur.archlinux.org/packages/audiorelay
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