Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
Merge branch 'jb41605' into 'master'
Browse files Browse the repository at this point in the history
Declare typeinfo in qmldir and more

See merge request mer-core/statefs-qt!5
  • Loading branch information
pvuorela committed May 15, 2018
2 parents 6d91f87 + fde1d37 commit c91369d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion doc/Doxyfile
Expand Up @@ -1712,7 +1712,7 @@ HIDE_UNDOC_RELATIONS = YES
# toolkit from AT&T and Lucent Bell Labs. The other options in this section
# have no effect if this option is set to NO (the default)

HAVE_DOT = YES
HAVE_DOT = NO

# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is
# allowed to run in parallel. When set to 0 (the default) doxygen will
Expand Down
9 changes: 3 additions & 6 deletions rpm/statefs-qt5.spec
@@ -1,5 +1,5 @@
%{!?cmake_install: %global cmake_install make install DESTDIR=%{buildroot}}
%{!?_libqt5_includedir: %global _libqt5_includedir %{_qt5_headerdir}}
%{!?cmake_install: %define cmake_install make install DESTDIR=%{buildroot}}
%{!?_libqt5_includedir: %define _libqt5_includedir %{_qt5_headerdir}}


Summary: Statefs Qt bindings
Expand Down Expand Up @@ -33,9 +33,6 @@ Requires: %{name} = %{version}-%{release}
Summary: StateFS Qt5 bindings documentation
Group: Documenation
BuildRequires: doxygen
%if 0%{?_with_docs:1}
BuildRequires: graphviz
%endif
%description doc
%{summary}

Expand Down Expand Up @@ -85,7 +82,7 @@ Requires: %{name} = %{version}-%{release}

%build
%cmake -DVERSION=%{version} %{?_with_multiarch:-DENABLE_MULTIARCH=ON}
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
make doc

%install
Expand Down
5 changes: 5 additions & 0 deletions src/qml/CMakeLists.txt
Expand Up @@ -37,3 +37,8 @@ install(FILES contextkit-qmldir
install(FILES contextkit-plugins.qmltypes
DESTINATION ${DST_LIB}/qt5/qml/org/freedesktop/contextkit
RENAME plugins.qmltypes)

add_custom_target(qmltypes
COMMAND qmlplugindump -nonrelocatable Mer.State 1.1 > plugins.qmltypes
COMMAND qmlplugindump -nonrelocatable org.freedesktop.contextkit 1.0 > contextkit-plugins.qmltypes
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
1 change: 1 addition & 0 deletions src/qml/contextkit-qmldir
@@ -1,2 +1,3 @@
module org.freedesktop.contextkit
plugin contextkit
typeinfo plugins.qmltypes
1 change: 1 addition & 0 deletions src/qml/qmldir
@@ -1,2 +1,3 @@
module Mer.State
plugin statefs-declarative
typeinfo plugins.qmltypes

0 comments on commit c91369d

Please sign in to comment.