diff options
| -rw-r--r-- | deadbeef-plugin-lyricbar-git/.SRCINFO | 18 | ||||
| -rw-r--r-- | deadbeef-plugin-lyricbar-git/PKGBUILD | 24 | ||||
| -rw-r--r-- | deadbeef-plugin-lyricbar-git/deadbeef-lyricbar-makefile.patch | 32 |
3 files changed, 36 insertions, 38 deletions
diff --git a/deadbeef-plugin-lyricbar-git/.SRCINFO b/deadbeef-plugin-lyricbar-git/.SRCINFO index fc0852d..fc52a96 100644 --- a/deadbeef-plugin-lyricbar-git/.SRCINFO +++ b/deadbeef-plugin-lyricbar-git/.SRCINFO @@ -1,24 +1,22 @@ pkgbase = deadbeef-plugin-lyricbar-git pkgdesc = DeaDBeeF lyric bar plugin - pkgver = r80.ga1b2dba - pkgrel = 4 - url = https://github.com/loskutov/deadbeef-lyricbar + pkgver = r195.gf6b939b + pkgrel = 1 + url = https://github.com/AsVHEn/deadbeef-lyricbar arch = i686 arch = x86_64 license = MIT makedepends = git makedepends = pkgconf - makedepends = gtkmm3 - makedepends = gtkmm + makedepends = taglib depends = deadbeef - depends = libxml++ - optdepends = gtkmm3 - optdepends = gtkmm + depends = gtkmm3 + depends = curl provides = deadbeef-plugin-lyricbar conflicts = deadbeef-plugin-lyricbar - source = deadbeef-lyricbar::git+https://github.com/loskutov/deadbeef-lyricbar + source = deadbeef-lyricbar::git+https://github.com/AsVHEn/deadbeef-lyricbar source = deadbeef-lyricbar-makefile.patch sha256sums = SKIP - sha256sums = 205abce61bf4bb4a1a59bcac3a440a88904d688846d21eedb5ea6f73f4415f97 + sha256sums = c78f6e9e84c4ea09f0e31609e434928ac16a6b7a01cec22ac8b86905743bd3f0 pkgname = deadbeef-plugin-lyricbar-git diff --git a/deadbeef-plugin-lyricbar-git/PKGBUILD b/deadbeef-plugin-lyricbar-git/PKGBUILD index 2818478..cb94ead 100644 --- a/deadbeef-plugin-lyricbar-git/PKGBUILD +++ b/deadbeef-plugin-lyricbar-git/PKGBUILD @@ -4,21 +4,20 @@ _pkgname=deadbeef-lyricbar pkgname=deadbeef-plugin-lyricbar-git -pkgver=r80.ga1b2dba -pkgrel=4 +pkgver=r195.gf6b939b +pkgrel=1 pkgdesc="DeaDBeeF lyric bar plugin" arch=('i686' 'x86_64') -url="https://github.com/loskutov/deadbeef-lyricbar" +url="https://github.com/AsVHEn/deadbeef-lyricbar" license=('MIT') -depends=('deadbeef' 'libxml++') provides=('deadbeef-plugin-lyricbar') conflicts=('deadbeef-plugin-lyricbar') -optdepends=('gtkmm3' 'gtkmm') -makedepends=('git' 'pkgconf' 'gtkmm3' 'gtkmm') +depends=('deadbeef' 'gtkmm3' 'curl') +makedepends=('git' 'pkgconf' 'taglib') source=("${_pkgname}::git+${url}" "${_pkgname}-makefile.patch") sha256sums=('SKIP' - '205abce61bf4bb4a1a59bcac3a440a88904d688846d21eedb5ea6f73f4415f97') + 'c78f6e9e84c4ea09f0e31609e434928ac16a6b7a01cec22ac8b86905743bd3f0') pkgver() { cd "${_pkgname}" @@ -32,18 +31,15 @@ prepare() { # Arch compile FLAGS patch -p1 -i ../${_pkgname}-makefile.patch + + # Fucked up Makefile + glib-compile-resources --generate-source src/resources.xml + glib-compile-resources --generate-header src/resources.xml } build() { cd "${_pkgname}" - # Fix GCC14 - export CFLAGS+=" -Wno-incompatible-pointer-types" - export CXXFLAGS+=" -Wno-incompatible-pointer-types" - make COPTS="${CFLAGS}" CXXOPTS="${CXXFLAGS}" gtk2 - mv ddb_lyricbar_gtk2.so ddb_lyricbar_gtk2.so.save - make clean make COPTS="${CFLAGS}" CXXOPTS="${CXXFLAGS}" - mv ddb_lyricbar_gtk2.so.save ddb_lyricbar_gtk2.so } package() { diff --git a/deadbeef-plugin-lyricbar-git/deadbeef-lyricbar-makefile.patch b/deadbeef-plugin-lyricbar-git/deadbeef-lyricbar-makefile.patch index 3b070d7..ab2f7ae 100644 --- a/deadbeef-plugin-lyricbar-git/deadbeef-lyricbar-makefile.patch +++ b/deadbeef-plugin-lyricbar-git/deadbeef-lyricbar-makefile.patch @@ -1,20 +1,24 @@ -diff '--color=auto' -u -r -N deadbeef-lyricbar/Makefile deadbeef-lyricbar-makefile/Makefile ---- deadbeef-lyricbar/Makefile 2022-08-25 16:57:00.514143174 +0200 -+++ deadbeef-lyricbar-makefile/Makefile 2022-08-25 16:56:46.485115039 +0200 +Common subdirectories: deadbeef-lyricbar/gettext and deadbeef-lyricbar-makefile/gettext +Common subdirectories: deadbeef-lyricbar/.git and deadbeef-lyricbar-makefile/.git +diff '--color=auto' -u deadbeef-lyricbar/Makefile deadbeef-lyricbar-makefile/Makefile +--- deadbeef-lyricbar/Makefile 2025-11-11 13:58:25.739932642 +0000 ++++ deadbeef-lyricbar-makefile/Makefile 2025-11-11 14:01:50.996557239 +0000 @@ -1,5 +1,5 @@ --CFLAGS+=-std=c99 -Wall -O2 -D_GNU_SOURCE -fPIC -fvisibility=hidden -flto --CXXFLAGS+=-std=c++14 -Wall -O2 -fPIC -fvisibility=hidden -flto -+CFLAGS+=-std=c99 -Wall $(COPTS) -D_GNU_SOURCE -fPIC -fvisibility=hidden -flto -+CXXFLAGS+=-std=c++14 -Wall $(CXXOPTS) -fPIC -fvisibility=hidden -flto + CFLAGS+=-std=c99 -Wall $(COPTS) -D_GNU_SOURCE -fPIC -fvisibility=hidden -flto=auto +-CXXFLAGS+=-std=c++14 -Wall -O2 -fPIC -fvisibility=hidden -flto=auto ++CXXFLAGS+=-std=c++14 -Wall $(CXXOPTS) -O2 -fPIC -fvisibility=hidden -flto=auto LIBFLAGS=`pkg-config --cflags $(GTKMM) $(GTK)` LIBS=`pkg-config --libs $(GTKMM) $(GTK)` - LDFLAGS+=-flto -@@ -33,7 +33,7 @@ + LCURL=-lcurl +@@ -78,8 +78,8 @@ + $(GLIBC) --generate-header src/resources.xml + install: - install -d $(prefix)/lib/deadbeef - install -d $(prefix)/share/locale/ru/LC_MESSAGES -- install -m 666 -D *.so $(prefix)/lib/deadbeef +- install -d $(prefix)/lib/x86_64-linux-gnu/deadbeef +- install -m 0755 -D *.so $(prefix)/lib/x86_64-linux-gnu/deadbeef ++ install -d $(prefix)/lib/deadbeef + install -m 0755 -D *.so $(prefix)/lib/deadbeef - msgfmt gettext/ru/deadbeef-lyricbar.po -o $(prefix)/share/locale/ru/LC_MESSAGES/deadbeef-lyricbar.mo + $(foreach loc, $(LOCALES), install -d $(prefix)/share/locale/$(loc)/LC_MESSAGES;) + $(foreach loc, $(LOCALES), msgfmt gettext/$(loc)/deadbeef-lyricbar.po -o $(prefix)/share/locale/$(loc)/LC_MESSAGES/deadbeef-lyricbar.mo;) - clean: +Common subdirectories: deadbeef-lyricbar/src and deadbeef-lyricbar-makefile/src |
