[SCM] pd-flext/master: pd-lib-builder based Makefile.flext

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Thu Nov 3 21:15:57 UTC 2016


The following commit has been merged in the master branch:
commit f0e2bd6c1ad6c0a00e74b43744d149a1609353d4
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Thu Nov 3 21:46:45 2016 +0100

    pd-lib-builder based Makefile.flext
    
    as a replacement for build.sh

diff --git a/debian/Makefile.flext b/debian/Makefile.flext
new file mode 100644
index 0000000..7777670
--- /dev/null
+++ b/debian/Makefile.flext
@@ -0,0 +1,28 @@
+## pd-lib-builder based Makefile for Flext externals
+#
+# instead of calling '.../flext/build.sh pd gcc'
+# just do 'make -f .../Makefile.flext'
+ifndef PKGINFO
+PKGINFO=package.txt
+endif
+ifneq ($(PKGINFO),)
+include $(PKGINFO)
+endif
+ifdef BUILDDIR
+-include $(BUILDDIR)/config-lnx.def
+-include $(BUILDDIR)/gnumake-lnx-gcc.inc
+endif
+
+lib.name = $(NAME)
+
+$(NAME).class.sources = $(addprefix $(SRCDIR)/, $(SRCS))
+
+cflags = $(INCPATH) $(DEFS) $(shell pkg-config --cflags pd-flext)
+ldflags = $(shell pkg-config --libs pd-flext)
+
+# This Makefile is based on the Makefile from pd-lib-builder written by
+# Katja Vetter. You can get it from:
+# https://github.com/pure-data/pd-lib-builder
+
+PDLIBBUILDER_DIR=/usr/share/pd-lib-builder/
+include $(firstword $(wildcard $(PDLIBBUILDER_DIR)/Makefile.pdlibbuilder Makefile.pdlibbuilder))
diff --git a/debian/pd-flext-dev.install b/debian/pd-flext-dev.install
index 7df81cd..9f4f4b3 100644
--- a/debian/pd-flext-dev.install
+++ b/debian/pd-flext-dev.install
@@ -1,3 +1,4 @@
 usr/include/*
 usr/lib/*/lib*.so
 usr/lib/*/pkgconfig/*
+debian/Makefile.flext	usr/share/pd-flext/dev/

-- 
pd-flext packaging



More information about the pkg-multimedia-commits mailing list