From c253b820b316f59c035f395e42b73fcea0e3780b Mon Sep 17 00:00:00 2001 From: thosoo Date: Wed, 23 Dec 2020 23:44:46 +0100 Subject: [PATCH] Change libcec dependency for rpm (#1108) --- CompileHowto.md | 7 +++++++ cmake/packages.cmake | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CompileHowto.md b/CompileHowto.md index 031f6c46..eb248b6b 100644 --- a/CompileHowto.md +++ b/CompileHowto.md @@ -69,6 +69,13 @@ all linux specific led and grabber hardware via cmake. Because we use QT as fram ## Arch See [AUR](https://aur.archlinux.org/packages/?O=0&SeB=nd&K=hyperion&outdated=&SB=n&SO=a&PP=50&do_Search=Go) for PKGBUILDs on arch. If the PKGBUILD does not work ask questions there please. +## Fedora +The following dependencies are needed to build hyperion.ng on fedora. +``` +sudo dnf -y groupinstall "Development Tools" +sudo dnf install python3-devel qt-devel qt5-qtbase-devel qt5-qtserialport-devel libjpeg-devel xrandr xcb-util-image-devel qt5-qtx11extras-devel turbojpeg-devel libusb-devel avahi-libs avahi-compat-libdns_sd-devel xcb-util-devel dbus-devel openssl-devel fedora-packager rpmdevtools gcc libcec-devel +``` +After installing the dependencies, you can continue with the compile instructions later on this page (the more detailed way..). ## OSX To install on OS X you either need Homebrew or Macport but Homebrew is the recommended way to install the packages. To use Homebrew XCode is required as well, use `brew doctor` to check your install. diff --git a/cmake/packages.cmake b/cmake/packages.cmake index 685ac0c5..2626516e 100644 --- a/cmake/packages.cmake +++ b/cmake/packages.cmake @@ -66,7 +66,7 @@ SET ( CPACK_DEBIAN_PACKAGE_SECTION "Miscellaneous" ) SET ( CPACK_RPM_PACKAGE_RELEASE 1 ) SET ( CPACK_RPM_PACKAGE_LICENSE "MIT" ) SET ( CPACK_RPM_PACKAGE_GROUP "Applications" ) -SET ( CPACK_RPM_PACKAGE_REQUIRES "libcec4" ) +SET ( CPACK_RPM_PACKAGE_REQUIRES "libcec >= 4.0.0" ) SET ( CPACK_RPM_PRE_INSTALL_SCRIPT_FILE "${CMAKE_CURRENT_SOURCE_DIR}/cmake/rpm/preinst" ) SET ( CPACK_RPM_POST_INSTALL_SCRIPT_FILE "${CMAKE_CURRENT_SOURCE_DIR}/cmake/rpm/postinst" ) SET ( CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE "${CMAKE_CURRENT_SOURCE_DIR}/cmake/rpm/prerm" )