[csw-devel] SF.net SVN: gar:[18838] csw/mgar/pkg/lang-python/xpra/trunk/Makefile

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Tue Jul 24 11:55:01 CEST 2012


Revision: 18838
          http://gar.svn.sourceforge.net/gar/?rev=18838&view=rev
Author:   cgrzemba
Date:     2012-07-24 09:55:00 +0000 (Tue, 24 Jul 2012)
Log Message:
-----------
lang-python/xpra/trunk: refine build target

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/xpra/trunk/Makefile

Modified: csw/mgar/pkg/lang-python/xpra/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/xpra/trunk/Makefile	2012-07-24 08:29:23 UTC (rev 18837)
+++ csw/mgar/pkg/lang-python/xpra/trunk/Makefile	2012-07-24 09:55:00 UTC (rev 18838)
@@ -29,14 +29,31 @@
 ARCHALL = 1
 BUILD_DEP_PKGS += CSWpy-gobject-dev CSWlibgtk2-dev CSWlibxtstdevel
 BUILD_DEP_PKGS += CSWlibxfixesdevel CSWlibxcompositedev CSWlibxdamagedevel CSWlibxrandrdevel
+BUILD_DEP_PKGS += CSWx11recordproto CSWlibxextdevel CSWx11fixesproto CSWx11compositeproto
+BUILD_DEP_PKGS += CSWx11damageproto CSWx11randrproto CSWcython CSWpython-dev
+BUILD_DEP_PKGS += CSWlibx264-dev CSWffmpeg-dev
 
+EXTRA_MERGE_EXCLUDE_FILES = .*\.pyo .*\.pyc
+
 CONFIGURE_SCRIPTS =
-BUILD_SCRIPTS = $(WORKSRC)/setup.py
+BUILD_SCRIPTS = python
 TEST_SCRIPTS =
 INSTALL_SCRIPTS = $(WORKSRC)/setup.py
 
+BUILD_ENV += PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig:/opt/csw/X11/lib/pkgconfig
+PYBUILD_CMD = build
+BUILD_ARGS += --without-vpx
+
+INSTALL_ENV += $(BUILD_ENV)
 INSTALL_ARGS += --root=$(DESTDIR)
 INSTALL_ARGS += --prefix=$(prefix)
+INSTALL_ARGS += $(BUILD_ARGS)
 
+build-python:
+	(cd $(WORKSRC); \
+	python make_constants_pxi.py wimpiggy/lowlevel/constants.txt wimpiggy/lowlevel/constants.pxi; \
+	$(BUILD_ENV) python setup.py $(PYBUILD_CMD) $(BUILD_ARGS))
+	$(MAKECOOKIE)
+
 include gar/category.mk
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list