diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000..a7e6e251 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = spotube-bin + pkgdesc = A music streaming app combining the power of Spotify & Youtube + pkgver = 0.0.3 + pkgrel = 1 + url = https://github.com/KRTirtho/spotube/ + arch = x86_64 + license = MIT + depends = mpv + depends = youtube-dl + source = https://github.com/KRTirtho/spotube//releases/download/v0.0.3/Spotube_linux-x86_64-v0.0.3.zip + +pkgname = spotube-bin + diff --git a/Dockerfile b/Dockerfile index f6c51558..a5586351 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,11 @@ RUN apt-get update &&\ libqt5x11extras5\ xcb\ mpv\ - python + python\ + fuse\ + kmod + +RUN addgroup fuse RUN apt-get install -y --reinstall libxcb-xinerama0 # removing broken youtube-dl & giving execution permissions diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000..32b51690 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: KRTirtho +pkgname=spotube-bin +pkgver=0.0.3 +pkgrel=1 +epoch= +pkgdesc="A music streaming app combining the power of Spotify & Youtube" +arch=(x86_64) +url="https://github.com/KRTirtho/spotube/" +license=('MIT') +groups=() +depends=('mpv' 'youtube-dl') +makedepends=() +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install=./install.sh +changelog= +source=("$url/releases/download/v$pkgver/Spotube_linux-x86_64-v$pkgver.zip") +noextract=() +md5sums=(ae9c6cbbe97f6dcc15a7c7dc86091174) +validpgpkeys=() \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 3ed52c80..f16ac066 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2004,34 +2004,16 @@ } }, "@nodegui/react-nodegui": { - "version": "0.10.4", - "resolved": "https://registry.npmjs.org/@nodegui/react-nodegui/-/react-nodegui-0.10.4.tgz", - "integrity": "sha512-FmzYj8ImsUoPTEb0bXR4MKiVAdKypI6V1slTiBLd+FPLM+/BKO6XKqaGZOX1OO8adPGWw5umbP3yxTDNGqYIAw==", + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@nodegui/react-nodegui/-/react-nodegui-0.10.0.tgz", + "integrity": "sha512-wQJjsM8hNXoQm+blEGPA6hfJfOzsk1W8ACgQlcEiNmo16eQLokwQT2EWcA4sZlEKRgIID76Fkxdq+zwNCNuAHg==", "requires": { - "@nodegui/nodegui": "^0.30.2", + "@nodegui/nodegui": "^0.27.0", "@types/react-reconciler": "^0.18.0", "phin": "^3.4.1", "react-deep-force-update": "^2.1.3", "react-proxy": "^2.0.8", "react-reconciler": "^0.25.1" - }, - "dependencies": { - "@nodegui/nodegui": { - "version": "0.30.2", - "resolved": "https://registry.npmjs.org/@nodegui/nodegui/-/nodegui-0.30.2.tgz", - "integrity": "sha512-UhUCH6bqaaeMoRFfQBMc0mEozwtF4slV3agwUHkEw9zuLcM+1JZewKIiaKnSHMtYdrbgkIohTDsYxlwHgAXv+A==", - "requires": { - "@nodegui/artifact-installer": "^1.1.0", - "@nodegui/qode": "^2.1.0", - "cmake-js": "^6.1.0", - "cross-env": "^7.0.3", - "cuid": "^2.1.6", - "manage-path": "^2.0.0", - "memoize-one": "^5.1.1", - "node-addon-api": "^3.1.0", - "postcss-nodegui-autoprefixer": "0.0.7" - } - } } }, "@sindresorhus/is": { diff --git a/package.json b/package.json index e0719e62..0ca898a0 100644 --- a/package.json +++ b/package.json @@ -20,8 +20,8 @@ "pack-win32": "powershell.exe -ExecutionPolicy Unrestricted -Command \". '.\\scripts\\build-win32.ps1'\"" }, "dependencies": { - "@nodegui/nodegui": "^0.27.0", - "@nodegui/react-nodegui": "^0.10.0", + "@nodegui/nodegui": "0.27.0", + "@nodegui/react-nodegui": "0.10.0", "axios": "^0.21.1", "base64url": "^3.0.1", "chalk": "^4.1.0", diff --git a/src/components/Home.tsx b/src/components/Home.tsx index 19a023e2..401f7c66 100644 --- a/src/components/Home.tsx +++ b/src/components/Home.tsx @@ -1,4 +1,4 @@ -import React, { useEffect } from "react"; +import React from "react"; import { Button, ScrollArea, View } from "@nodegui/react-nodegui"; import { QueryCacheKeys } from "../conf"; import useSpotifyQuery from "../hooks/useSpotifyQuery";