mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
New package: spotify-adblock-linux-1.0
Closes: #14768 [via git-merge-pr]
This commit is contained in:
parent
45568013ed
commit
3a5299491c
2 changed files with 31 additions and 0 deletions
11
srcpkgs/spotify-adblock-linux/files/spotify-adblock.desktop
Normal file
11
srcpkgs/spotify-adblock-linux/files/spotify-adblock.desktop
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Spotify (adblock)
|
||||||
|
GenericName=Music Player
|
||||||
|
Icon=spotify-client
|
||||||
|
TryExec=spotify
|
||||||
|
Exec=env LD_PRELOAD=/usr/lib/spotify-adblock.so spotify %U
|
||||||
|
Terminal=false
|
||||||
|
MimeType=x-scheme-handler/spotify;
|
||||||
|
Categories=Audio;Music;Player;AudioVideo;
|
||||||
|
StartupWMClass=spotify
|
20
srcpkgs/spotify-adblock-linux/template
Normal file
20
srcpkgs/spotify-adblock-linux/template
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Template file for 'spotify-adblock-linux'
|
||||||
|
pkgname=spotify-adblock-linux
|
||||||
|
version=1.0
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
makedepends="libcurl-devel"
|
||||||
|
short_desc="Spotify adblocker for Linux"
|
||||||
|
maintainer="linarcx <linarcx@gmail.com>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
homepage="https://github.com/abba23/spotify-adblock-linux"
|
||||||
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
|
checksum=811358fd2da2ca83e76e3a0dd5ce03ddab39fc19ae9831dd0ccaf4b74abd0804
|
||||||
|
|
||||||
|
CFLAGS+=" -shared -fPIC"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vmkdir usr/lib
|
||||||
|
vcopy "*.so" usr/lib
|
||||||
|
vinstall ${FILESDIR}/spotify-adblock.desktop 644 usr/share/applications/
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue