2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-python/
16 PKG_MD5SUM:=2c633a06c140024dd0d59db1e87e6945
18 include $(INCLUDE_DIR)/package.mk
20 EXTRA_CFLAGS+= -I$(STAGING_DIR)/usr/lib/libintl/include/ -I$(STAGING_DIR)/usr/lib/libiconv/include/
21 EXTRA_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib/libintl/lib/ -L$(STAGING_DIR)/usr/lib/libiconv/lib/
23 define Package/gst-python
27 TITLE:=python bindings for dbus
28 URL:=http://gstreamer.freedesktop.org/
29 DEPENDS:=+gstreamer +gst-plugins-base +python-gtk @BROKEN
32 define Package/gst-python/description
33 python bindings for dbus
36 define Build/Configure
37 (cd $(PKG_BUILD_DIR); \
38 if [ -x $(CONFIGURE_CMD) ]; then \
39 $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
41 PYTHON=/usr/bin/python \
49 cd $(PKG_BUILD_DIR) ; DESTDIR=$(PKG_INSTALL_DIR) $(MAKE) all install
52 define Build/InstallDev
54 cp -r $(PKG_INSTALL_DIR)/* $(1)
57 define Package/gst-python/install
59 cp -r $(PKG_INSTALL_DIR)/* $(1)
62 $(eval $(call BuildPackage,gst-python))