summaryrefslogtreecommitdiff
path: root/deadbeef-plugin-lyricbar-git/deadbeef-lyricbar-makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'deadbeef-plugin-lyricbar-git/deadbeef-lyricbar-makefile.patch')
-rw-r--r--deadbeef-plugin-lyricbar-git/deadbeef-lyricbar-makefile.patch32
1 files changed, 18 insertions, 14 deletions
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