Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[connectionagent] remove lipstick dependency, as it is not needed
  • Loading branch information
Lorn Potter committed May 28, 2013
1 parent 55f1e04 commit 9b1807d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 17 deletions.
6 changes: 2 additions & 4 deletions connd/connd.pro
Expand Up @@ -5,14 +5,12 @@ QT -= gui
equals(QT_MAJOR_VERSION, 4): {
TARGET = connectionagent
INCLUDEPATH += libconnman-qt
INCLUDEPATH += lipstick
LIBS += -lconnman-qt4 -llipstick
LIBS += -lconnman-qt4
}
equals(QT_MAJOR_VERSION, 5): {
TARGET = connectionagent
INCLUDEPATH += libconnman-qt5
INCLUDEPATH += lipstick
LIBS += -lconnman-qt5 -llipstick-qt5
LIBS += -lconnman-qt5
}

CONFIG += console link_pkgconfig
Expand Down
16 changes: 9 additions & 7 deletions rpm/connectionagent-qt5.spec
Expand Up @@ -9,7 +9,7 @@ Name: connectionagent-qt5
# << macros

Summary: User Agent daemon
Version: 0.6.6
Version: 0.6.7
Release: 0
Group: Communications/Connectivity Adaptation
License: LGPLv2
Expand All @@ -19,10 +19,7 @@ Source100: connectionagent-qt5.yaml
Requires: connman-qt5-declarative
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(connman-qt5)
BuildRequires: pkgconfig(lipstick-qt5)

%description
Connection Agent provides multi user access to connman's User Agent.
Expand Down Expand Up @@ -57,7 +54,6 @@ This package contains the declarative plugin for connection agent.
# >> build pre
# << build pre

export QT_SELECT=5
%qmake5

make %{?jobs:-j%jobs}
Expand All @@ -69,8 +65,7 @@ make %{?jobs:-j%jobs}
rm -rf %{buildroot}
# >> install pre
# << install pre
export QT_SELECT=5
%qmake5_install
%qmake_install

# >> install post
# << install post
Expand All @@ -89,3 +84,10 @@ export QT_SELECT=5
# >> files declarative
# << files declarative

%files test
%defattr(-,root,root,-)
/opt/sdk/bin/testqml
/opt/sdk/share/applications/testqml.desktop
/opt/sdk/share/testqml/*
# >> files test
# << files test
3 changes: 1 addition & 2 deletions rpm/connectionagent-qt5.yaml
@@ -1,6 +1,6 @@
Name: connectionagent-qt5
Summary: User Agent daemon
Version: 0.6.6
Version: 0.6.7
Release: 0
Group: "Communications/Connectivity Adaptation"
License: LGPLv2
Expand All @@ -18,7 +18,6 @@ PkgConfigBR:
- Qt5Core
- Qt5DBus
- connman-qt5
- lipstick-qt5

Configure: none
Builder: qmake5
Expand Down
3 changes: 1 addition & 2 deletions rpm/connectionagent.spec
Expand Up @@ -9,7 +9,7 @@ Name: connectionagent
# << macros

Summary: User Agent daemon
Version: 0.6.6
Version: 0.6.7
Release: 0
Group: Communications/Connectivity Adaptation
License: LGPLv2
Expand All @@ -20,7 +20,6 @@ Requires: connman-qt-declarative
BuildRequires: pkgconfig(QtCore)
BuildRequires: pkgconfig(QtDBus)
BuildRequires: pkgconfig(connman-qt4)
BuildRequires: pkgconfig(lipstick)

%description
Connection Agent provides multi user access to connman's User Agent.
Expand Down
3 changes: 1 addition & 2 deletions rpm/connectionagent.yaml
@@ -1,6 +1,6 @@
Name: connectionagent
Summary: User Agent daemon
Version: 0.6.6
Version: 0.6.7
Release: 0
Group: "Communications/Connectivity Adaptation"
License: LGPLv2
Expand All @@ -18,7 +18,6 @@ PkgConfigBR:
- QtCore
- QtDBus
- connman-qt4
- lipstick

Configure: none
Builder: qmake
Expand Down

0 comments on commit 9b1807d

Please sign in to comment.