Commit 31bd515f authored by Damien Caliste's avatar Damien Caliste

[nemo-qml-plugin-calendar] Clean spec file and remove obsolete libical dependency.

parent 7d4d768b
......@@ -6,7 +6,7 @@ QT += qml dbus
QT -= gui
CONFIG += link_pkgconfig
PKGCONFIG += KF5CalendarCore libmkcal-qt5 libical accounts-qt5
PKGCONFIG += KF5CalendarCore libmkcal-qt5 accounts-qt5
HEADERS += \
calendardataservice.h \
......
......@@ -3,9 +3,8 @@ Name: nemo-qml-plugin-calendar-qt5
Summary: Calendar plugin for Nemo Mobile
Version: 0.6.13
Release: 1
Group: System/Libraries
License: BSD
URL: https://git.merproject.org/mer-core/nemo-qml-plugin-calendar
URL: https://git.sailfishos.org/mer-core/nemo-qml-plugin-calendar
Source0: %{name}-%{version}.tar.bz2
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
......@@ -13,7 +12,6 @@ BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(libmkcal-qt5)
BuildRequires: pkgconfig(KF5CalendarCore)
BuildRequires: pkgconfig(libical)
BuildRequires: pkgconfig(accounts-qt5)
%description
......@@ -21,7 +19,6 @@ BuildRequires: pkgconfig(accounts-qt5)
%package tests
Summary: QML calendar plugin tests
Group: System/Libraries
BuildRequires: pkgconfig(Qt5Test)
Requires: %{name} = %{version}-%{release}
......@@ -30,7 +27,6 @@ Requires: %{name} = %{version}-%{release}
%package lightweight
Summary: Calendar lightweight QML plugin
Group: System/Libraries
BuildRequires: pkgconfig(Qt5DBus)
%description lightweight
......@@ -39,7 +35,6 @@ BuildRequires: pkgconfig(Qt5DBus)
%package tools
Summary: Calendar import/export tool
License: BSD
Group: Applications/System
BuildRequires: pkgconfig(libmkcal-qt5)
BuildRequires: pkgconfig(KF5CalendarCore)
......@@ -53,7 +48,7 @@ BuildRequires: pkgconfig(KF5CalendarCore)
%qmake5
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
......
......@@ -50,9 +50,6 @@
#include <KCalendarCore/RecurrenceRule>
#include <KCalendarCore/MemoryCalendar>
#include <libical/vobject.h>
#include <libical/vcaltmp.h>
// libaccounts-qt
#include <Accounts/Manager>
#include <Accounts/Provider>
......
......@@ -9,7 +9,7 @@ QT -= gui
QMAKE_CXXFLAGS += -Werror
target.path = $$[QT_INSTALL_QML]/$$PLUGIN_IMPORT_PATH
PKGCONFIG += KF5CalendarCore libmkcal-qt5 libical accounts-qt5
PKGCONFIG += KF5CalendarCore libmkcal-qt5 accounts-qt5
INSTALLS += target
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment