Skip to content

Commit

Permalink
Merge pull request #1 from sailfishos/sailfish-qdoc
Browse files Browse the repository at this point in the history
[nemo-keepalive] Migrate to sailfish-qdoc-template. JB#54004
  • Loading branch information
pvuorela committed Nov 5, 2021
2 parents 14b3654 + 5a92696 commit 1d5c43f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
9 changes: 9 additions & 0 deletions doc/doc.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
TEMPLATE=aux

CONFIG += sailfish-qdoc-template
SAILFISH_QDOC.project = libkeepalive
SAILFISH_QDOC.config = libkeepalive.qdocconf
SAILFISH_QDOC.style = offline
SAILFISH_QDOC.path = /usr/share/doc/libkeepalive

OTHER_FILES += src/index.qdoc
8 changes: 1 addition & 7 deletions keepalive.pro
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@ SUBDIRS += examples/backgroundactivity_periodic
SUBDIRS += examples/backgroundactivity_linger
SUBDIRS += examples/displayblanking
SUBDIRS += tests

CONFIG += mer-qdoc-template
MER_QDOC.project = libkeepalive
MER_QDOC.config = doc/libkeepalive.qdocconf
MER_QDOC.style = offline
MER_QDOC.path = /usr/share/doc/libkeepalive
OTHER_FILES += doc/src/index.qdoc
SUBDIRS += doc

examples.files = examples/qml/*.qml
examples.path = $$[QT_INSTALL_EXAMPLES]/keepalive
Expand Down
12 changes: 2 additions & 10 deletions rpm/keepalive.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Summary: CPU and display keepalive and scheduling library
Version: 1.8.4
Release: 2
License: LGPLv2
URL: https://git.sailfishos.org/mer-core/nemo-keepalive/
URL: https://github.com/sailfishos/nemo-keepalive
Source0: %{name}-%{version}.tar.bz2
Requires: dsme
Requires: mce >= 1.93.0
Expand All @@ -20,7 +20,7 @@ BuildRequires: pkgconfig(dsme) >= 0.58
BuildRequires: pkgconfig(libiphb) >= 1.2.0
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: mer-qdoc-template
BuildRequires: sailfish-qdoc-template

%description
CPU and display keepalive and scheduling library
Expand Down Expand Up @@ -55,7 +55,6 @@ make -C tools install ROOT=%{buildroot} VERS=%{version} _LIBDIR=%{_libdir}
#----------------------------------------------------------------
%package devel
Summary: Development headers for libkeepalive
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
Expand All @@ -71,7 +70,6 @@ Development package for CPU and display keepalive and scheduling library
#----------------------------------------------------------------
%package examples
Summary: Example applications for libkeepalive
Group: Development/Tools
Requires: %{name} = %{version}-%{release}

%description examples
Expand All @@ -86,7 +84,6 @@ Examples of CPU and display keepalive and scheduling library

%package tests
Summary: Tests for libkeepalive
Group: Development/Tools
Requires: %{name} = %{version}-%{release}

%description tests
Expand All @@ -99,7 +96,6 @@ Requires: %{name} = %{version}-%{release}
#----------------------------------------------------------------
%package doc
Summary: Documentation for libkeepalive QML API
Group: Documentation
BuildArch: noarch

%description doc
Expand All @@ -113,7 +109,6 @@ BuildArch: noarch
#----------------------------------------------------------------
%package glib
Summary: CPU and display keepalive and scheduling library
Group: System/System Control

%description glib
CPU and display keepalive and scheduling library
Expand All @@ -129,7 +124,6 @@ CPU and display keepalive and scheduling library
#----------------------------------------------------------------
%package glib-tools
Summary: CPU and display keepalive tools
Group: System/System Control

%description glib-tools
CPU and display keepalive tools
Expand All @@ -141,7 +135,6 @@ CPU and display keepalive tools
#----------------------------------------------------------------
%package glib-devel
Summary: Development headers for libkeepalive for use with glib
Group: Development/Libraries
Requires: %{name}-glib = %{version}-%{release}

%description glib-devel
Expand All @@ -158,7 +151,6 @@ Development package for CPU and display keepalive and scheduling library
#----------------------------------------------------------------
%package glib-doc
Summary: Documentation for libkeepalive-glib
Group: Documentation
BuildArch: noarch

%description glib-doc
Expand Down

0 comments on commit 1d5c43f

Please sign in to comment.