Skip to content

Commit

Permalink
Merge pull request #123 from NorthernMan54/master
Browse files Browse the repository at this point in the history
Transition of homebridge-syno-spk from ozone to homebridge and refresh of build.
  • Loading branch information
NorthernMan54 authored Jul 18, 2023
2 parents e2d91d8 + efb4d8c commit 2cf7256
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 21 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ jobs:
### Recommended Post-Install Steps:
* [Enable compiling native modules](https://github.com/oznu/homebridge-syno-spk/wiki/DSM-7:-Enable-Compiling-Of-Native-Modules)
* [Install ffmpeg with libfdk_aac](https://github.com/oznu/homebridge-syno-spk/wiki/DSM-7:-ffmpeg-with-libfdk_aac)
* [Install git](https://github.com/oznu/homebridge-syno-spk/wiki/DSM-7:-Install-git)
* [Enable compiling native modules](https://github.com/homebridge/homebridge-syno-spk/wiki/DSM-7:-Enable-Compiling-Of-Native-Modules)
* [Install ffmpeg with libfdk_aac](https://github.com/homebridge/homebridge-syno-spk/wiki/DSM-7:-ffmpeg-with-libfdk_aac)
* [Install git](https://github.com/homebridge/homebridge-syno-spk/wiki/DSM-7:-Install-git)
---
<span align="center">
*If you like the [Homebridge UI](https://github.com/oznu/homebridge-config-ui-x) or the [Homebridge Synology Package Installer](https://github.com/oznu/homebridge-syno-spk) please consider [donating via PayPal](https://paypal.me/oznu) ❤️*
*If you like the [Homebridge UI](https://github.com/homebridge/homebridge-config-ui-x) or the [Homebridge Synology Package Installer](https://github.com/homebridge/homebridge-syno-spk) please consider [donating via PayPal](https://paypal.me/oznu) ❤️*
</span>
Expand All @@ -93,7 +93,7 @@ jobs:
NODE_ARCH: x64
- SPK_PLATFORM: evansport
SPK_ARCH: i686
NODE_ARCH: x86
NODE_ARCH: x64
- SPK_PLATFORM: rtd1296
SPK_ARCH: armv8
NODE_ARCH: arm64
Expand Down Expand Up @@ -171,6 +171,14 @@ jobs:
cd repo
node index.js
- name: Upload synology-spk-repo.json
id: upload-synology-spk-repo-json
uses: AButler/[email protected]
with:
files: repo/spks/synology-spk-repo.json
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ github.event.inputs.version }}

- name: Upload Repo JSON to S3
run: |
cat repo/spks/synology-spk-repo.json | jq
Expand Down
8 changes: 4 additions & 4 deletions INFO.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ package="homebridge"

version=${SPK_PACKAGE_VERSION:-1.0.0}
os_min_ver="7.0-40761"
maintainer="oznu"
maintainer="homebridge"
thirdparty="yes"
arch="${SPK_ARCH:-x86_64}"
reloadui="yes"
dsmuidir="ui"
dsmappname="oznu.homebridge"
dsmappname="homebridge.homebridge"
silent_install="no"
silent_upgrade="no"
adminprotocol="http"
Expand All @@ -20,8 +20,8 @@ adminport="8581"

displayname="Homebridge"
description="Homebridge on Synology DSM."
maintainer_url="https://github.com/oznu/homebridge-syno-spk"
support_url="https://github.com/oznu/homebridge-syno-spk"
maintainer_url="https://github.com/homebridge/homebridge-syno-spk"
support_url="https://github.com/homebridge/homebridge-syno-spk"

[ "$(caller)" != "0 NULL" ] && return 0
pkg_dump_info
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<img width="400px" src="https://user-images.githubusercontent.com/3979615/79035227-bdd5be00-7bff-11ea-900f-2fef01bba4ba.png">
</p>

[![GitHub release](https://img.shields.io/github/release/oznu/homebridge-syno-spk.svg)](https://github.com/oznu/homebridge-syno-spk/releases/latest)
[![Build](https://github.com/oznu/homebridge-syno-spk/workflows/Build/badge.svg)](https://github.com/oznu/homebridge-syno-spk/actions)
[![GitHub release](https://img.shields.io/github/release/homebridge/homebridge-syno-spk.svg)](https://github.com/homebridge/homebridge-syno-spk/releases/latest)
[![Build](https://github.com/homebridge/homebridge-syno-spk/workflows/Build/badge.svg)](https://github.com/homebridge/homebridge-syno-spk/actions)
[![Donate](https://badgen.net/badge/donate/paypal/yellow)](https://paypal.me/oznu)

# Homebridge Package for Synology DSM
Expand Down Expand Up @@ -49,15 +49,15 @@ If you have the Synology Firewall enabled, make a rule to allow access to port 8

### Recommended Optional Steps:

* [Enable compiling native modules](https://github.com/oznu/homebridge-syno-spk/wiki/DSM-7:-Enable-Compiling-Of-Native-Modules)
* [Install ffmpeg with libfdk_aac](https://github.com/oznu/homebridge-syno-spk/wiki/DSM-7:-ffmpeg-with-libfdk_aac)
* [Install git](https://github.com/oznu/homebridge-syno-spk/wiki/DSM-7:-Install-git)
* [Enable compiling native modules](https://github.com/homebridge/homebridge-syno-spk/wiki/DSM-7:-Enable-Compiling-Of-Native-Modules)
* [Install ffmpeg with libfdk_aac](https://github.com/homebridge/homebridge-syno-spk/wiki/DSM-7:-ffmpeg-with-libfdk_aac)
* [Install git](https://github.com/homebridge/homebridge-syno-spk/wiki/DSM-7:-Install-git)

## Issues

If you have an issue with the installation of Homebridge using this package please raise an issue on this project's GitHub page. For everything else:

* Homebridge UI Issues: [oznu/homebridge-config-ui-x](https://github.com/oznu/homebridge-config-ui-x)
* Homebridge UI Issues: [homebridge/homebridge-config-ui-x](https://github.com/homebridge/homebridge-config-ui-x)
* General Homebridge Issues: [nfarina/homebridge](https://github.com/nfarina/homebridge)
* For problems with individual plugins please raise issues on the relevant GitHub project page.

Expand Down
10 changes: 5 additions & 5 deletions repo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ const path = require('path');
price: 0,
download_count: 56691,
recent_download_count: 1138,
link: `https://github.com/oznu/homebridge-syno-spk/releases/download/${version}/${spk}`,
link: `https://github.com/homebridge/homebridge-syno-spk/releases/download/${version}/${spk}`,
size: fileStat.size,
md5: md5sum,
thumbnail: [
'https://raw.githubusercontent.com/oznu/homebridge-syno-spk/master/PACKAGE_ICON.PNG',
'https://raw.githubusercontent.com/oznu/homebridge-syno-spk/master/PACKAGE_ICON_256.PNG'
'https://raw.githubusercontent.com/homebridge/homebridge-syno-spk/master/PACKAGE_ICON.PNG',
'https://raw.githubusercontent.com/homebridge/homebridge-syno-spk/master/PACKAGE_ICON_256.PNG'
],
snapshot: [],
qinst: true,
Expand All @@ -50,8 +50,8 @@ const path = require('path');
deppkgs: null,
conflictpkgs: null,
start: true,
maintainer: 'oznu',
maintainer_url: 'https://github.com/oznu/homebridge-syno-spk',
maintainer: 'homebridge',
maintainer_url: 'https://github.com/homebridge/homebridge-syno-spk',
distributor: '',
distributor_url: '',
support_url: '',
Expand Down
2 changes: 1 addition & 1 deletion ui/config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
".url": {
"oznu.homebridge": {
"homebridge.homebridge": {
"title": "Homebridge",
"desc": "Homebridge UI",
"icon": "images/icon_256.png",
Expand Down

0 comments on commit 2cf7256

Please sign in to comment.