summaryrefslogtreecommitdiffstats
path: root/rules/gst-plugins-gl.make
blob: b46a79688aa2e5fea396a9c13d4cbf0b85afa1a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# -*-makefile-*-
#
# Copyright (C) 2010 by Erwin Rol <erwin@erwinrol.com>
#
# 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_PLUGINS_GL) += gst-plugins-gl

#
# Paths and names
#
GST_PLUGINS_GL_VERSION	:= 0.10.2
GST_PLUGINS_GL_MD5	:= 878fe4199be1c94f8aa2f7f23891cc95
GST_PLUGINS_GL		:= gst-plugins-gl-$(GST_PLUGINS_GL_VERSION)
GST_PLUGINS_GL_SUFFIX	:= tar.bz2
GST_PLUGINS_GL_URL	:= http://gstreamer.freedesktop.org/src/gst-plugins-gl/$(GST_PLUGINS_GL).$(GST_PLUGINS_GL_SUFFIX)
GST_PLUGINS_GL_SOURCE	:= $(SRCDIR)/$(GST_PLUGINS_GL).$(GST_PLUGINS_GL_SUFFIX)
GST_PLUGINS_GL_DIR	:= $(BUILDDIR)/$(GST_PLUGINS_GL)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#
# autoconf
#
GST_PLUGINS_GL_CONF_TOOL := autoconf
GST_PLUGINS_GL_CONF_OPT := \
	$(CROSS_AUTOCONF_USR) \
	$(GLOBAL_LARGE_FILE_OPTION) \
	--disable-rpath \
	--disable-nls \
	--disable-debug \
	--disable-profiling \
	--disable-valgrind \
	--disable-gcov \
	--disable-examples \
	--disable-gtk-doc

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/gst-plugins-gl.targetinstall:
	@$(call targetinfo)

	@$(call install_init, gst-plugins-gl)
	@$(call install_fixup, gst-plugins-gl,PRIORITY,optional)
	@$(call install_fixup, gst-plugins-gl,SECTION,base)
	@$(call install_fixup, gst-plugins-gl,AUTHOR,"Erwin Rol <erwin@erwinrol.com>")
	@$(call install_fixup, gst-plugins-gl,DESCRIPTION,missing)

	@$(call install_copy, gst-plugins-gl, 0, 0, 0644, -, /usr/lib/gstreamer-0.10/libgstopengl.so)
	@$(call install_lib, gst-plugins-gl, 0, 0, 0644, libgstgl-0.10)

	@$(call install_finish, gst-plugins-gl)

	@$(call touch)

# vim: syntax=make