summaryrefslogtreecommitdiff
path: root/deadbeef-plugin-lyricsbar-git
diff options
context:
space:
mode:
authorDeposite Pirate2018-10-01 21:54:35 +0200
committerDeposite Pirate2018-10-01 21:54:35 +0200
commit4c1441181a774019e52d728a10344183f3dd59ef (patch)
tree0aaa5818ff60475f28f7f9b1495114eceb04099e /deadbeef-plugin-lyricsbar-git
parent41b77d0c8c6e97ea0159a842a505e314069da77c (diff)
Add DeadBeeF lyrics bar plugin.
new file: deadbeef-plugin-lyricsbar-git/.SRCINFO new file: deadbeef-plugin-lyricsbar-git/.gitignore new file: deadbeef-plugin-lyricsbar-git/PKGBUILD new file: deadbeef-plugin-lyricsbar-git/deadbeef-lyricsbar-makefile.patch
Diffstat (limited to 'deadbeef-plugin-lyricsbar-git')
-rw-r--r--deadbeef-plugin-lyricsbar-git/.SRCINFO17
-rw-r--r--deadbeef-plugin-lyricsbar-git/.gitignore1
-rw-r--r--deadbeef-plugin-lyricsbar-git/PKGBUILD42
-rw-r--r--deadbeef-plugin-lyricsbar-git/deadbeef-lyricsbar-makefile.patch12
4 files changed, 72 insertions, 0 deletions
diff --git a/deadbeef-plugin-lyricsbar-git/.SRCINFO b/deadbeef-plugin-lyricsbar-git/.SRCINFO
new file mode 100644
index 0000000..ad42470
--- /dev/null
+++ b/deadbeef-plugin-lyricsbar-git/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = deadbeef-plugin-lyricsbar-git
+ pkgdesc = DeaDBeeF lyrics bar plugin
+ pkgver = r9.gb6709b7
+ pkgrel = 1
+ url = https://github.com/VolkMilit/deadbeef-lyricsbar
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ depends = deadbeef-git
+ source = deadbeef-lyricsbar::git+https://github.com/VolkMilit/deadbeef-lyricsbar
+ source = deadbeef-lyricsbar-makefile.patch
+ sha256sums = SKIP
+ sha256sums = 5f8367de9b26c02904c7954d317cd167adc8583826178e481aed7c636415631f
+
+pkgname = deadbeef-plugin-lyricsbar-git
+
diff --git a/deadbeef-plugin-lyricsbar-git/.gitignore b/deadbeef-plugin-lyricsbar-git/.gitignore
new file mode 100644
index 0000000..1ea28b4
--- /dev/null
+++ b/deadbeef-plugin-lyricsbar-git/.gitignore
@@ -0,0 +1 @@
+deadbeef-lyricsbar
diff --git a/deadbeef-plugin-lyricsbar-git/PKGBUILD b/deadbeef-plugin-lyricsbar-git/PKGBUILD
new file mode 100644
index 0000000..373592b
--- /dev/null
+++ b/deadbeef-plugin-lyricsbar-git/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Deposite Pirate <dpirate at metalpunks dot info>
+#
+# Upstream: https://git.metalpunks.info/arch-ports
+
+_pkgname=deadbeef-lyricsbar
+pkgname=deadbeef-plugin-lyricsbar-git
+pkgver=r9.gb6709b7
+pkgrel=1
+pkgdesc="DeaDBeeF lyrics bar plugin"
+arch=('i686' 'x86_64')
+url="https://github.com/VolkMilit/deadbeef-lyricsbar"
+license=('GPL2')
+depends=('deadbeef-git')
+makedepends=('git')
+source=("${_pkgname}::git+https://github.com/VolkMilit/${_pkgname}"
+ "${_pkgname}-makefile.patch")
+sha256sums=('SKIP'
+ '5f8367de9b26c02904c7954d317cd167adc8583826178e481aed7c636415631f')
+
+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
+}
+
+build() {
+ cd "${_pkgname}"
+ make COPTS="${CFLAGS}"
+}
+
+package() {
+ cd "${_pkgname}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/deadbeef-plugin-lyricsbar-git/deadbeef-lyricsbar-makefile.patch b/deadbeef-plugin-lyricsbar-git/deadbeef-lyricsbar-makefile.patch
new file mode 100644
index 0000000..5b1adaf
--- /dev/null
+++ b/deadbeef-plugin-lyricsbar-git/deadbeef-lyricsbar-makefile.patch
@@ -0,0 +1,12 @@
+diff -r -u -N deadbeef-lyricsbar/Makefile deadbeef-lyricsbar-makefile/Makefile
+--- deadbeef-lyricsbar/Makefile 2018-10-01 21:47:48.319877927 +0200
++++ deadbeef-lyricsbar-makefile/Makefile 2018-10-01 21:48:27.066776299 +0200
+@@ -27,7 +27,7 @@
+ LIBXML2_LIBS?=`pkg-config --libs libxml-2.0`
+
+ CC?=gcc
+-CFLAGS+=-Wall -fPIC -std=c99 -D_GNU_SOURCE
++CFLAGS+=-Wall -fPIC -std=c99 -D_GNU_SOURCE $(COPT)
+ LDFLAGS+=-shared
+
+ GTK2_DIR?=gtk2