Package Details: deadbeef-plugin-discord-git r66.g9d2bbf9-1

Git Clone URL: https://aur.archlinux.org/deadbeef-plugin-discord-git.git (read-only, click to copy)
Package Base: deadbeef-plugin-discord-git
Description: DeaDBeeF Discord rich presence plugin
Upstream URL: https://github.com/kuba160/ddb_discord_presence
Keywords: deadbeef
Licenses: MIT, ZLIB,
Submitter: dpirate
Maintainer: kuba_160
Last Packager: kuba_160
Votes: 5
Popularity: 0.000536
First Submitted: 2018-09-30 13:26 (UTC)
Last Updated: 2024-11-02 03:11 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

The-Anathema commented on 2021-04-14 13:12 (UTC)

I fixed the package

The-Anathema commented on 2021-04-14 12:11 (UTC) (edited on 2021-04-14 12:22 (UTC) by The-Anathema)

fails build due to makefile patch not applying, out of date?

Since the package is disowned, I might take a stab at fixing the package if I have the time, unless someone beats me to it. Maybe someone should flag it out of date for now though so it's more obvious it needs fixing.

  ==> Making package: deadbeef-plugin-discord-git r26.g70c06e1-1 (Wed 14 Apr 2021 14:04:52 CEST)
  ==> Retrieving sources...
    -> Cloning ddb_discord_presence git repo...
  Cloning into bare repository '/home/cocaine/.cache/pacaur/deadbeef-plugin-discord-git/ddb_discord_presence'...
  remote: Enumerating objects: 3, done.
  remote: Counting objects: 100% (3/3), done.
  remote: Compressing objects: 100% (3/3), done.
  remote: Total 164 (delta 0), reused 1 (delta 0), pack-reused 161
  Receiving objects: 100% (164/164), 271.91 KiB | 1.53 MiB/s, done.
  Resolving deltas: 100% (82/82), done.
    -> Found ddb_discord_presence-makefile.patch
  ==> Validating source files with sha256sums...
      ddb_discord_presence ... Skipped
      ddb_discord_presence-makefile.patch ... Passed
  :: Preparing deadbeef-plugin-discord-git...
  ==> Making package: deadbeef-plugin-discord-git r26.g70c06e1-1 (Wed 14 Apr 2021 14:04:55 CEST)
  ==> WARNING: Skipping dependency checks.
  ==> Retrieving sources...
    -> Updating ddb_discord_presence git repo...
  Fetching origin
    -> Found ddb_discord_presence-makefile.patch
  ==> WARNING: Skipping all source file integrity checks.
  ==> Extracting sources...
    -> Creating working copy of ddb_discord_presence git repo...
  Cloning into 'ddb_discord_presence'...
  done.
  ==> Starting prepare()...
  patching file Makefile
  Hunk #1 FAILED at 14.
  1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
  ==> ERROR: A failure occurred in prepare().
      Aborting...
  :: failed to verify integrity or prepare deadbeef-plugin-discord-git package

Makefile.rej:

  --- Makefile  2020-01-15 09:47:59.792849482 +0100
  +++ 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

EDIT: the markdown seems to like stripping line breaks in code blocks, apologies. I'll fix it if I can figure out how from reading the markdown syntax they're using

EDIT 2: figured out how to fix it, non-elegantly by just mashing in a few more levels of indent but it works so whatever

dpirate commented on 2020-05-02 15:27 (UTC)

I'm going to disown this thing. I can't test it anyway as sandboxing prevents the use of it. And don't want to bother spending time working around a broken build system.

ztx commented on 2020-04-30 08:42 (UTC)

g++: error: libdiscord-rpc.a: No such file or directory make: *** [Makefile:39: discord_presence] Error 1

dpirate commented on 2020-03-23 09:14 (UTC) (edited on 2020-03-23 09:15 (UTC) by dpirate)

Maybe it does, but I can't know for sure as I only use deadbeef-git. If you give it a try and report that it does indeed work, I'll change it.

dreieck commented on 2020-03-23 01:07 (UTC)

Is it really needed to depend on deadbeef-git? Will this plugin not work with deadbeef?