2020-09-15 14:53:13 +00:00
|
|
|
# NOTICE:
|
|
|
|
#
|
|
|
|
# Application name defined in TARGET has a corresponding QML filename.
|
|
|
|
# If name defined in TARGET is changed, the following needs to be done
|
|
|
|
# to match new name:
|
|
|
|
# - corresponding QML filename must be changed
|
|
|
|
# - desktop icon filename must be changed
|
|
|
|
# - desktop filename must be changed
|
|
|
|
# - icon definition filename in desktop file must be changed
|
|
|
|
# - translation filenames have to be changed
|
|
|
|
|
|
|
|
# The name of your application
|
|
|
|
TARGET = harbour-sailfin
|
|
|
|
|
2020-09-25 12:46:39 +00:00
|
|
|
QT += multimedia
|
2020-09-15 14:53:13 +00:00
|
|
|
|
|
|
|
CONFIG += sailfishapp c++11
|
|
|
|
|
2020-09-26 02:13:21 +00:00
|
|
|
# Help, something keeps eating my quotes and backslashes
|
2020-09-27 20:41:35 +00:00
|
|
|
|
|
|
|
!defined(SAILFIN_VERSION, var) {
|
|
|
|
SAILFIN_VERSION = "(UNKNOWN VERSION)"
|
|
|
|
}
|
|
|
|
|
|
|
|
DEFINES += "SAILFIN_VERSION=\"\\\"$$SAILFIN_VERSION\\\"\""
|
2020-09-26 02:13:21 +00:00
|
|
|
|
2020-09-15 14:53:13 +00:00
|
|
|
SOURCES += \
|
|
|
|
src/credentialmanager.cpp \
|
|
|
|
src/harbour-sailfin.cpp \
|
|
|
|
src/jellyfinapiclient.cpp \
|
|
|
|
src/jellyfinapimodel.cpp \
|
2020-09-25 12:46:39 +00:00
|
|
|
src/jellyfindeviceprofile.cpp \
|
|
|
|
src/jellyfinmediasource.cpp \
|
2020-09-15 14:53:13 +00:00
|
|
|
src/serverdiscoverymodel.cpp
|
|
|
|
|
|
|
|
DISTFILES += \
|
2020-09-26 00:51:37 +00:00
|
|
|
qml/Constants.qml \
|
2020-09-25 15:14:44 +00:00
|
|
|
qml/Utils.js \
|
2020-09-15 14:53:13 +00:00
|
|
|
qml/components/GlassyBackground.qml \
|
2020-09-26 21:29:45 +00:00
|
|
|
qml/components/IconListItem.qml \
|
2020-09-15 14:53:13 +00:00
|
|
|
qml/components/LibraryItemDelegate.qml \
|
|
|
|
qml/components/MoreSection.qml \
|
|
|
|
qml/components/PlainLabel.qml \
|
Restructured the way item "details" are loaded
Previously, Items were displayed in one page, named DetailPage.qml.
This page then would load a qml component, based on the page type. It
also contained some components common for each detail page, like
displaying the name of the item. This construction had as downside that
modifying the page properties, adding a pulley menu or basing the page
around a SilicaListview was not possible. So I already had created some
other pages.
The new construction uses a base page, named BaseDetailPage which does
set some common properties and handle the loading of the items, so that
that part does not have to be duplicated. Displaying the name of an item
was a very trivial thing to do, so duplicating that part across files
was not a problem. Anyway, the rest of the pages are now seperate, but
all have BaseDetailsPage as the root, so they can use the common
functionality by that page. Those subpages now can be based around
GridViews, Carrousels, have pully menus and so on. To determine to which
page to go to, based on the content type, a function named getPageUrl
has been added to Utils.js, which takes a content type as argument and
gives the page url back.
2020-09-29 00:15:50 +00:00
|
|
|
qml/components/PlayToolbar.qml \
|
2020-09-15 14:53:13 +00:00
|
|
|
qml/components/RemoteImage.qml \
|
2020-09-27 14:54:45 +00:00
|
|
|
qml/components/Shim.qml \
|
2020-09-15 14:53:13 +00:00
|
|
|
qml/components/UserGridDelegate.qml \
|
2020-09-25 12:46:39 +00:00
|
|
|
qml/components/VideoPlayer.qml \
|
Restructured the way item "details" are loaded
Previously, Items were displayed in one page, named DetailPage.qml.
This page then would load a qml component, based on the page type. It
also contained some components common for each detail page, like
displaying the name of the item. This construction had as downside that
modifying the page properties, adding a pulley menu or basing the page
around a SilicaListview was not possible. So I already had created some
other pages.
The new construction uses a base page, named BaseDetailPage which does
set some common properties and handle the loading of the items, so that
that part does not have to be duplicated. Displaying the name of an item
was a very trivial thing to do, so duplicating that part across files
was not a problem. Anyway, the rest of the pages are now seperate, but
all have BaseDetailsPage as the root, so they can use the common
functionality by that page. Those subpages now can be based around
GridViews, Carrousels, have pully menus and so on. To determine to which
page to go to, based on the content type, a function named getPageUrl
has been added to Utils.js, which takes a content type as argument and
gives the page url back.
2020-09-29 00:15:50 +00:00
|
|
|
qml/components/VideoTrackSelector.qml \
|
2020-09-25 13:21:08 +00:00
|
|
|
qml/components/itemdetails/SeasonDetails.qml \
|
2020-09-27 15:59:11 +00:00
|
|
|
qml/components/videoplayer/VideoError.qml \
|
2020-09-25 12:46:39 +00:00
|
|
|
qml/components/videoplayer/VideoHud.qml \
|
2020-09-15 14:53:13 +00:00
|
|
|
qml/cover/CoverPage.qml \
|
2020-09-25 12:46:39 +00:00
|
|
|
qml/cover/PosterCover.qml \
|
|
|
|
qml/cover/VideoCover.qml \
|
2020-09-15 14:53:13 +00:00
|
|
|
qml/pages/LegalPage.qml \
|
|
|
|
qml/pages/MainPage.qml \
|
2020-09-26 00:51:37 +00:00
|
|
|
qml/pages/AboutPage.qml \
|
2020-09-25 12:46:39 +00:00
|
|
|
qml/harbour-sailfin.qml \
|
2020-09-26 21:29:45 +00:00
|
|
|
qml/pages/SettingsPage.qml \
|
2020-09-25 12:46:39 +00:00
|
|
|
qml/pages/VideoPage.qml \
|
Restructured the way item "details" are loaded
Previously, Items were displayed in one page, named DetailPage.qml.
This page then would load a qml component, based on the page type. It
also contained some components common for each detail page, like
displaying the name of the item. This construction had as downside that
modifying the page properties, adding a pulley menu or basing the page
around a SilicaListview was not possible. So I already had created some
other pages.
The new construction uses a base page, named BaseDetailPage which does
set some common properties and handle the loading of the items, so that
that part does not have to be duplicated. Displaying the name of an item
was a very trivial thing to do, so duplicating that part across files
was not a problem. Anyway, the rest of the pages are now seperate, but
all have BaseDetailsPage as the root, so they can use the common
functionality by that page. Those subpages now can be based around
GridViews, Carrousels, have pully menus and so on. To determine to which
page to go to, based on the content type, a function named getPageUrl
has been added to Utils.js, which takes a content type as argument and
gives the page url back.
2020-09-29 00:15:50 +00:00
|
|
|
qml/pages/itemdetails/BaseDetailPage.qml \
|
|
|
|
qml/pages/itemdetails/CollectionPage.qml \
|
|
|
|
qml/pages/itemdetails/EpisodePage.qml \
|
|
|
|
qml/pages/itemdetails/FilmPage.qml \
|
|
|
|
qml/pages/itemdetails/MusicAlbumPage.qml \
|
|
|
|
qml/pages/itemdetails/SeasonPage.qml \
|
|
|
|
qml/pages/itemdetails/SeriesPage.qml \
|
|
|
|
qml/pages/itemdetails/UnsupportedPage.qml \
|
2020-10-01 09:56:02 +00:00
|
|
|
qml/pages/itemdetails/VideoPage.qml \
|
2020-09-25 12:46:39 +00:00
|
|
|
qml/pages/setup/AddServerConnectingPage.qml \
|
|
|
|
qml/pages/setup/LoginDialog.qml \
|
2020-09-26 00:51:37 +00:00
|
|
|
qml/qmldir
|
2020-09-15 14:53:13 +00:00
|
|
|
|
|
|
|
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172
|
|
|
|
|
|
|
|
# to disable building translations every time, comment out the
|
|
|
|
# following CONFIG line
|
|
|
|
CONFIG += sailfishapp_i18n
|
|
|
|
|
|
|
|
# German translation is enabled as an example. If you aren't
|
|
|
|
# planning to localize your app, remember to comment out the
|
|
|
|
# following TRANSLATIONS line. And also do not forget to
|
|
|
|
# modify the localized app name in the the .desktop file.
|
|
|
|
# TRANSLATIONS += \
|
|
|
|
|
2020-09-27 20:41:35 +00:00
|
|
|
HEADERS += \
|
2020-09-15 14:53:13 +00:00
|
|
|
src/credentialmanager.h \
|
|
|
|
src/jellyfinapiclient.h \
|
|
|
|
src/jellyfinapimodel.h \
|
2020-09-25 12:46:39 +00:00
|
|
|
src/jellyfindeviceprofile.h \
|
|
|
|
src/jellyfinmediasource.h \
|
2020-09-15 14:53:13 +00:00
|
|
|
src/serverdiscoverymodel.h
|