Mercurial > minori
comparison Makefile.am @ 258:862d0d8619f6
*: HUUUGE changes
animia has been renamed to animone, so instead of thinking of a
health condition, you think of a beautiful flower :)
I've also edited some of the code for animone, but I have no idea
if it even works or not because I don't have a mac or windows
machine lying around. whoops!
... anyway, all of the changes divergent from Anisthesia are now
licensed under BSD. it's possible that I could even rewrite most
of the code to where I don't even have to keep the MIT license,
but that's thinking too far into the future
I've been slacking off on implementing the anime seasons page,
mostly out of laziness. I think I'd have to create another db file
specifically for the seasons
anyway, this code is being pushed *primarily* because the hard drive
it's on is failing! yay :)
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 01 Apr 2024 02:43:44 -0400 |
parents | fe702c8f161f |
children | dd211ff68b36 |
comparison
equal
deleted
inserted
replaced
257:699a20c57dc8 | 258:862d0d8619f6 |
---|---|
18 | 18 |
19 # Qt resources | 19 # Qt resources |
20 | 20 |
21 minori_qtrc = \ | 21 minori_qtrc = \ |
22 $(top_srcdir)/rc/icons/icons.qrc \ | 22 $(top_srcdir)/rc/icons/icons.qrc \ |
23 $(top_srcdir)/rc/player_data.qrc | 23 $(top_srcdir)/rc/animone.qrc |
24 | 24 |
25 # various things we want to distribute | 25 # various things we want to distribute |
26 | 26 |
27 minori_icons_png = \ | 27 minori_icons_png = \ |
28 $(top_srcdir)/rc/icons/16x16/arrow-circle-315.png \ | 28 $(top_srcdir)/rc/icons/16x16/arrow-circle-315.png \ |
53 $(top_srcdir)/rc/icons/24x24/megaphone.png \ | 53 $(top_srcdir)/rc/icons/24x24/megaphone.png \ |
54 $(top_srcdir)/rc/icons/24x24/question.png \ | 54 $(top_srcdir)/rc/icons/24x24/question.png \ |
55 $(top_srcdir)/rc/icons/favicon.png | 55 $(top_srcdir)/rc/icons/favicon.png |
56 | 56 |
57 minori_linux_rc = \ | 57 minori_linux_rc = \ |
58 $(top_srcdir)/rc/linux/Minori.desktop \ | 58 $(top_srcdir)/rc/sys/linux/Minori.desktop \ |
59 $(top_srcdir)/rc/linux/Minori.png | 59 $(top_srcdir)/rc/sys/linux/Minori.png |
60 | 60 |
61 minori_osx_rc = \ | 61 minori_osx_rc = \ |
62 $(top_srcdir)/rc/osx/Minori.app/Contents/Resources/Minori.icns \ | 62 $(top_srcdir)/rc/sys/osx/Minori.app/Contents/Resources/Minori.icns \ |
63 $(top_srcdir)/rc/osx/Minori.app/Contents/Info.plist \ | 63 $(top_srcdir)/rc/sys/osx/Minori.app/Contents/Info.plist \ |
64 $(top_srcdir)/rc/osx/Minori.app/Contents/PkgInfo | 64 $(top_srcdir)/rc/sys/osx/Minori.app/Contents/PkgInfo |
65 | 65 |
66 minori_win32_rc = \ | 66 minori_win32_rc = \ |
67 $(top_srcdir)/rc/win32/dark/dark.qrc \ | 67 $(top_srcdir)/rc/sys/win32/dark/dark.qrc \ |
68 $(top_srcdir)/rc/win32/dark/dark.qss \ | 68 $(top_srcdir)/rc/sys/win32/dark/dark.qss \ |
69 $(top_srcdir)/rc/win32/favicon.ico \ | 69 $(top_srcdir)/rc/sys/win32/favicon.ico \ |
70 $(top_srcdir)/rc/win32/resource.rc \ | 70 $(top_srcdir)/rc/sys/win32/resource.rc \ |
71 $(top_srcdir)/rc/win32/version.rc | 71 $(top_srcdir)/rc/sys/win32/version.rc |
72 | 72 |
73 minori_scripts = \ | 73 minori_scripts = \ |
74 $(top_srcdir)/scripts/osx/deploy_build.sh \ | 74 $(top_srcdir)/scripts/osx/deploy_build.sh \ |
75 $(top_srcdir)/scripts/win32/deploy_build.sh | 75 $(top_srcdir)/scripts/win32/deploy_build.sh |
76 | 76 |
106 wrcflags_version = -DWRC_VERSION=0,`echo $(PACKAGE_VERSION) | @SED@ 's/\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\.\([0-9]\{1,\}\).*/\1,\2,\3/'` | 106 wrcflags_version = -DWRC_VERSION=0,`echo $(PACKAGE_VERSION) | @SED@ 's/\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\.\([0-9]\{1,\}\).*/\1,\2,\3/'` |
107 | 107 |
108 WRCFLAGS = --use-temp-file -I. -I$(srcdir) $(wrcflags_version) $(CPPFLAGS) | 108 WRCFLAGS = --use-temp-file -I. -I$(srcdir) $(wrcflags_version) $(CPPFLAGS) |
109 .rc.$(OBJEXT): | 109 .rc.$(OBJEXT): |
110 $(WINDRES) $(WRCFLAGS) -i $< -o $@ | 110 $(WINDRES) $(WRCFLAGS) -i $< -o $@ |
111 files_windres=rc/win32/version.rc rc/win32/resource.rc | 111 files_windres=rc/sys/win32/version.rc rc/sys/win32/resource.rc |
112 | 112 |
113 endif # BUILD_WINDRES | 113 endif # BUILD_WINDRES |
114 | 114 |
115 endif # BUILD_WIN | 115 endif # BUILD_WIN |
116 | 116 |
145 include/gui/widgets/optional_date.h \ | 145 include/gui/widgets/optional_date.h \ |
146 include/gui/widgets/poster.h \ | 146 include/gui/widgets/poster.h \ |
147 include/gui/widgets/sidebar.h \ | 147 include/gui/widgets/sidebar.h \ |
148 include/gui/widgets/text.h \ | 148 include/gui/widgets/text.h \ |
149 include/gui/widgets/elided_label.h \ | 149 include/gui/widgets/elided_label.h \ |
150 include/gui/layouts/flow_layout.h \ | |
151 include/gui/locale.h \ | 150 include/gui/locale.h \ |
152 include/gui/theme.h \ | 151 include/gui/theme.h \ |
153 include/gui/window.h | 152 include/gui/window.h |
154 | 153 |
155 noinst_HEADERS = \ | 154 noinst_HEADERS = \ |
194 src/gui/dialog/settings/services.cc \ | 193 src/gui/dialog/settings/services.cc \ |
195 src/gui/dialog/settings/torrents.cc \ | 194 src/gui/dialog/settings/torrents.cc \ |
196 src/gui/dialog/about.cc \ | 195 src/gui/dialog/about.cc \ |
197 src/gui/dialog/information.cc \ | 196 src/gui/dialog/information.cc \ |
198 src/gui/dialog/settings.cc \ | 197 src/gui/dialog/settings.cc \ |
199 src/gui/layouts/flow_layout.cc \ | |
200 src/gui/pages/anime_list.cc \ | 198 src/gui/pages/anime_list.cc \ |
201 src/gui/pages/history.cc \ | 199 src/gui/pages/history.cc \ |
202 src/gui/pages/now_playing.cc \ | 200 src/gui/pages/now_playing.cc \ |
203 src/gui/pages/search.cc \ | 201 src/gui/pages/search.cc \ |
204 src/gui/pages/seasons.cc \ | 202 src/gui/pages/seasons.cc \ |
236 | 234 |
237 minori_moc_sources = $(minori_qtheaders:.h=_moc.cc) | 235 minori_moc_sources = $(minori_qtheaders:.h=_moc.cc) |
238 | 236 |
239 minori_includes = \ | 237 minori_includes = \ |
240 -I$(top_srcdir)/include \ | 238 -I$(top_srcdir)/include \ |
241 -I$(top_srcdir)/dep/animia/include \ | 239 -I$(top_srcdir)/dep/animone/include \ |
242 -I$(top_srcdir)/dep/pugixml/src \ | 240 -I$(top_srcdir)/dep/pugixml/src \ |
243 -I$(top_srcdir)/dep/anitomy \ | 241 -I$(top_srcdir)/dep/anitomy \ |
244 -I$(top_srcdir)/dep | 242 -I$(top_srcdir)/dep |
245 | 243 |
246 minori_CPPFLAGS = $(QT_CPPFLAGS) $(LIBCURL_CPPFLAGS) $(minori_includes) | 244 minori_CPPFLAGS = $(QT_CPPFLAGS) $(LIBCURL_CPPFLAGS) $(minori_includes) |
247 minori_CXXFLAGS = $(QT_CXXFLAGS) $(cflags_osx) $(cflags_glib) $(cflags_win) | 245 minori_CXXFLAGS = $(QT_CXXFLAGS) $(cflags_osx) $(cflags_glib) $(cflags_win) |
248 minori_LDFLAGS = $(QT_LDFLAGS) $(ldflags_osx) $(ldflags_win) | 246 minori_LDFLAGS = $(QT_LDFLAGS) $(ldflags_osx) $(ldflags_win) |
249 | 247 |
250 minori_DEPENDENCIES = dep/pugixml/libpugixml.la dep/animia/libanimia.la dep/anitomy/libanitomy.la | 248 minori_DEPENDENCIES = dep/pugixml/libpugixml.la dep/animone/libanimone.la dep/anitomy/libanitomy.la |
251 minori_LDADD = $(minori_DEPENDENCIES) $(libs_glib) $(LIBCURL) $(QT_LIBS) $(libs_osx) $(libs_win) | 249 minori_LDADD = $(minori_DEPENDENCIES) $(libs_glib) $(LIBCURL) $(QT_LIBS) $(libs_osx) $(libs_win) |
252 | 250 |
253 # Build only one qrc, otherwise we get a ton of | 251 # Build only one qrc, otherwise we get a ton of |
254 # weird linking errors | 252 # weird linking errors |
255 rc/final_qrc.cc: $(minori_qtrc) | 253 rc/final_qrc.cc: $(minori_qtrc) |
256 $(RCC) -o $@ $(minori_qtrc) | 254 $(QT_RCC) -o $@ $(minori_qtrc) |
257 | 255 |
258 .h_moc.cc: | 256 .h_moc.cc: |
259 $(MKDIR_P) -- $$(dirname $@) | 257 $(MKDIR_P) -- $$(dirname $@) |
260 $(MOC) -o $@ $(minori_includes) $< | 258 $(QT_MOC) -o $@ $(minori_includes) $< |
261 | 259 |
262 .ts.qm: | 260 .ts.qm: |
263 $(MKDIR_P) $$(dirname $@); \ | 261 $(MKDIR_P) $$(dirname $@); \ |
264 $(LRELEASE) $< -qm $@ | 262 $(QT_LRELEASE) $< -qm $@ |
265 | 263 |
266 SUFFIXES = .h _moc.cc .ts .qm | 264 SUFFIXES = .h _moc.cc .ts .qm |
267 SUBDIRS = $(subdirs) | 265 SUBDIRS = $(subdirs) |
268 ACLOCAL_AMFLAGS = -I m4 | 266 ACLOCAL_AMFLAGS = -I m4 |