summaryrefslogtreecommitdiff
path: root/deadbeef-plugin-discord-git
diff options
context:
space:
mode:
authorDeposite Pirate2020-02-22 12:55:27 +0100
committerDeposite Pirate2020-02-22 12:55:27 +0100
commit0c38a88430cce5fe0c444c3576464a4af1120527 (patch)
treecdefb2c33f35a3486993ca8edc2406ed0be001e8 /deadbeef-plugin-discord-git
parent7e4599d9da1b7db18184a3a34e8c3fcab2e5856d (diff)
* Update deadbeef-plugin-discord-git
modified: deadbeef-plugin-discord-git/PKGBUILD modified: deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch
Diffstat (limited to 'deadbeef-plugin-discord-git')
-rw-r--r--deadbeef-plugin-discord-git/PKGBUILD6
-rw-r--r--deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch12
2 files changed, 10 insertions, 8 deletions
diff --git a/deadbeef-plugin-discord-git/PKGBUILD b/deadbeef-plugin-discord-git/PKGBUILD
index e0da891..e6673a7 100644
--- a/deadbeef-plugin-discord-git/PKGBUILD
+++ b/deadbeef-plugin-discord-git/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=ddb_discord_presence
pkgname=deadbeef-plugin-discord-git
-pkgver=r24.g07beb73
+pkgver=r26.g70c06e1
pkgrel=1
pkgdesc="DeaDBeeF Discord rich presence plugin"
arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@ makedepends=('git')
source=("${_pkgname}::git+https://github.com/kuba160/${_pkgname}"
"${_pkgname}-makefile.patch")
sha256sums=('SKIP'
- '967ae7feb4416b196db7a1e4b32cff779c6d96e4a6009a85e41d160486681d34')
+ '2c234522f8854be7ca7222b4929b88259dda8638a62efe377985889bce5d4e84')
pkgver() {
cd "${_pkgname}"
@@ -31,10 +31,12 @@ prepare() {
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}"
}
diff --git a/deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch b/deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch
index b7cb9ac..4ab6ceb 100644
--- a/deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch
+++ b/deadbeef-plugin-discord-git/ddb_discord_presence-makefile.patch
@@ -1,14 +1,14 @@
diff -u -r -N ddb_discord_presence/Makefile ddb_discord_presence-makefile/Makefile
---- ddb_discord_presence/Makefile 2019-08-20 20:57:06.817705453 +0200
-+++ ddb_discord_presence-makefile/Makefile 2019-08-20 20:58:36.464785836 +0200
+--- 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 -Wall
--CXXFLAGS+=-fPIC -I /usr/local/include -Wall
-+CFLAGS+=$(COPT) -fPIC -I /usr/local/include -I discord-rpc/include -Wall
-+CXXFLAGS+=$(CXXOPT) -fPIC -I /usr/local/include -Wall
+-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