annotate Makefile.am @ 268:382b50754fe4

dep/animone: make osx code a bit less hacky it would be nice if macos actually provided a real API for getting window titles (outside of the accessibility api). the accessibility API is a real mess to work with; the user has to give permission to access it under newer versions.
author Paper <paper@paper.us.eu.org>
date Fri, 12 Apr 2024 05:21:45 -0400
parents 9a04802848c0
children 09c5bd74fe93
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
1 bin_PROGRAMS = minori
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
2
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
3 # Localization
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
4
241
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
5 minori_locale_ts = \
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
6 rc/locale/en_GB.ts \
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
7 rc/locale/es.ts
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
8
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
9 minori_locale_qm = $(minori_locale_ts:.ts=.qm)
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
10
250
c130f47f6f48 *: many many changes
Paper <paper@paper.us.eu.org>
parents: 249
diff changeset
11 rc/locale/translations.qrc: $(minori_locale_qm)
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
12 $(MKDIR_P) $$(dirname $@); \
241
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
13 printf "<!DOCTYPE rcc><RCC version=\"1.0\">\n\t<qresource prefix=\"locale/\">\n" > $@; \
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
14 for q in $(minori_locale_qm); do \
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
15 printf "\t\t<file>%s</file>\n" "$$(basename $$q)" >> $@; \
250
c130f47f6f48 *: many many changes
Paper <paper@paper.us.eu.org>
parents: 249
diff changeset
16 done;
241
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
17 printf "\t</qresource>\n</RCC>\n" >> $@;
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
18
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
19 # Qt resources
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
20
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
21 minori_qtrc = \
241
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
22 $(top_srcdir)/rc/icons/icons.qrc \
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
23 $(top_srcdir)/rc/animone.qrc
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
24
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
25 # various things we want to distribute
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
26
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
27 minori_icons_png = \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
28 $(top_srcdir)/rc/icons/16x16/arrow-circle-315.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
29 $(top_srcdir)/rc/icons/16x16/calendar.png \
255
fe702c8f161f *: whatever
Paper <paper@paper.us.eu.org>
parents: 254
diff changeset
30 $(top_srcdir)/rc/icons/16x16/calendar-previous.png \
fe702c8f161f *: whatever
Paper <paper@paper.us.eu.org>
parents: 254
diff changeset
31 $(top_srcdir)/rc/icons/16x16/calendar-next.png \
fe702c8f161f *: whatever
Paper <paper@paper.us.eu.org>
parents: 254
diff changeset
32 $(top_srcdir)/rc/icons/16x16/category.png \
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
33 $(top_srcdir)/rc/icons/16x16/chart.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
34 $(top_srcdir)/rc/icons/16x16/clock-history-frame.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
35 $(top_srcdir)/rc/icons/16x16/cross-button.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
36 $(top_srcdir)/rc/icons/16x16/document-list.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
37 $(top_srcdir)/rc/icons/16x16/feed.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
38 $(top_srcdir)/rc/icons/16x16/film.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
39 $(top_srcdir)/rc/icons/16x16/gear.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
40 $(top_srcdir)/rc/icons/16x16/magnifier.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
41 $(top_srcdir)/rc/icons/16x16/navigation-270-button.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
42 $(top_srcdir)/rc/icons/16x16/plus-button.png \
255
fe702c8f161f *: whatever
Paper <paper@paper.us.eu.org>
parents: 254
diff changeset
43 $(top_srcdir)/rc/icons/16x16/sort-quantity-descending.png \
fe702c8f161f *: whatever
Paper <paper@paper.us.eu.org>
parents: 254
diff changeset
44 $(top_srcdir)/rc/icons/16x16/ui-scroll-pane-detail.png \
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
45 $(top_srcdir)/rc/icons/24x24/application-export.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
46 $(top_srcdir)/rc/icons/24x24/application-sidebar-list.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
47 $(top_srcdir)/rc/icons/24x24/arrow-circle-double-135.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
48 $(top_srcdir)/rc/icons/24x24/feed.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
49 $(top_srcdir)/rc/icons/24x24/folder-open.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
50 $(top_srcdir)/rc/icons/24x24/gear.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
51 $(top_srcdir)/rc/icons/24x24/globe.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
52 $(top_srcdir)/rc/icons/24x24/inbox-film.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
53 $(top_srcdir)/rc/icons/24x24/megaphone.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
54 $(top_srcdir)/rc/icons/24x24/question.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
55 $(top_srcdir)/rc/icons/favicon.png
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
56
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
57 minori_linux_rc = \
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
58 $(top_srcdir)/rc/sys/linux/Minori.desktop \
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
59 $(top_srcdir)/rc/sys/linux/Minori.png
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
60
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
61 minori_osx_rc = \
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
62 $(top_srcdir)/rc/sys/osx/Minori.app/Contents/Resources/Minori.icns \
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
63 $(top_srcdir)/rc/sys/osx/Minori.app/Contents/Info.plist \
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
64 $(top_srcdir)/rc/sys/osx/Minori.app/Contents/PkgInfo
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
65
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
66 minori_win32_rc = \
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
67 $(top_srcdir)/rc/sys/win32/dark/dark.qrc \
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
68 $(top_srcdir)/rc/sys/win32/dark/dark.qss \
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
69 $(top_srcdir)/rc/sys/win32/favicon.ico \
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
70 $(top_srcdir)/rc/sys/win32/resource.rc \
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
71 $(top_srcdir)/rc/sys/win32/version.rc
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
72
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
73 minori_scripts = \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
74 $(top_srcdir)/scripts/osx/deploy_build.sh \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
75 $(top_srcdir)/scripts/win32/deploy_build.sh
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
76
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
77 EXTRA_DIST = \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
78 $(minori_icons_png) \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
79 $(top_srcdir)/rc/icons/README.md \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
80 $(minori_linux_rc) \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
81 $(minori_osx_rc) \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
82 $(minori_win32_rc) \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
83 $(minori_scripts)
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
84
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
85 # OS-specific
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
86
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
87 if BUILD_GLIB
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
88
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
89 files_glib = src/sys/glib/dark_theme.cc
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
90 cflags_glib = $(GLIB_CFLAGS)
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
91 libs_glib = $(GLIB_LIBS)
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
92
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
93 endif
241
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
94
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
95 if BUILD_WIN
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
96
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
97 files_win = src/sys/win32/dark_theme.cc
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
98 libs_win = -lole32 -luuid
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
99 ldflags_win = -mwindows
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
100
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
101 # Add dark stylesheet to resources
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
102 qtrc_win = $(top_srcdir)/rc/win32/dark/dark.qrc
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
103
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
104 if BUILD_WINDRES
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
105
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
106 wrcflags_version = -DWRC_VERSION=0,`echo $(PACKAGE_VERSION) | @SED@ 's/\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\.\([0-9]\{1,\}\).*/\1,\2,\3/'`
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
107
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
108 WRCFLAGS = --use-temp-file -I. -I$(srcdir) $(wrcflags_version) $(CPPFLAGS)
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
109 .rc.$(OBJEXT):
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
110 $(WINDRES) $(WRCFLAGS) -i $< -o $@
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
111 files_windres=rc/sys/win32/version.rc rc/sys/win32/resource.rc
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
112
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
113 endif # BUILD_WINDRES
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
114
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
115 endif # BUILD_WIN
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
116
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
117 if BUILD_OSX
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
118
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
119 files_osx = src/sys/osx/dark_theme.cc src/sys/osx/permissions.cc
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
120 cflags_osx = -mmacosx-version-min=10.15
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
121 libs_osx = -lobjc
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
122 ldflags_osx = -framework Foundation -framework AppKit
241
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
123
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
124 endif
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
125
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
126 minori_qtheaders = \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
127 include/core/http.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
128 include/gui/dialog/about.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
129 include/gui/dialog/information.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
130 include/gui/dialog/settings.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
131 include/gui/pages/anime_list.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
132 include/gui/pages/history.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
133 include/gui/pages/now_playing.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
134 include/gui/pages/search.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
135 include/gui/pages/seasons.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
136 include/gui/pages/statistics.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
137 include/gui/pages/torrents.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
138 include/gui/translate/anilist.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
139 include/gui/translate/anime.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
140 include/gui/translate/config.h \
253
b3549da699a6 *: ooooh! stupid big commit!
Paper <paper@paper.us.eu.org>
parents: 252
diff changeset
141 include/gui/widgets/anime_button.h \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
142 include/gui/widgets/anime_info.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
143 include/gui/widgets/clickable_label.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
144 include/gui/widgets/graph.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
145 include/gui/widgets/optional_date.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
146 include/gui/widgets/poster.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
147 include/gui/widgets/sidebar.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
148 include/gui/widgets/text.h \
253
b3549da699a6 *: ooooh! stupid big commit!
Paper <paper@paper.us.eu.org>
parents: 252
diff changeset
149 include/gui/widgets/elided_label.h \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
150 include/gui/locale.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
151 include/gui/theme.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
152 include/gui/window.h
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
153
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
154 noinst_HEADERS = \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
155 include/core/anime_db.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
156 include/core/anime.h \
260
dd211ff68b36 pages/seasons: add initial functionality
Paper <paper@paper.us.eu.org>
parents: 258
diff changeset
157 include/core/anime_season_db.h \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
158 include/core/config.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
159 include/core/date.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
160 include/core/filesystem.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
161 include/core/ini.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
162 include/core/json.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
163 include/core/session.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
164 include/core/strings.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
165 include/core/time.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
166 include/core/torrent.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
167 include/library/library.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
168 include/services/anilist.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
169 include/services/services.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
170 include/sys/glib/dark_theme.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
171 include/sys/osx/dark_theme.h \
262
8e282d0dc282 automake: update osx header files
Paper <paper@paper.us.eu.org>
parents: 260
diff changeset
172 include/sys/osx/permissions.h \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
173 include/sys/win32/dark_theme.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
174 include/track/media.h \
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
175 dep/json/json.hpp \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
176 dep/json/json_fwd.hpp \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
177 dep/mini/ini.h \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
178 dep/semver/semver.hpp \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
179 $(minori_qtheaders)
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
180
264
9a04802848c0 *: improve multiple things
Paper <paper@paper.us.eu.org>
parents: 262
diff changeset
181 minori_utf8proc_sources = \
9a04802848c0 *: improve multiple things
Paper <paper@paper.us.eu.org>
parents: 262
diff changeset
182 dep/utf8proc/utf8proc.c
9a04802848c0 *: improve multiple things
Paper <paper@paper.us.eu.org>
parents: 262
diff changeset
183
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
184 minori_SOURCES = \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
185 src/core/anime_db.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
186 src/core/anime.cc \
260
dd211ff68b36 pages/seasons: add initial functionality
Paper <paper@paper.us.eu.org>
parents: 258
diff changeset
187 src/core/anime_season_db.cc \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
188 src/core/config.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
189 src/core/date.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
190 src/core/filesystem.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
191 src/core/http.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
192 src/core/json.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
193 src/core/strings.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
194 src/core/time.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
195 src/gui/dialog/settings/application.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
196 src/gui/dialog/settings/library.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
197 src/gui/dialog/settings/recognition.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
198 src/gui/dialog/settings/services.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
199 src/gui/dialog/settings/torrents.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
200 src/gui/dialog/about.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
201 src/gui/dialog/information.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
202 src/gui/dialog/settings.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
203 src/gui/pages/anime_list.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
204 src/gui/pages/history.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
205 src/gui/pages/now_playing.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
206 src/gui/pages/search.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
207 src/gui/pages/seasons.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
208 src/gui/pages/statistics.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
209 src/gui/pages/torrents.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
210 src/gui/translate/anilist.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
211 src/gui/translate/anime.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
212 src/gui/translate/config.cc \
253
b3549da699a6 *: ooooh! stupid big commit!
Paper <paper@paper.us.eu.org>
parents: 252
diff changeset
213 src/gui/widgets/anime_button.cc \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
214 src/gui/widgets/anime_info.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
215 src/gui/widgets/clickable_label.cc \
253
b3549da699a6 *: ooooh! stupid big commit!
Paper <paper@paper.us.eu.org>
parents: 252
diff changeset
216 src/gui/widgets/elided_label.cc \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
217 src/gui/widgets/optional_date.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
218 src/gui/widgets/poster.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
219 src/gui/widgets/sidebar.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
220 src/gui/widgets/text.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
221 src/gui/locale.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
222 src/gui/theme.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
223 src/gui/window.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
224 src/library/library.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
225 src/services/anilist.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
226 src/services/services.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
227 src/track/media.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
228 src/main.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
229 $(files_osx) \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
230 $(files_glib) \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
231 $(files_win) \
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
232 $(files_windres) \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
233 $(minori_locale_ts) \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
234 $(minori_qtrc) \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
235 $(minori_locale_qm) \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
236 $(minori_moc_sources) \
264
9a04802848c0 *: improve multiple things
Paper <paper@paper.us.eu.org>
parents: 262
diff changeset
237 $(minori_utf8proc_sources) \
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
238 rc/locale/translations.qrc \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
239 rc/final_qrc.cc
250
c130f47f6f48 *: many many changes
Paper <paper@paper.us.eu.org>
parents: 249
diff changeset
240
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
241 minori_moc_sources = $(minori_qtheaders:.h=_moc.cc)
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
242
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
243 minori_includes = \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
244 -I$(top_srcdir)/include \
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
245 -I$(top_srcdir)/dep/animone/include \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
246 -I$(top_srcdir)/dep/pugixml/src \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
247 -I$(top_srcdir)/dep/anitomy \
264
9a04802848c0 *: improve multiple things
Paper <paper@paper.us.eu.org>
parents: 262
diff changeset
248 -I$(top_srcdir)/dep/utf8proc \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
249 -I$(top_srcdir)/dep
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
250
250
c130f47f6f48 *: many many changes
Paper <paper@paper.us.eu.org>
parents: 249
diff changeset
251 minori_CPPFLAGS = $(QT_CPPFLAGS) $(LIBCURL_CPPFLAGS) $(minori_includes)
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
252 minori_CXXFLAGS = $(QT_CXXFLAGS) $(cflags_osx) $(cflags_glib) $(cflags_win)
250
c130f47f6f48 *: many many changes
Paper <paper@paper.us.eu.org>
parents: 249
diff changeset
253 minori_LDFLAGS = $(QT_LDFLAGS) $(ldflags_osx) $(ldflags_win)
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
254
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
255 minori_DEPENDENCIES = dep/pugixml/libpugixml.la dep/animone/libanimone.la dep/anitomy/libanitomy.la
254
d14f8e0e40c3 [UNFINISHED] *: update anime button
Paper <paper@paper.us.eu.org>
parents: 253
diff changeset
256 minori_LDADD = $(minori_DEPENDENCIES) $(libs_glib) $(LIBCURL) $(QT_LIBS) $(libs_osx) $(libs_win)
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
257
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
258 # Build only one qrc, otherwise we get a ton of
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
259 # weird linking errors
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
260 rc/final_qrc.cc: $(minori_qtrc)
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
261 $(QT_RCC) -o $@ $(minori_qtrc)
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
262
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
263 .h_moc.cc:
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
264 $(MKDIR_P) -- $$(dirname $@)
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
265 $(QT_MOC) -o $@ $(minori_includes) $<
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
266
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
267 .ts.qm:
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
268 $(MKDIR_P) $$(dirname $@); \
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
269 $(QT_LRELEASE) $< -qm $@
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
270
241
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
271 SUFFIXES = .h _moc.cc .ts .qm
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
272 SUBDIRS = $(subdirs)
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
273 ACLOCAL_AMFLAGS = -I m4