| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: plugins.mk,v 1.7 2008/08/06 18:07:06 drochner Exp $ | | 1 | # $NetBSD: plugins.mk,v 1.8 2008/11/03 17:30:15 wiz Exp $ |
2 | # | | 2 | # |
3 | # This file is shared across the gst-plugins-{base,good} packages to | | 3 | # This file is shared across the gst-plugins-{base,good} packages to |
4 | # simplify their code. It provides a framework to write simple packages | | 4 | # simplify their code. It provides a framework to write simple packages |
5 | # providing individual plugins; note that these packages must not include | | 5 | # providing individual plugins; note that these packages must not include |
6 | # this file, but use the correct Makefile.common instead. | | 6 | # this file, but use the correct Makefile.common instead. |
7 | # | | 7 | # |
8 | | | 8 | |
9 | DISTNAME= gst-plugins-${GST_PLUGINS0.10_TYPE}-${GST_PLUGINS0.10_VER} | | 9 | DISTNAME= gst-plugins-${GST_PLUGINS0.10_TYPE}-${GST_PLUGINS0.10_VER} |
10 | PKGNAME= ${DISTNAME:S/plugins/plugins0.10/} | | 10 | PKGNAME= ${DISTNAME:S/plugins/plugins0.10/} |
11 | CATEGORIES= multimedia gnome | | 11 | CATEGORIES= multimedia gnome |
12 | MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-plugins-${GST_PLUGINS0.10_TYPE}/ | | 12 | MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-plugins-${GST_PLUGINS0.10_TYPE}/ |
13 | EXTRACT_SUFX= .tar.bz2 | | 13 | EXTRACT_SUFX= .tar.bz2 |
14 | | | 14 | |
| @@ -49,37 +49,35 @@ CONFIGURE_ENV+= have_func=no | | | @@ -49,37 +49,35 @@ CONFIGURE_ENV+= have_func=no |
49 | # path from WRKSRC. | | 49 | # path from WRKSRC. |
50 | # GST_PLUGINS0.10_FLAGS - The name of the flag used to enable the plugin. | | 50 | # GST_PLUGINS0.10_FLAGS - The name of the flag used to enable the plugin. |
51 | # Defaults to GST_PLUGINS0.10_NAME. | | 51 | # Defaults to GST_PLUGINS0.10_NAME. |
52 | .if defined(GST_PLUGINS0.10_NAME) && !empty(GST_PLUGINS0.10_NAME) | | 52 | .if defined(GST_PLUGINS0.10_NAME) && !empty(GST_PLUGINS0.10_NAME) |
53 | PKGNAME:= ${PKGNAME:S/${GST_PLUGINS0.10_TYPE}/${GST_PLUGINS0.10_NAME}/} | | 53 | PKGNAME:= ${PKGNAME:S/${GST_PLUGINS0.10_TYPE}/${GST_PLUGINS0.10_NAME}/} |
54 | COMMENT+= ${GST_PLUGINS0.10_NAME} plugin | | 54 | COMMENT+= ${GST_PLUGINS0.10_NAME} plugin |
55 | | | 55 | |
56 | GST_PLUGINS0.10_FLAGS?= ${GST_PLUGINS0.10_NAME} | | 56 | GST_PLUGINS0.10_FLAGS?= ${GST_PLUGINS0.10_NAME} |
57 | GST_PLUGINS0.10_DIRS?= non-existent | | 57 | GST_PLUGINS0.10_DIRS?= non-existent |
58 | | | 58 | |
59 | .for _f_ in ${GST_PLUGINS0.10_FLAGS} | | 59 | .for _f_ in ${GST_PLUGINS0.10_FLAGS} |
60 | CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--disable-${_f_}/--enable-${_f_}/} | | 60 | CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--disable-${_f_}/--enable-${_f_}/} |
61 | .endfor | | 61 | .endfor |
62 | .undef _f_ | | | |
63 | | | 62 | |
64 | BUILD_DIRS= ${WRKSRC}/${GST_PLUGINS0.10_DIRS} | | 63 | BUILD_DIRS= ${GST_PLUGINS0.10_DIRS} |
65 | INSTALL_DIRS= ${WRKSRC}/${GST_PLUGINS0.10_DIRS} | | 64 | INSTALL_DIRS= ${GST_PLUGINS0.10_DIRS} |
66 | | | 65 | |
67 | # Fix paths to already installed libraries (by the gst-plugins package). | | 66 | # Fix paths to already installed libraries (by the gst-plugins package). |
68 | SUBST_CLASSES+= libs | | 67 | SUBST_CLASSES+= libs |
69 | SUBST_MESSAGE.libs= Fixing path to dependent libraries. | | 68 | SUBST_MESSAGE.libs= Fixing path to dependent libraries. |
70 | SUBST_STAGE.libs= pre-configure | | 69 | SUBST_STAGE.libs= pre-configure |
71 | SUBST_FILES.libs= | | 70 | SUBST_FILES.libs= |
72 | .for _d_ in ${GST_PLUGINS0.10_DIRS} | | 71 | .for _d_ in ${GST_PLUGINS0.10_DIRS} |
73 | SUBST_FILES.libs+= ${_d_}/Makefile.in | | 72 | SUBST_FILES.libs+= ${_d_}/Makefile.in |
74 | .endfor | | 73 | .endfor |
75 | .undef _d_ | | | |
76 | SUBST_SED.libs= -e 's|$$(top_builddir)/gst-libs/gst/.*/libgst|${BUILDLINK_PREFIX.gst-plugins0.10-${GST_PLUGINS0.10_TYPE}}/lib/libgst|g' | | 74 | SUBST_SED.libs= -e 's|$$(top_builddir)/gst-libs/gst/.*/libgst|${BUILDLINK_PREFIX.gst-plugins0.10-${GST_PLUGINS0.10_TYPE}}/lib/libgst|g' |
77 | | | 75 | |
78 | .include "../../multimedia/gst-plugins0.10-${GST_PLUGINS0.10_TYPE}/buildlink3.mk" | | 76 | .include "../../multimedia/gst-plugins0.10-${GST_PLUGINS0.10_TYPE}/buildlink3.mk" |
79 | .endif | | 77 | .endif |
80 | | | 78 | |
81 | .include "../../converters/libiconv/buildlink3.mk" | | 79 | .include "../../converters/libiconv/buildlink3.mk" |
82 | .include "../../devel/gettext-lib/buildlink3.mk" | | 80 | .include "../../devel/gettext-lib/buildlink3.mk" |
83 | .include "../../devel/glib2/buildlink3.mk" | | 81 | .include "../../devel/glib2/buildlink3.mk" |
84 | .include "../../devel/liboil/buildlink3.mk" | | 82 | .include "../../devel/liboil/buildlink3.mk" |
85 | .include "../../multimedia/gstreamer0.10/buildlink3.mk" | | 83 | .include "../../multimedia/gstreamer0.10/buildlink3.mk" |