summaryrefslogtreecommitdiffstats
path: root/rules/gtk-engines.make
blob: d3a53c391d24f2ea2650f91ed6ec61ce727c64e0 (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
68
69
70
71
72
73
74
# -*-makefile-*-
#
# Copyright (C) 2003 by BSP
#           (C) 2010,2011 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_GTK_ENGINES) += gtk-engines

#
# Paths and names
#
GTK_ENGINES_VERSION	:= 2.91.1
GTK_ENGINES_MD5		:= 290d2fdb66743066dab92db694dd7b99
GTK_ENGINES		:= gtk-engines-$(GTK_ENGINES_VERSION)
GTK_ENGINES_SUFFIX	:= tar.bz2
GTK_ENGINES_URL		:= http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/2.91/$(GTK_ENGINES).$(GTK_ENGINES_SUFFIX)
GTK_ENGINES_SOURCE	:= $(SRCDIR)/$(GTK_ENGINES).$(GTK_ENGINES_SUFFIX)
GTK_ENGINES_DIR		:= $(BUILDDIR)/$(GTK_ENGINES)


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

#
# autoconf
#
GTK_ENGINES_AUTOCONF := \
	$(CROSS_AUTOCONF_USR) \
	--disable-schemas

GTK_ENGINES_ENGINES := \
	clearlooks \
	crux-engine \
	glide \
	hcengine \
	industrial \
	mist \
	redmond95 \
	thinice

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

$(STATEDIR)/gtk-engines.targetinstall:
	@$(call targetinfo)

	@$(call install_init, gtk-engines)
	@$(call install_fixup, gtk-engines,PRIORITY,optional)
	@$(call install_fixup, gtk-engines,SECTION,base)
	@$(call install_fixup, gtk-engines,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
	@$(call install_fixup, gtk-engines,DESCRIPTION,missing)

	@$(foreach engine,$(GTK_ENGINES_ENGINES), \
		$(call install_lib, gtk-engines, 0, 0, 0644, \
			gtk-3.0/3.0.0/engines/lib$(engine));)

	@$(call install_tree, gtk-engines, 0, 0, -, \
		/usr/share/themes)

	@$(call install_finish, gtk-engines)

	@$(call touch)

# vim: syntax=make