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 2017 Alexander Pyhalov
14 # Copyright 2019 Michal Nowak
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= rhythmbox
20 COMPONENT_VERSION
= 3.4.4
22 COMPONENT_SUMMARY
= Rhythmbox Multimedia Player
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:ee0eb0d7d7bdf696ac9471b19ff3bea3240d63b6cb8a134bf632054af8665d90
27 COMPONENT_ARCHIVE_URL
= \
28 https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/3.4/$(COMPONENT_ARCHIVE
)
29 COMPONENT_PROJECT_URL
= http
://www.gnome.org
30 COMPONENT_FMRI
= gnome
/media
/rhythmbox
31 COMPONENT_CLASSIFICATION
= Applications
/Sound and Video
32 COMPONENT_LICENSE
= GPLv2
33 COMPONENT_LICENSE_FILE
= COPYING
35 TEST_TARGET
= $(NO_TESTS
)
36 include $(WS_MAKE_RULES
)/common.mk
40 CXXFLAGS
+= -DMOZ_DEFAULT_TOOLKIT
=\"cairo-gtk2
\"
41 CXXFLAGS
+= -std
=gnu
++0x
42 CFLAGS
+= -I
/usr
/include/check
44 COMPONENT_PREP_ACTION
= (cd
$(@D
) && PATH
="$(PATH)" NOCONFIGURE
=1 .
/autogen.sh
)
45 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
) )
47 CONFIGURE_OPTIONS
+= --sysconfdir
=$(ETCDIR
)
48 CONFIGURE_OPTIONS
+= --disable-browser-plugin
49 CONFIGURE_OPTIONS
+= --libexecdir
=$(CONFIGURE_LIBDIR.
$(BITS
))
50 CONFIGURE_OPTIONS
+= --localstatedir
=/var
/lib
51 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
53 COMPONENT_BUILD_ENV
+= CC
="$(CC)"
54 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
57 REQUIRED_PACKAGES
+= text
/itstool
59 # Auto-generated dependencies
60 REQUIRED_PACKAGES
+= desktop
/cd-burning
/brasero
61 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
62 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
/plugin
/base
63 REQUIRED_PACKAGES
+= library
/desktop
/atk
64 REQUIRED_PACKAGES
+= library
/desktop
/cairo
65 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
66 REQUIRED_PACKAGES
+= library
/desktop
/gobject
/gobject-introspection
67 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
68 REQUIRED_PACKAGES
+= library
/desktop
/json-glib
69 REQUIRED_PACKAGES
+= library
/desktop
/libpeas
70 REQUIRED_PACKAGES
+= library
/desktop
/pango
71 REQUIRED_PACKAGES
+= library
/glib2
72 REQUIRED_PACKAGES
+= library
/libmtp
73 REQUIRED_PACKAGES
+= library
/libnotify
74 REQUIRED_PACKAGES
+= library
/libsoup
75 REQUIRED_PACKAGES
+= library
/libxml2
76 REQUIRED_PACKAGES
+= library
/media-player
/totem-pl-parser
77 REQUIRED_PACKAGES
+= library
/tdb
78 REQUIRED_PACKAGES
+= service
/hal
79 REQUIRED_PACKAGES
+= system
/library
80 REQUIRED_PACKAGES
+= system
/library
/libdbus
81 REQUIRED_PACKAGES
+= system
/library
/libdbus-glib
82 REQUIRED_PACKAGES
+= system
/library
/math
83 REQUIRED_PACKAGES
+= x11
/library
/libx11