Skip to content

Commit

Permalink
Merge pull request #53 from sailfishos/jb50153
Browse files Browse the repository at this point in the history
[aarch64] Use macros. Do not hardcode lib dir. Contributes to JB#50153
  • Loading branch information
mlehtima authored Jun 12, 2020
2 parents 607b913 + d2ca8c3 commit 86e5369
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
project(sailfishutilitiesplugin)

set(COMPONENT_DIR lib/qt5/qml/Sailfish/Utilities)
include(GNUInstallDirs)

set(COMPONENT_DIR ${CMAKE_INSTALL_LIBDIR}/qt5/qml/Sailfish/Utilities)

install(FILES qmldir ActionItem.qml DESTINATION ${COMPONENT_DIR})

Expand Down
4 changes: 1 addition & 3 deletions rpm/sailfish-utilities.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Name: sailfish-utilities
Version: 0.0.0
Release: 1
License: LGPLv2.1
Group: System Environment/Tools
URL: https://github.com/sailfishos/sailfish-utilities
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Expand All @@ -24,6 +23,7 @@ BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: systemd
%if %{with l10n}
BuildRequires: %{name}-all-translations-pack
%define _all_translations_version %(rpm -q --queryformat "%%{version}-%%{release}" %{name}-all-translations-pack)
Expand All @@ -38,8 +38,6 @@ Summary: Translation source for %{name}
%description ts-devel
Translation source for %{name}

%define _userunitdir %{_libdir}/systemd/user/

%prep
%setup -q

Expand Down

0 comments on commit 86e5369

Please sign in to comment.