Transition to Sourcehut

This commit is contained in:
Florian Märkl 2020-12-28 12:34:03 +01:00
commit b7c7d87db6
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
17 changed files with 15 additions and 177 deletions

View file

@ -48,13 +48,3 @@ for:
artifacts: artifacts:
- path: Chiaki.dmg - path: Chiaki.dmg
name: Chiaki name: Chiaki
#deploy:
# description: 'Chiaki Binaries'
# provider: GitHub
# draft: true
# auth_token:
# secure: Amvzm3PMM5nv+iFsqaU7TZ9fgyYt/YIrOLV0QMiCyOoUlLRIaiYxWiJ7maTpxhZ9
# artifact: "Chiaki"
# on:
# appveyor_repo_tag: true

View file

@ -4,7 +4,7 @@ packages:
- docker - docker
sources: sources:
- https://github.com/thestr4ng3r/chiaki - https://git.sr.ht/~thestr4ng3r/chiaki
artifacts: artifacts:
- Chiaki.apk - Chiaki.apk

View file

@ -2,7 +2,7 @@
image: alpine/latest image: alpine/latest
sources: sources:
- https://github.com/thestr4ng3r/chiaki - https://git.sr.ht/~thestr4ng3r/chiaki
packages: packages:
- cmake - cmake

View file

@ -2,7 +2,7 @@
image: freebsd/latest image: freebsd/latest
sources: sources:
- https://github.com/thestr4ng3r/chiaki - https://git.sr.ht/~thestr4ng3r/chiaki
packages: packages:
- cmake - cmake

View file

@ -2,7 +2,7 @@
image: openbsd/6.7 image: openbsd/6.7
sources: sources:
- https://github.com/thestr4ng3r/chiaki - https://git.sr.ht/~thestr4ng3r/chiaki
packages: packages:
- cmake - cmake

View file

@ -1,46 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
<!-- IF YOU DO NOT USE THE TEMPLATE BELOW, YOUR ISSUE WILL BE CLOSED! THIS APPLIES FOR BUG REPORTS AND FEATURE REQUESTS, NO EXCEPTIONS!
If you only have a question that is not a concrete bug report, ask it on Telegram (https://t.me/chiakitg) or IRC (#chiaki on freenode) instead.
The template below shows what you need to include in a good bug report, and you must use it.
I'm happy to help, but you have to ensure I fully understand what you want and have the information I need. -->
**Environment**
- OS/Distribution: <!-- with version if applicable, e.g. Android 10, Arch Linux, FreeBSD -->
- Desktop Environment: <!-- if applicable, also whether you use X or Wayland, e.g. Gnome on Wayland, Xmonad on X -->
- Hardware: <!-- for desktop: your GPU and which driver you use, for Android: your device, e.g. NVIDIA GeForce GTX 1080 with nouveau, Pixel 3 -->
- Exact Version or Commit Hash and Installation Method: <!-- e.g. v1.2.0 AppImage, 4e301b9 compiled from source -->
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Log Files**
If your issue is about Registration or Streaming, you MUST attach a log file of a session that showed your issue here.
Do not enable Verbose Logging unless explicitly told to.
On desktop, you can see the directory that log files are written to in the Settings under "Log Directory".
On Android, go into Settings -> Session Logs and export one from there.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Additional context**
Add any other context about the problem here.

View file

@ -1,31 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
<!-- IF YOU DO NOT USE THE TEMPLATE BELOW, YOUR ISSUE WILL BE CLOSED! THIS APPLIES FOR BUG REPORTS AND FEATURE REQUESTS, NO EXCEPTIONS!
If you only have a question that is not a concrete feature request, ask it on Telegram (https://t.me/chiakitg) or IRC (#chiaki on freenode) instead.
The template below shows what you need to include in a good feature request, and you must use it.
I'm happy to help, but you have to ensure I fully understand what you want and have the information I need. -->
**What platform does your feature request apply to?**
Choose one or more: Desktop/Android/Both/...
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

4
.gitmodules vendored
View file

@ -6,10 +6,10 @@
url = https://github.com/nanopb/nanopb.git url = https://github.com/nanopb/nanopb.git
[submodule "third-party/jerasure"] [submodule "third-party/jerasure"]
path = third-party/jerasure path = third-party/jerasure
url = https://github.com/thestr4ng3r/jerasure.git url = https://git.sr.ht/~thestr4ng3r/jerasure
[submodule "third-party/gf-complete"] [submodule "third-party/gf-complete"]
path = third-party/gf-complete path = third-party/gf-complete
url = https://github.com/thestr4ng3r/gf-complete.git url = https://git.sr.ht/~thestr4ng3r/gf-complete
[submodule "android/app/src/main/cpp/oboe"] [submodule "android/app/src/main/cpp/oboe"]
path = android/app/src/main/cpp/oboe path = android/app/src/main/cpp/oboe
url = https://github.com/google/oboe url = https://github.com/google/oboe

View file

@ -17,8 +17,6 @@ for Linux, FreeBSD, OpenBSD, Android, macOS, Windows, Nintendo Switch and potent
Everything necessary for a full streaming session, including the initial Everything necessary for a full streaming session, including the initial
registration and wakeup of the console, is supported. registration and wakeup of the console, is supported.
The following features however are yet to be implemented: The following features however are yet to be implemented:
* H264 Error Concealment (FEC and active error recovery however are implemented)
* Touchpad support (Triggering the Touchpad Button is currently possible from the keyboard though)
* Rumble * Rumble
* Accelerometer/Gyroscope * Accelerometer/Gyroscope
@ -30,10 +28,10 @@ You can either download a pre-built release (easier) or build Chiaki from source
Builds are provided for Linux, Android, macOS and Windows. Builds are provided for Linux, Android, macOS and Windows.
You can download them [here](https://github.com/thestr4ng3r/chiaki/releases). You can download them [here](https://git.sr.ht/~thestr4ng3r/chiaki/refs).
* **Linux**: The provided file is an [AppImage](https://appimage.org/). Simply make it executable (`chmod +x <file>.AppImage`) and run it. * **Linux**: The provided file is an [AppImage](https://appimage.org/). Simply make it executable (`chmod +x <file>.AppImage`) and run it.
* **Android**: Install from [Google Play](https://play.google.com/store/apps/details?id=com.metallic.chiaki), [F-Droid](https://f-droid.org/packages/com.metallic.chiaki/) or download the APK from GitHub. * **Android**: Install from [Google Play](https://play.google.com/store/apps/details?id=com.metallic.chiaki), [F-Droid](https://f-droid.org/packages/com.metallic.chiaki/) or download the APK from Sourcehut.
* **macOS**: Drag the application from the `.dmg` into your Applications folder. * **macOS**: Drag the application from the `.dmg` into your Applications folder.
* **Windows**: Extract the `.zip` file and execute `chiaki.exe`. * **Windows**: Extract the `.zip` file and execute `chiaki.exe`.
* **Switch**: Follow README specific [instructions](./switch/README.md) * **Switch**: Follow README specific [instructions](./switch/README.md)

View file

@ -31,7 +31,7 @@
<string name="regist_option_ps4_ge_7">PS4 ≥ 7.0, &lt; 8</string> <string name="regist_option_ps4_ge_7">PS4 ≥ 7.0, &lt; 8</string>
<string name="regist_option_ps4_ge_8">PS4 ≥ 8.0</string> <string name="regist_option_ps4_ge_8">PS4 ≥ 8.0</string>
<string name="regist_psn_account_id_help">About obtaining your Account ID, see</string> <string name="regist_psn_account_id_help">About obtaining your Account ID, see</string>
<string name="regist_psn_account_id_help_url">https://github.com/thestr4ng3r/chiaki/blob/master/README.md#obtaining-your-psn-accountid</string> <string name="regist_psn_account_id_help_url">https://git.sr.ht/~thestr4ng3r/chiaki/tree/master/item/README.md#obtaining-your-psn-accountid</string>
<string name="hint_regist_psn_online_id">PSN Online ID (username, case-sensitive)</string> <string name="hint_regist_psn_online_id">PSN Online ID (username, case-sensitive)</string>
<string name="hint_regist_psn_account_id">PSN Account ID (8 bytes, base64)</string> <string name="hint_regist_psn_account_id">PSN Account ID (8 bytes, base64)</string>
<string name="hint_regist_pin">PIN</string> <string name="hint_regist_pin">PIN</string>

View file

@ -8,8 +8,8 @@
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<project_license>AGPL-3.0-only</project_license> <project_license>AGPL-3.0-only</project_license>
<developer_name>Florian Märkl</developer_name> <developer_name>Florian Märkl</developer_name>
<url type="homepage">https://github.com/thestr4ng3r/chiaki</url> <url type="homepage">https://chiaki.re</url>
<url type="help">https://github.com/thestr4ng3r/chiaki/blob/master/README.md#usage</url> <url type="help">https://git.sr.ht/~thestr4ng3r/chiaki/tree/master/item/README.md#usage</url>
<description> <description>
<p> <p>
Chiaki is a Free and Open Source Client for PlayStation 4 Remote Play. It can be used to play in real time on a PlayStation 4 as long as there is a network connection. Chiaki is a Free and Open Source Client for PlayStation 4 Remote Play. It can be used to play in real time on a PlayStation 4 as long as there is a network connection.
@ -17,7 +17,7 @@
</description> </description>
<screenshots> <screenshots>
<screenshot type="default"> <screenshot type="default">
<image>https://raw.githubusercontent.com/thestr4ng3r/chiaki/master/assets/screenshot.png</image> <image>https://git.sr.ht/~thestr4ng3r/chiaki/blob/refs/heads/master/assets/screenshot.png</image>
</screenshot> </screenshot>
</screenshots> </screenshots>
<update_contact>chiaki@metallic.software</update_contact> <update_contact>chiaki@metallic.software</update_contact>

View file

@ -1,46 +0,0 @@
FROM utensils/opengl:19.0.8 AS builder
LABEL maintainer="chiaki-docker@florianmaerkl.de"
WORKDIR /app
RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk update \
&& apk --no-cache add \
build-base \
cmake \
ffmpeg-dev \
git \
openssl \
opus-dev \
protobuf \
# py3-protobuf@testing \ # Enable this when the OpenGL image updates alpine
qt5-qtbase \
qt5-qtmultimedia-dev \
qt5-qtsvg-dev \
sdl2-dev \
&& pip3 install protobuf \
&& git clone https://github.com/thestr4ng3r/chiaki.git /app \
&& git submodule update --init \
&& mkdir build \
&& cd build \
&& cmake .. \
&& make \
&& ./test/chiaki-unit \
&& rm -rf /var/cache/apk/*
FROM utensils/opengl:19.0.8
RUN apk update \
&& apk --no-cache add \
ffmpeg \
qt5-qtbase \
qt5-qtmultimedia \
qt5-qtsvg \
sdl2 \
&& rm -rf /var/cache/apk/* \
&& addgroup ps4 && adduser -D -G ps4 ps4 \
&& chown -R ps4: /home/ps4
WORKDIR /home/ps4
COPY --from=builder /app/build/gui/chiaki .
USER ps4
VOLUME /home/ps4/.local/share/Chiaki
CMD ["/home/ps4/chiaki"]

View file

@ -1,16 +0,0 @@
cask 'chiaki' do
version '@CHIAKI_VERSION@'
sha256 '@CHIAKI_DMG_SHA256@'
url "https://github.com/thestr4ng3r/chiaki/releases/download/v#{version}/Chiaki-v#{version}-macOS-x86_64.dmg"
appcast 'https://github.com/thestr4ng3r/chiaki/releases.atom'
name 'Chiaki'
homepage 'https://github.com/thestr4ng3r/chiaki'
app 'Chiaki.app'
zap trash: [
'~/Library/Application Support/Chiaki',
'~/Library/Preferences/com.chiaki.Chiaki.plist',
]
end

View file

@ -1,11 +0,0 @@
if(NOT CHIAKI_VERSION OR NOT CHIAKI_DMG OR NOT CHIAKI_CASK_OUT)
message(FATAL_ERROR "CHIAKI_VERSION, CHIAKI_DMG and CHIAKI_CASK_OUT must be set.")
endif()
if(CHIAKI_VERSION MATCHES "^v([0-9].*)$")
set(CHIAKI_VERSION "${CMAKE_MATCH_1}")
endif()
file(SHA256 "${CHIAKI_DMG}" CHIAKI_DMG_SHA256)
configure_file("${CMAKE_CURRENT_LIST_DIR}/chiaki.rb.in" "${CHIAKI_CASK_OUT}")

View file

@ -88,7 +88,7 @@
"sources": [ "sources": [
{ {
"type": "git", "type": "git",
"url": "https://github.com/thestr4ng3r/chiaki.git", "url": "https://git.sr.ht/~thestr4ng3r/chiaki",
"tag": "v1.3.0", "tag": "v1.3.0",
"commit": "702d31eb01d37518e77f5c1be3ea493df9f18323" "commit": "702d31eb01d37518e77f5c1be3ea493df9f18323"
} }

View file

@ -55,7 +55,7 @@ this file contains sensitive data. (do not share this file)
host_ip = X.X.X.X host_ip = X.X.X.X
# required: sony oline id (login) # required: sony oline id (login)
psn_online_id = ps4_online_id psn_online_id = ps4_online_id
# required (PS4>7.0 Only): https://github.com/thestr4ng3r/chiaki#obtaining-your-psn-accountid # required (PS4>7.0 Only): https://git.sr.ht/~thestr4ng3r/chiaki/tree/master/item/README.md#obtaining-your-psn-accountid
psn_account_id = ps4_base64_account_id psn_account_id = ps4_base64_account_id
# optional(default 60): remote play fps (must be 30 or 60) # optional(default 60): remote play fps (must be 30 or 60)
video_fps = 60 video_fps = 60

View file

@ -15,7 +15,7 @@
#define SWITCH_TOUCHSCREEN_MAX_Y 720 #define SWITCH_TOUCHSCREEN_MAX_Y 720
// source: // source:
// https://github.com/thestr4ng3r/chiaki/blob/master/gui/src/avopenglwidget.cpp // gui/src/avopenglwidget.cpp
// //
// examples : // examples :
// https://www.roxlu.com/2014/039/decoding-h264-and-yuv420p-playback // https://www.roxlu.com/2014/039/decoding-h264-and-yuv420p-playback