Updated qcma to build with newer ffmpeg.

Disabled appindicator support (too unstable).
This commit is contained in:
codestation
2016-03-18 20:00:16 -04:30
parent 7886238975
commit 65b04093eb
7 changed files with 40 additions and 39 deletions

View File

@@ -18,7 +18,6 @@
%define _qt5basedevel qt5-qtbase-devel
%define _knotifications kf5-knotifications
%define _knotifications_devel kf5-knotifications-devel
%define _appindicator libappindicator
%else
%define _qt5base libqt5-qtbase
%define _qt5imageformats libqt5-qtimageformats
@@ -27,7 +26,6 @@
%define _qt5basedevel libqt5-qtbase-devel
%define _knotifications libKF5Notifications5
%define _knotifications_devel knotifications-devel
%define _appindicator libappindicator1
%endif
Name: qcma
@@ -47,7 +45,6 @@ BuildRequires: gcc-c++
BuildRequires: %{_pkgconfig}
BuildRequires: libnotify-devel
BuildRequires: %{_knotifications_devel}
BuildRequires: libappindicator-devel
BuildRequires: ffmpeg-devel
BuildRequires: libvitamtp-devel
BuildRequires: %{_qt5linguist}
@@ -63,7 +60,7 @@ is meant to be compatible with Linux, Windows and MAC OS X.
%build
lrelease-qt5 common/resources/translations/*.ts
qmake-qt5 PREFIX=/usr qcma.pro CONFIG+="QT5_SUFFIX ENABLE_KNOTIFICATIONS ENABLE_APPINDICATOR ENABLE_KDENOTIFIER"
qmake-qt5 PREFIX=/usr qcma.pro CONFIG+="QT5_SUFFIX ENABLE_KNOTIFICATIONS ENABLE_KDENOTIFIER"
make %{?_smp_mflags}
%install
@@ -86,18 +83,6 @@ Headless version of Qcma
%{_bindir}/qcma_cli
%{_prefix}/share/man/man1/qcma_cli.1.gz
%package appindicator
Summary: Content Manager Assistant for the PS Vita (appindicator support)
Requires: %{_appindicator}
%description appindicator
Appindicator plugin for Qcma
%files appindicator
%{_prefix}/lib/qcma/libqcma_appindicator.so
%{_prefix}/share/icons/hicolor/64x64/actions/qcma_on.png
%{_prefix}/share/icons/hicolor/64x64/actions/qcma_off.png
%package kdenotifier
Summary: Content Manager Assistant for the PS Vita (kdenotifier support)
Requires: %{_knotifications}