summarylogtreecommitdiffstats
path: root/amldevice_arch_compat.diff
diff options
context:
space:
mode:
authorChristopher Reimer2015-08-27 14:12:44 +0200
committerChristopher Reimer2015-08-27 14:12:44 +0200
commitf92e932140ad24351c585405e17d374140ed59d8 (patch)
tree6ea1a1844d42722688b9d56b0bafc8a0055226ac /amldevice_arch_compat.diff
downloadaur-vdr-amlhddevice.tar.gz
Sync from VDR4Arch (https://github.com/VDR4Arch/vdr4arch/commit/)
Diffstat (limited to 'amldevice_arch_compat.diff')
-rw-r--r--amldevice_arch_compat.diff27
1 files changed, 27 insertions, 0 deletions
diff --git a/amldevice_arch_compat.diff b/amldevice_arch_compat.diff
new file mode 100644
index 00000000000..c6e254255ca
--- /dev/null
+++ b/amldevice_arch_compat.diff
@@ -0,0 +1,27 @@
+diff --git a/Makefile b/Makefile
+index 7b0b31e..d6e4dd7 100644
+--- a/Makefile
++++ b/Makefile
+@@ -47,8 +47,7 @@ SOFILE = libvdr-$(PLUGIN).so
+
+ ### Includes and Defines (add further entries here):
+
+-LDLIBS += $(shell pkg-config --libs libamcodec)
+-INCLUDES += $(shell pkg-config --cflags libamcodec)
++LDLIBS += -L/usr/lib/aml_lib -lamavutils -lamadec -lamcodec
+
+ DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+
+diff --git a/amldevice.c b/amldevice.c
+index 3662f9a..a29a52d 100644
+--- a/amldevice.c
++++ b/amldevice.c
+@@ -10,7 +10,7 @@ extern "C" {
+ #include <codec.h>
+ }
+
+-#include <vdr/libsi/si.h>
++#include <libsi/si.h>
+
+ #include "tools.h"
+ #include "amldevice.h"