Updated qcma.pro file
Added qt5-imageformats to the rpmbuild spec dependencies
This commit is contained in:
13
qcma.pro
13
qcma.pro
@@ -156,16 +156,11 @@ isEmpty(QCMA_GIT_VERSION) {
|
|||||||
DEFINES += QCMA_VER=\\\"$$VERSION\\\"
|
DEFINES += QCMA_VER=\\\"$$VERSION\\\"
|
||||||
} else {
|
} else {
|
||||||
DEFINES += QCMA_VER=\\\"$$QCMA_GIT_VERSION\\\"
|
DEFINES += QCMA_VER=\\\"$$QCMA_GIT_VERSION\\\"
|
||||||
}
|
|
||||||
|
|
||||||
|
# git executable and metadata are available, might as well get commit hash and branch name
|
||||||
GET_HASHES {
|
GET_HASHES {
|
||||||
# try to get the current git commit and branch
|
DEFINES += QCMA_BUILD_HASH=\\\"$$system(git rev-parse --short HEAD)\\\"
|
||||||
QCMA_GIT_HASH=$$system(git rev-parse --short HEAD)
|
DEFINES += QCMA_BUILD_BRANCH=\\\"$$system(git rev-parse --abbrev-ref HEAD)\\\"
|
||||||
QCMA_GIT_BRANCH=$$system(git rev-parse --abbrev-ref HEAD)
|
}
|
||||||
|
|
||||||
# pass the current git commit hash
|
|
||||||
!isEmpty(QCMA_GIT_HASH):!isEmpty(QCMA_GIT_BRANCH) {
|
|
||||||
DEFINES += QCMA_BUILD_HASH=\\\"$$QCMA_GIT_HASH\\\"
|
|
||||||
DEFINES += QCMA_BUILD_BRANCH=\\\"$$QCMA_GIT_BRANCH\\\"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@@ -12,6 +12,7 @@ Source: https://github.com/codestation/qcma.git
|
|||||||
Group: Productivity/File utilities
|
Group: Productivity/File utilities
|
||||||
Requires: ffmpeg
|
Requires: ffmpeg
|
||||||
Requires: qt5-qtbase
|
Requires: qt5-qtbase
|
||||||
|
Requires: qt5-qtimageformats
|
||||||
Requires: libvitamtp3 >= 2.5.0
|
Requires: libvitamtp3 >= 2.5.0
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: ffmpeg-devel
|
BuildRequires: ffmpeg-devel
|
||||||
|
@@ -12,6 +12,7 @@ Source: https://github.com/codestation/qcma.git
|
|||||||
Group: Productivity/File utilities
|
Group: Productivity/File utilities
|
||||||
Requires: ffmpeg
|
Requires: ffmpeg
|
||||||
Requires: libqt5-qtbase
|
Requires: libqt5-qtbase
|
||||||
|
Requires: libqt5-qtimageformats
|
||||||
Requires: libvitamtp3 >= 2.5.0
|
Requires: libvitamtp3 >= 2.5.0
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: ffmpeg-devel
|
BuildRequires: ffmpeg-devel
|
||||||
|
Reference in New Issue
Block a user