summaryrefslogtreecommitdiffstats
path: root/audio/bmp-faad/files/patch-xmms-Makefile.am
blob: 92acd1965bc8b017d33c45adcc63788e609fa073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- plugins/xmms/src/Makefile.am.orig	Fri Feb  6 11:05:07 2004
+++ plugins/xmms/src/Makefile.am	Thu Nov 11 18:56:18 2004
@@ -1,13 +1,10 @@
-libdir = `$(XMMS_CONFIG) --input-plugin-dir`
+libdir = `pkg-config --variable=input_plugin_dir bmp`
 lib_LTLIBRARIES = libmp4.la
 
-libmp4_la_CFLAGS = `$(XMMS_CONFIG) --cflags` -Wall \
-       `$(GTK_CONFIG) --cflags` -DHAVE_GLIB_H=1 \
+libmp4_la_CFLAGS = `pkg-config gtk+-2.0 --cflags` -Wall \
+       `pkg-config bmp --cflags` \
        -I$(top_srcdir)/include -I$(top_srcdir)/common/mp4v2
 
-libmp4_la_LIBADD = $(top_builddir)/libfaad/libfaad.la \
-       $(top_builddir)/common/mp4v2/libmp4v2.la
-
-libmp4_la_LDFLAGS = -module -avoid-version `$(XMMS_CONFIG) --libs` \
-       `$(GTK_CONFIG) --libs` -lpthread -lstdc++
+libmp4_la_LDFLAGS = -module -avoid-version `pkg-config bmp --libs` \
+       `pkg-config gtk+-2.0 --libs` -lstdc++ -lfaad -lmp4v2
 libmp4_la_SOURCES = libmp4.c mp4_utils.c aac_utils.c
OpenPOWER on IntegriCloud