perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / multimedia / totem / Makefile
blob23824567dd72d05c2bbf4423d3f78d932e59744b
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
5 # 1.0 of the CDDL.
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 2020 Alexander Pyhalov
16 BUILD_BITS=64
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= totem
21 # Later versions require clutter-gtk-1.0
22 COMPONENT_VERSION= 3.0.1
23 COMPONENT_REVISION= 7
24 COMPONENT_COMMIT= bfc537c4cdcd51e747611a37fc3583d26e4d634f
25 COMPONENT_SUMMARY= Totem Multimedia Player
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_COMMIT)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
28 COMPONENT_ARCHIVE_HASH= sha256:e97fc66d925ff4bfcc6422486fc58c86fbdbccf2a56ec2e031e916104160a0fc
29 COMPONENT_ARCHIVE_URL= https://github.com/OpenIndiana/totem/archive/$(COMPONENT_COMMIT).tar.gz
30 COMPONENT_PROJECT_URL= https://www.gnome.org
31 COMPONENT_FMRI = gnome/media/totem
32 COMPONENT_CLASSIFICATION = Applications/Sound and Video
33 COMPONENT_LICENSE = GPLv2 with plugins exception
34 COMPONENT_LICENSE_FILE = COPYING
36 TEST_TARGET= $(NO_TESTS)
37 include $(WS_MAKE_RULES)/common.mk
39 PATH= $(PATH.gnu)
41 COMPONENT_PREP_ACTION = (cd $(@D) &&\
42 intltoolize &&\
43 gtkdocize &&\
44 gnome-doc-prepare &&\
45 autoreconf -fi)
47 COMPONENT_PRE_CONFIGURE_ACTION= ($(CLONEY) $(SOURCE_DIR) $(@D))
49 CONFIGURE_OPTIONS+= --sysconfdir=/etc
50 CONFIGURE_OPTIONS+= --localstatedir=/var/lib
51 CONFIGURE_OPTIONS+= --libexecdir=/usr/lib
52 CONFIGURE_OPTIONS+= --disable-browser-plugins
53 CONFIGURE_OPTIONS+= --disable-nautilus
54 CONFIGURE_OPTIONS+= --disable-static
55 CONFIGURE_OPTIONS+= --with-pic
57 CONFIGURE_OPTIONS+= --with-plugins='\
58 brasero-disc-recorder \
59 chapters \
60 dbusservice \
61 gromit \
62 im-status \
63 media-player-keys \
64 ontop \
65 opensubtitles \
66 properties \
67 pythonconsole \
68 samplepython \
69 sample-vala \
70 screensaver \
71 screenshot \
72 sidebar-test \
73 skipto \
74 thumbnail'
76 CONFIGURE_ENV += PYTHON=$(PYTHON)
78 # gobject-introspection
79 COMPONENT_BUILD_ENV += CC="$(CC)"
80 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
82 # Manually added dependencies
83 REQUIRED_PACKAGES += developer/gnome/gnome-doc-utils
84 REQUIRED_PACKAGES += text/rarian
86 # Auto-generated dependencies
87 REQUIRED_PACKAGES += library/audio/gstreamer
88 REQUIRED_PACKAGES += library/audio/gstreamer/plugin/base
89 REQUIRED_PACKAGES += library/desktop/atk
90 REQUIRED_PACKAGES += library/desktop/cairo
91 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
92 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
93 REQUIRED_PACKAGES += library/desktop/gtk3
94 REQUIRED_PACKAGES += library/desktop/libpeas
95 REQUIRED_PACKAGES += library/desktop/pango
96 REQUIRED_PACKAGES += library/glib2
97 REQUIRED_PACKAGES += library/libxml2
98 REQUIRED_PACKAGES += library/media-player/totem-pl-parser
99 REQUIRED_PACKAGES += system/library
100 REQUIRED_PACKAGES += system/library/libdbus-glib
101 REQUIRED_PACKAGES += system/library/math
102 REQUIRED_PACKAGES += x11/library/libice
103 REQUIRED_PACKAGES += x11/library/libsm
104 REQUIRED_PACKAGES += x11/library/libx11
105 REQUIRED_PACKAGES += x11/library/libxrandr
106 REQUIRED_PACKAGES += x11/library/libxtst
107 REQUIRED_PACKAGES += x11/library/libxxf86vm