Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[qt5] Update packaging to build qt5 fingerterm
  • Loading branch information
Bernd Wachter committed Jun 16, 2013
1 parent fae7c36 commit f192f4c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
10 changes: 5 additions & 5 deletions fingerterm.pro
Expand Up @@ -49,17 +49,17 @@ RESOURCES += \
resources.qrc

unix:!symbian:!maemo5 {
target.path = /opt/fingerterm/bin
target.path = /usr/bin
INSTALLS += target
}

maemo5 {
target.path = /opt/fingerterm/bin
target.path = /usr/bin
INSTALLS += target
}

contains(MEEGO_EDITION,harmattan) {
desktopfile.files = $${TARGET}fingerterm.desktop
desktopfile.files = $${TARGET}.desktop
desktopfile.path = /usr/share/applications
INSTALLS += desktopfile
}
Expand All @@ -71,8 +71,8 @@ contains(MEEGO_EDITION,harmattan) {
}

contains(MEEGO_EDITION,nemo) {
desktopfile.extra = cp $${TARGET}fingerterm.desktop.nemo fingerterm.desktop
desktopfile.extra = cp $${TARGET}.desktop.nemo $${TARGET}.desktop
desktopfile.path = /usr/share/applications
desktopfile.files = fingerterm.desktop
desktopfile.files = $${TARGET}.desktop
INSTALLS += desktopfile
}
9 changes: 6 additions & 3 deletions rpm/fingerterm.spec
Expand Up @@ -6,8 +6,11 @@ Group: System/Base
License: GPLv2
Source0: %{name}-%{version}.tar.gz
URL: https://github.com/nemomobile/fingerterm
BuildRequires: pkgconfig(QtCore)
BuildRequires: pkgconfig(QtOpenGL)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5OpenGL)
BuildRequires: pkgconfig(Qt5Declarative)
Obsoletes: meego-terminal <= 0.2.2
Provides: meego-terminal > 0.2.2

Expand All @@ -26,7 +29,7 @@ Provides: meego-terminal > 0.2.2

%build
sed -i 's,/opt/fingerterm/,/usr/,' fingerterm.pro
qmake MEEGO_EDITION=nemo
qmake -qt=5 MEEGO_EDITION=nemo
make %{?_smp_mflags}


Expand Down

0 comments on commit f192f4c

Please sign in to comment.