2 # This file is part of live wallpaper
4 # Copyright (C) 2010 Vlad Vasiliev
5 # Copyright (C) 2010 Tanya Makova
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License along
18 # with this program; if not, write to the Free Software Foundation, Inc.,
19 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 berlinthemedir = $(datadir)/livewp/theme/Berlin
23 berlintheme_DATA = theme/Berlin/*
25 modernthemedir = $(datadir)/livewp/theme/Modern
26 moderntheme_DATA = theme/Modern/*
28 matrixthemedir = $(datadir)/livewp/theme/Matrix
29 matrixtheme_DATA = theme/Matrix/*
31 accelthemedir = $(datadir)/livewp/theme/Accel
32 acceltheme_DATA = theme/Accel/*
34 fifteenthemedir = $(datadir)/livewp/theme/Fifteen
35 fifteentheme_DATA = theme/Fifteen/*
37 crazythemedir = $(datadir)/livewp/theme/CrazyChickens
38 crazytheme_DATA = theme/CrazyChickens/*
40 #orrerythemedir = $(datadir)/livewp/theme/Orrery
41 #orrerytheme_DATA = theme/Orrery/*
43 videothemedir = $(datadir)/livewp/theme/Video
44 videotheme_DATA = theme/Video/*
46 xsnowthemedir = $(datadir)/livewp/theme/Xsnow
47 xsnowtheme_DATA = theme/Xsnow/*
49 colorfloodthemedir = $(datadir)/livewp/theme/Colorflood
50 colorfloodtheme_DATA = theme/Colorflood/*
52 conkythemedir = $(datadir)/livewp/theme/Conky
53 conkytheme_DATA = theme/Conky/*
55 externalthemedir = $(datadir)/livewp/external_themes
56 externaltheme_DATA = external_themes/*
58 dbus_servicedir = $(datadir)/dbus-1/services
59 dbus_service_DATA = org.maemo.livewp.service
62 desktoppaneldir = $(datadir)/applications/hildon-control-panel
63 desktoppanel_files = livewp.desktop
64 desktoppanel_DATA = $(desktoppanel_files)
68 icondir = $(datadir)/icons/hicolor
72 $(mkinstalldirs) $(DESTDIR)$(icondir)/26x26/hildon; \
73 $(mkinstalldirs) $(DESTDIR)$(icondir)/40x40/hildon; \
74 $(mkinstalldirs) $(DESTDIR)$(icondir)/scalable/hildon; \
75 $(INSTALL_DATA) $(srcdir)/icons/$$i.26.png $(DESTDIR)$(icondir)/26x26/hildon/$$i.png; \
76 $(INSTALL_DATA) $(srcdir)/icons/$$i.40.png $(DESTDIR)$(icondir)/40x40/hildon/$$i.png; \
77 $(INSTALL_DATA) $(srcdir)/icons/$$i.40.png $(DESTDIR)$(icondir)/scalable/hildon/$$i.png;
81 rm $(DESTDIR)$(icondir)/26x26/hildon/$$i.png; \
82 rm $(DESTDIR)$(icondir)/40x40/hildon/$$i.png; \
83 $(DESTDIR)$(icondir)/scalable/hildon/$$i.png;
86 EXTRA_DIST = $(berlintheme_DATA) \
90 $(fifteentheme_DATA) \
92 #$(orrerytheme_DATA) \
96 $(colorfloodtheme_DATA) \
97 $(externaltheme_DATA) \
101 livewp.desktop: livewp.desktop.in
102 sed "s/__VERSION__/$(VERSION)/g" $< >$@.tmp && \
103 sed "s/__PACKAGE__/$(PACKAGE)/g" $@.tmp >$@ && \