diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-12-04 10:27:24 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-12-04 10:27:24 +0100 |
commit | f4b0c95250ac7b8e953bef4e4eb8b9dfee6d1000 (patch) | |
tree | b0709c13493c2a8ab4911dc364568419157cf8df /rules/gst-validate1.make | |
parent | 8bcbe3d38eadb46697787e1e4f17dad0e5d9d47d (diff) | |
download | ptxdist-f4b0c95250ac7b8e953bef4e4eb8b9dfee6d1000.tar.gz ptxdist-f4b0c95250ac7b8e953bef4e4eb8b9dfee6d1000.tar.xz |
gst-validate1: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gst-validate1.make')
-rw-r--r-- | rules/gst-validate1.make | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/rules/gst-validate1.make b/rules/gst-validate1.make new file mode 100644 index 000000000..62e520987 --- /dev/null +++ b/rules/gst-validate1.make @@ -0,0 +1,98 @@ +# -*-makefile-*- +# +# Copyright (C) 2014 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_GST_VALIDATE1) += gst-validate1 + +# +# Paths and names +# +GST_VALIDATE1_VERSION := 1.4.0 +GST_VALIDATE1_MD5 := f85b335f39a29c1ebee231bd17767b4e +GST_VALIDATE1 := gst-validate-$(GST_VALIDATE1_VERSION) +GST_VALIDATE1_SUFFIX := tar.xz +GST_VALIDATE1_URL := http://gstreamer.freedesktop.org/data/src/gst-validate/$(GST_VALIDATE1).$(GST_VALIDATE1_SUFFIX) +GST_VALIDATE1_SOURCE := $(SRCDIR)/$(GST_VALIDATE1).$(GST_VALIDATE1_SUFFIX) +GST_VALIDATE1_DIR := $(BUILDDIR)/$(GST_VALIDATE1) +GST_VALIDATE1_LICENSE := LGPLv2.1+ + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +GST_VALIDATE1_CONF_ENV := \ + $(CROSS_ENV) \ + ac_cv_prog_enable_sphinx_doc=no \ + ac_cv_path_PYTHON=/usr/bin/python + +# +# autoconf +# +GST_VALIDATE1_CONF_TOOL := autoconf +GST_VALIDATE1_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --disable-nls \ + --disable-rpath \ + --disable-debug \ + --disable-valgrind \ + --disable-gcov \ + --disable-introspection \ + --disable-docbook \ + --disable-gtk-doc \ + --disable-gtk-doc-html \ + --disable-gtk-doc-pdf \ + --disable-gobject-cast-checks \ + --disable-glib-asserts + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/gst-validate1.targetinstall: + @$(call targetinfo) + + @$(call install_init, gst-validate1) + @$(call install_fixup, gst-validate1,PRIORITY,optional) + @$(call install_fixup, gst-validate1,SECTION,base) + @$(call install_fixup, gst-validate1,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>") + @$(call install_fixup, gst-validate1,DESCRIPTION,missing) + + @$(call install_lib, gst-validate1, 0, 0, 0644, libgstvalidate-1.0) + @$(call install_lib, gst-validate1, 0, 0, 0644, \ + libgstvalidate-default-overrides-1.0) + + @$(call install_copy, gst-validate1, 0, 0, 0755, -, \ + /usr/bin/gst-validate-1.0) + @$(call install_copy, gst-validate1, 0, 0, 0755, -, \ + /usr/bin/gst-validate-media-check-1.0) + @$(call install_copy, gst-validate1, 0, 0, 0755, -, \ + /usr/bin/gst-validate-transcoding-1.0) + + @$(call install_tree, gst-validate1, 0, 0, -, \ + /usr/share/gstreamer-1.0/validate-scenario) + +ifdef PTXCONF_GST_VALIDATE1_LAUNCHER + @$(call install_copy, gst-validate1, 0, 0, 0755, -, \ + /usr/bin/gst-validate-launcher) + + @cd $(GST_VALIDATE1_PKGDIR)/usr/lib/gst-validate-launcher/python && \ + for file in `find launcher/ -name "*.pyc"`; do \ + $(call install_copy, gst-validate1, 0, 0, 0644, -, \ + /usr/lib/gst-validate-launcher/python/$${file}); \ + done +endif + + @$(call install_finish, gst-validate1) + + @$(call touch) + +# vim: syntax=make |