Skip to content

Commit

Permalink
Relayouted the project
Browse files Browse the repository at this point in the history
  • Loading branch information
SfietKonstantin committed Sep 6, 2014
1 parent 3eb2cb9 commit 2e01a9a
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 49 deletions.
41 changes: 15 additions & 26 deletions harbour-trulyyours.pro
Original file line number Diff line number Diff line change
@@ -1,44 +1,33 @@
# 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
TEMPLATE = app
TARGET = harbour-trulyyours

CONFIG += sailfishapp

HEADERS += \
src/ambiencemanager.h \
src/tagmanager.h

SOURCES += src/harbour-trulyyours.cpp \
ambiencemanager.cpp \
tagmanager.cpp
src/ambiencemanager.cpp \
src/tagmanager.cpp

OTHER_FILES += qml/harbour-trulyyours.qml \
qml/cover/CoverPage.qml \
rpm/$${TARGET}.spec \
OTHER_FILES += rpm/$${TARGET}.spec \
rpm/$${TARGET}.yaml \
translations/*.ts \
$${TARGET}.desktop \
translations/*.ts \
qml/harbour-trulyyours.qml \
qml/cover/CoverPage.qml \
qml/pages/AmbienceDetailPage.qml \
qml/pages/BrowseAmbienceListPage.qml \
Data.js \
qml/pages/Data.js \
qml/pages/MainPage.qml \
qml/pages/Components/QuickTagCloud.qml

js.path = /usr/share/$${TARGET}/
js.path = /usr/share/$${TARGET}/qml/pages
js.files = Data.js
INSTALLS += js

# to disable building translations every time, comment out the
# following CONFIG line
#CONFIG += sailfishapp_i18n
#TRANSLATIONS += translations/$${TARGET}-de.ts
INSTALLS += js

HEADERS += \
ambiencemanager.h \
tagmanager.h

2 changes: 1 addition & 1 deletion qml/pages/BrowseAmbienceListPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

import QtQuick 2.0
import Sailfish.Silica 1.0
import "../../Data.js" as Data;
import "Data.js" as Data;

Page {
id: page
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion qml/pages/MainPage.qml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
import "../../Data.js" as Data;
import "Data.js" as Data;
import "Components"

Page {
Expand Down
23 changes: 2 additions & 21 deletions rpm/harbour-trulyyours.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,27 @@ Name: harbour-trulyyours
Summary: TrulyYours - Mobile JollaWalls client
Version: 0.1.1
Release: 1
# The contents of the Group field must be one of the groups listed here:
# http:https://gitorious.org/meego-developer-tools/spectacle/blobs/master/data/GROUPS
Group: Qt/Qt
URL: http:https://example.org/
URL: https:https://github.com/matrixx/TrulyYours
License: LICENSE
# This must be generated before uploading a package to a remote build service.
# Usually this line does not need to be modified.
Sources:
- '%{name}-%{version}.tar.bz2'
Description: |
Short description of my SailfishOS Application
Configure: none
# The qtc5 builder inserts macros to allow QtCreator to have fine
# control over qmake/make execution
Builder: qtc5

# This section specifies build dependencies that are resolved using pkconfig.
# This is the preferred way of specifying build dependencies for your package.
PkgConfigBR:
- sailfishapp >= 1.0.2
- Qt5Core
- Qt5Qml
- Qt5Quick

# Build dependencies without a pkgconfig setup can be listed here
# PkgBR:
# - package-needed-to-build

# Runtime dependencies which are not automatically detected
- Qt5DBus
Requires:
- sailfishsilica-qt5 >= 0.10.9

# All installed files
Files:
- '%defattr(0644,root,root,-)'
- '%attr(0755,root,root) %{_bindir}'
- '%{_datadir}/%{name}'
- '%{_datadir}/applications/%{name}.desktop'
- '%{_datadir}/icons/hicolor/86x86/apps/%{name}.png'

# For more information about yaml and what's supported in Sailfish OS
# build system, please see https://wiki.merproject.org/wiki/Spectacle

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2e01a9a

Please sign in to comment.