2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= gst-plugins-ugly
21 COMPONENT_VERSION
= 0.10.19
23 COMPONENT_SUMMARY
= GNOME streaming media framework plugins
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
26 COMPONENT_ARCHIVE_HASH
= \
27 sha256
:4934f65ff892637e7efaf1cfe635779189dde429d0706f40c86a3aac476ea873
28 COMPONENT_ARCHIVE_URL
= \
29 http
://gstreamer.freedesktop.org
/src
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
30 COMPONENT_PROJECT_URL
= http
://gstreamer.freedesktop.org
/
31 COMPONENT_CLASSIFICATION
=System
/Multimedia Libraries
32 COMPONENT_FMRI
= library
/audio
/gstreamer
/plugin
/ugly
33 COMPONENT_LICENSE
= LGPLv2
34 COMPONENT_LICENSE_FILE
= COPYING
36 include $(WS_MAKE_RULES
)/encumbered.mk
37 include $(WS_MAKE_RULES
)/common.mk
39 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && aclocal
-I .
/m4
-I.
/common
/m4
&&\
41 automake
-a
-f
-c
--gnu
&&\
48 CFLAGS
+= -I
/usr
/X11
/include
50 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
51 CONFIGURE_OPTIONS
+= --libexecdir
=$(USRLIBDIR64
)
52 CONFIGURE_OPTIONS
+= --enable-external
53 CONFIGURE_OPTIONS
+= --with-default-audiosrc
=autoaudiosrc
54 CONFIGURE_OPTIONS
+= --with-default-audiosink
=autoaudiosink
55 CONFIGURE_OPTIONS
+= --with-default-videosink
=autovideosink
57 COMPONENT_INSTALL_ENV
+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
=1
59 # Auto-generated dependencies
60 REQUIRED_PACKAGES
+= audio
/lame
61 REQUIRED_PACKAGES
+= audio
/twolame
62 REQUIRED_PACKAGES
+= codec
/opencore-amr
63 REQUIRED_PACKAGES
+= library
/audio
/gstreamer
64 REQUIRED_PACKAGES
+= library
/audio
/gstreamer
/plugin
/base
65 REQUIRED_PACKAGES
+= library
/audio
/liba52
66 REQUIRED_PACKAGES
+= library
/audio
/libcdio
67 REQUIRED_PACKAGES
+= library
/audio
/libmad
68 REQUIRED_PACKAGES
+= library
/glib2
69 REQUIRED_PACKAGES
+= library
/video
/libdvdread
70 REQUIRED_PACKAGES
+= library
/video
/libmpeg2
71 REQUIRED_PACKAGES
+= library
/video
/x264
72 REQUIRED_PACKAGES
+= system
/library
73 REQUIRED_PACKAGES
+= system
/library
/orc