From 66d684ea92c9a67df5d8cfbd19561e7bd0f0d1bf Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Wed, 19 Jan 2022 00:04:03 +0600 Subject: [PATCH] srcinfo updated with Makefile command now Flatpak manifest added keybinder-3.0 module --- Makefile | 6 +++++- aur-struct/.SRCINFO | 3 ++- oss.krtirtho.Spotube.yml | 19 ++++++++++++++++--- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 86caa4d8..2e241069 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,9 @@ INNO_VERSION=6.2.0 TEMP_DIR=/tmp/spotube-tar USR_SHARE=deb-struct/usr/share BUNDLE_DIR=build/linux/x64/release/bundle +MIRRORLIST=${PWD}/build/mirrorlist deb: - mkdir -p spotube\ + mkdir -p ${USR_SHARE}/spotube\ && mkdir -p $(USR_SHARE)/applications $(USR_SHARE)/icons/spotube $(USR_SHARE)/spotube\ && cp -r $(BUNDLE_DIR)/* $(USR_SHARE)/spotube\ && cp linux/spotube.desktop $(USR_SHARE)/applications/\ @@ -22,6 +23,9 @@ appimage: appimage-builder --recipe AppImageBuilder.yml\ && mv Spotube-*-x86_64.AppImage build +aursrcinfo: + docker run -e EXPORT_SRC=1 -v ${PWD}/aur-struct:/pkg -v ${MIRRORLIST}:/etc/pacman.d/mirrorlist:ro whynothugo/makepkg + publishaur: echo '[Warning!]: you need SSH paired with AUR'\ && rm -rf build/spotube\ diff --git a/aur-struct/.SRCINFO b/aur-struct/.SRCINFO index 1c337594..2b270141 100644 --- a/aur-struct/.SRCINFO +++ b/aur-struct/.SRCINFO @@ -1,10 +1,11 @@ pkgbase = spotube pkgdesc = A lightweight free Spotify desktop-client which handles playback manually, streams music using Youtube & no Spotify premium account is needed pkgver = 1.0.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/KRTirtho/spotube/ arch = x86_64 license = BSD 4-Clause + depends = libkeybinder3 source = https://github.com/KRTirtho/spotube/releases/download/v1.0.1/Spotube-linux-x86_64.tar.xz md5sums = 44f79f93ddaf6f0c4e7d133d2fe34bde diff --git a/oss.krtirtho.Spotube.yml b/oss.krtirtho.Spotube.yml index 723d5275..9abdf368 100644 --- a/oss.krtirtho.Spotube.yml +++ b/oss.krtirtho.Spotube.yml @@ -1,11 +1,11 @@ app-id: oss.krtirtho.Spotube runtime: org.gnome.Platform -runtime-version: '40' +runtime-version: "40" sdk: org.gnome.Sdk command: spotube finish-args: - --socket=x11 - - --socket=fallback-x11 + - --socket=fallback-x11 - --socket=wayland - --socket=pulseaudio - --share=network @@ -26,4 +26,17 @@ modules: - x86_64 url: https://github.com/KRTirtho/spotube/releases/download/v1.0.1/Spotube-linux-x86_64.tar.xz dest: spotube - sha256: 117f379c4e32a03cf1a596345e14ba82d9c143cc0ff5ac49a6e10fdc7a3d5178 \ No newline at end of file + sha256: 117f379c4e32a03cf1a596345e14ba82d9c143cc0ff5ac49a6e10fdc7a3d5178 + - name: keybinder3 + buildsystem: simple + build-commands: + - cd keybinder-3 + && ./configure --prefix=/ + && make + && make DESTDIR=/app install + - install -Dm644 keybinder-3/COPYING /app/share/licenses/keybinder-3/LICENSE + sources: + - type: archive + url: https://github.com/kupferlauncher/keybinder/releases/download/keybinder-3.0-v0.3.2/keybinder-3.0-0.3.2.tar.gz + dest: keybinder-3 + sha256: e6e3de4e1f3b201814a956ab8f16dfc8a262db1937ff1eee4d855365398c6020