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

Commit

Permalink
Merge branch 'jb50027' into 'master'
Browse files Browse the repository at this point in the history
Use $$[QT_INSTALL_LIBS]. Contributes JB#50027

See merge request mer-core/kcalcore!18
  • Loading branch information
Matti Kosola committed Jun 24, 2020
2 parents 8aec62b + 538a7fa commit 6094b59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions kcalcore/kcalcore.pro
Expand Up @@ -21,7 +21,7 @@ equals(QT_MAJOR_VERSION, 5) {

QT += dbus

target.path = $$INSTALL_ROOT/usr/lib
target.path = $$INSTALL_ROOT$$[QT_INSTALL_LIBS]
equals(QT_MAJOR_VERSION, 4): headers.path += $$INSTALL_ROOT/usr/include/kcalcoren
equals(QT_MAJOR_VERSION, 5): headers.path += $$INSTALL_ROOT/usr/include/kcalcoren-qt5
headers.files += *.h \
Expand All @@ -39,7 +39,7 @@ headers.files += *.h \
klibport/KUrl \
klibport/*.h

pkgconfig.path = $$INSTALL_ROOT/usr/lib/pkgconfig
pkgconfig.path = $$INSTALL_ROOT$$[QT_INSTALL_LIBS]/pkgconfig
equals(QT_MAJOR_VERSION, 4): pkgconfig.files = ../libkcalcoren.pc
equals(QT_MAJOR_VERSION, 5): pkgconfig.files = ../libkcalcoren-qt5.pc

Expand Down
4 changes: 1 addition & 3 deletions rpm/kcalcore-qt5.spec
Expand Up @@ -2,9 +2,8 @@ Name: kcalcore-qt5
Summary: Port of KDE kcalcore calendar library
Version: 4.10.2
Release: 1
Group: System/Libraries
License: LGPLv2
URL: https://github.com/mer-packages/kcalcore
URL: https://git.sailfishos.org/mer-core/kcalcore
Source0: %{name}-%{version}.tar.bz2
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Expand All @@ -22,7 +21,6 @@ Port of KDE kcalcore calendar library

%package devel
Summary: Development files for kcalcore
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
Expand Down

0 comments on commit 6094b59

Please sign in to comment.