Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add net.audiorelay.AudioRelay #4549

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
build-dir/
.flatpak-builder/
5 changes: 5 additions & 0 deletions README.md
@@ -0,0 +1,5 @@
# AudioRelay

Stream audio between your devices. Turn your phone into a microphone or speakers for PC. Use Wi-Fi or USB to share audio to multiple devices with low delay.

**This is an unofficial Flatpak build.** Functionality works with virtual audio devices.
3 changes: 3 additions & 0 deletions audiorelay
@@ -0,0 +1,3 @@
#!/bin/bash
export TMPDIR=$XDG_CACHE_HOME/tmp
exec /app/audiorelay/bin/AudioRelay "$@"
3 changes: 3 additions & 0 deletions flathub.json
@@ -0,0 +1,3 @@
{
"only-arches": ["x86_64"]
}
11 changes: 11 additions & 0 deletions net.audiorelay.AudioRelay.desktop
@@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Type=Application

Name=AudioRelay
Comment=Stream audio between your devices
Categories=AudioVideo;Java;

Icon=net.audiorelay.AudioRelay
Exec=audiorelay
Terminal=false
50 changes: 50 additions & 0 deletions net.audiorelay.AudioRelay.metainfo.xml
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>net.audiorelay.AudioRelay</id>

<name>AudioRelay</name>
<summary>Stream audio between your devices</summary>
<developer_name>Asapha Halifa</developer_name>

<metadata_license>CC0-1.0</metadata_license>
<project_license>LicenseRef-proprietary</project_license>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this redistributable? If there are issues with ToS, it should use extra-data I think.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I can assume we can redistribute that, they don't even have any ToS on their website or in the app.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I can assume we can redistribute that

Actually, unless specifically stated, we can assume it cannot be redistributed.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'll move it to extra-data tomorrow, I'll go sleep first


<supports>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
</supports>

<description>
<p>
Turn your phone into a microphone or speakers for PC. Use Wi-Fi or USB to share audio to multiple devices with low delay.
</p>
</description>

<launchable type="desktop-id">net.audiorelay.AudioRelay.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://2594558889-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEh8vFAB2fHUbGzyi0U%2Fuploads%2F8MjVUGMMFSj2BEwoomIu%2FCleanShot%202022-02-21%20at%2013.35.08.png?alt=media</image>
<caption>The AudioRelay app at launch</caption>
</screenshot>
</screenshots>
<url type="bugtracker">https://community.audiorelay.net</url>
<url type="help">https://docs.audiorelay.net</url>
<url type="homepage">https://audiorelay.net</url>
<url type="translate">https://translations.audiorelay.net</url>

<releases>
<release version="0.27.5" date="2023-03-01">
<description>
<p>Reworked the audio handling, fixed:</p>
<ul>
<li>Audio not playing or not being captured</li>
<li>Crashes</li>
</ul>
<p>Added Ukrainian and Indonesian translations</p>
</description>
</release>
</releases>

<content_rating type="oars-1.1" />
</component>
38 changes: 38 additions & 0 deletions net.audiorelay.AudioRelay.yml
@@ -0,0 +1,38 @@
app-id: net.audiorelay.AudioRelay
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: audiorelay

finish-args:
- --share=network
- --socket=x11
- --share=ipc
- --socket=pulseaudio
- --device=dri
- --persist=.skiko
- --persist=.java

modules:
- name: audiorelay
buildsystem: simple
build-commands:
- mkdir -p /app/audiorelay
- tar -xf audiorelay.tar.gz -C /app/audiorelay
barthalion marked this conversation as resolved.
Show resolved Hide resolved
- install -D -m644 /app/audiorelay/lib/AudioRelay.png /app/share/icons/hicolor/512x512/apps/net.audiorelay.AudioRelay.png
- install -D -m644 net.audiorelay.AudioRelay.metainfo.xml -t /app/share/metainfo
- install -D -m644 net.audiorelay.AudioRelay.desktop -t /app/share/applications
- install -D -m755 audiorelay -t /app/bin
sources:
- type: file
path: audiorelay
- type: file
path: net.audiorelay.AudioRelay.desktop
- type: file
path: net.audiorelay.AudioRelay.metainfo.xml
- type: file
dest-filename: audiorelay.tar.gz
only-arches:
- x86_64
IverCoder marked this conversation as resolved.
Show resolved Hide resolved
sha256: c4854139a4bd21e7bf7881a7b6e21ebc4cfe823286783d4fb9ad4bf4edf8e8c7
url: https://dl.audiorelay.net/setups/linux/audiorelay-0.27.5.tar.gz