summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deadbeef-plugin-discord-git/.SRCINFO17
-rw-r--r--deadbeef-plugin-discord-git/PKGBUILD47
-rw-r--r--deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch14
3 files changed, 0 insertions, 78 deletions
diff --git a/deadbeef-plugin-discord-git/.SRCINFO b/deadbeef-plugin-discord-git/.SRCINFO
deleted file mode 100644
index 377731f..0000000
--- a/deadbeef-plugin-discord-git/.SRCINFO
+++ /dev/null
@@ -1,17 +0,0 @@
-pkgbase = deadbeef-plugin-discord-git
- pkgdesc = DeaDBeeF Discord rich presence plugin
- pkgver = r26.g70c06e1
- pkgrel = 1
- url = https://github.com/kuba160/ddb_discord_presence
- arch = i686
- arch = x86_64
- license = BSD
- makedepends = git
- depends = deadbeef
- source = ddb_discord_presence::git+https://github.com/kuba160/ddb_discord_presence
- source = ddb_discord_presence-makefile.patch
- sha256sums = SKIP
- sha256sums = 2c234522f8854be7ca7222b4929b88259dda8638a62efe377985889bce5d4e84
-
-pkgname = deadbeef-plugin-discord-git
-
diff --git a/deadbeef-plugin-discord-git/PKGBUILD b/deadbeef-plugin-discord-git/PKGBUILD
deleted file mode 100644
index 11341d9..0000000
--- a/deadbeef-plugin-discord-git/PKGBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# Maintainer: Deposite Pirate <dpirate at metalpunks dot info>
-#
-# Upstream: https://git.metalpunks.info/arch-ports
-
-_pkgname=ddb_discord_presence
-pkgname=deadbeef-plugin-discord-git
-pkgver=r26.g70c06e1
-pkgrel=1
-pkgdesc="DeaDBeeF Discord rich presence plugin"
-arch=('i686' 'x86_64')
-url="https://github.com/kuba160/ddb_discord_presence"
-license=('BSD')
-depends=('deadbeef')
-makedepends=('git')
-source=("${_pkgname}::git+https://github.com/kuba160/${_pkgname}"
- "${_pkgname}-makefile.patch")
-sha256sums=('SKIP'
- '2c234522f8854be7ca7222b4929b88259dda8638a62efe377985889bce5d4e84')
-
-pkgver() {
- cd "${_pkgname}"
- printf "r%s.g%s" \
- "$(git rev-list --count HEAD)" \
- "$(git rev-parse --short HEAD)"
-}
-
-prepare() {
- cd "${_pkgname}"
-
- # Arch compile FLAGS
- patch -p1 -i ../${_pkgname}-makefile.patch
-
- make submodules_load
- make discord-rpc-patch
-}
-
-build() {
- cd "${_pkgname}"
- ( cd discord-rpc ; make thirdparty/rapidjson-1.1.0 )
- make COPT="${CFLAGS}" CXXOPT="${CXXFLAGS}"
-}
-
-package() {
- cd "${_pkgname}"
- install -m0755 -d "${pkgdir}/usr/lib/deadbeef"
- make PREFIX="${pkgdir}/usr/lib/deadbeef" install
-}
diff --git a/deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch b/deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch
deleted file mode 100644
index 4ab6ceb..0000000
--- a/deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -u -r -N ddb_discord_presence/Makefile ddb_discord_presence-makefile/Makefile
---- ddb_discord_presence/Makefile 2020-01-15 09:47:59.792849482 +0100
-+++ ddb_discord_presence-makefile/Makefile 2020-01-15 09:49:29.572231291 +0100
-@@ -14,8 +14,8 @@
- CC=gcc
- CXX=g++
- STD=gnu99
--CFLAGS+=-fPIC -I /usr/local/include -I discord-rpc/include -I . -Wall
--CXXFLAGS+=-fPIC -I /usr/local/include -I . -Wall
-+CFLAGS+=$(COPT) -fPIC -I /usr/local/include -I discord-rpc/include -I . -Wall
-+CXXFLAGS+=$(CXXOPT) -fPIC -I /usr/local/include -I . -Wall
- ifeq ($(UNAME_S),Darwin)
- CFLAGS+=-I $(DEADBEEF_OSX)/Contents/Headers
- CXXFLAGS+=-I $(DEADBEEF_OSX)/Contents/Headers