mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 10:46:51 -07:00
Transition to Sourcehut
This commit is contained in:
parent
dfc0f32ac2
commit
b7c7d87db6
17 changed files with 15 additions and 177 deletions
|
@ -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"]
|
||||
|
|
@ -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
|
|
@ -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}")
|
|
@ -88,7 +88,7 @@
|
|||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/thestr4ng3r/chiaki.git",
|
||||
"url": "https://git.sr.ht/~thestr4ng3r/chiaki",
|
||||
"tag": "v1.3.0",
|
||||
"commit": "702d31eb01d37518e77f5c1be3ea493df9f18323"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue