mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Looks like libopenmpt isn't available in Fedora before version 31.
This commit is contained in:
parent
9224178af6
commit
e94108d7d8
@ -103,7 +103,14 @@ add_subdirectory(src/plugins/httpdatastream)
|
|||||||
add_subdirectory(src/plugins/stockencoders)
|
add_subdirectory(src/plugins/stockencoders)
|
||||||
add_subdirectory(src/plugins/supereqdsp)
|
add_subdirectory(src/plugins/supereqdsp)
|
||||||
add_subdirectory(src/plugins/gmedecoder)
|
add_subdirectory(src/plugins/gmedecoder)
|
||||||
add_subdirectory(src/plugins/libopenmptdecoder)
|
|
||||||
|
find_library(LIBOPENMPT NAMES openmpt)
|
||||||
|
if ("${LIBOPENMPT}" STREQUAL "LIBOPENMPT-NOTFOUND")
|
||||||
|
message(STATUS "[libopenmpt] *not* found! plugin will not be built.")
|
||||||
|
else()
|
||||||
|
message(STATUS "[libopenmpt] enabled = true; found library at ${LIBOPENMPT}")
|
||||||
|
add_subdirectory(src/plugins/libopenmptdecoder)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (${FFMPEG_ENABLED} MATCHES "false")
|
if (${FFMPEG_ENABLED} MATCHES "false")
|
||||||
message(STATUS "[ffmpeg] enabled = false")
|
message(STATUS "[ffmpeg] enabled = false")
|
||||||
|
@ -8,8 +8,8 @@ Summary: A cross-platform, terminal-based audio engine, library, player and serv
|
|||||||
Source0: https://github.com/clangen/musikcube/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/clangen/musikcube/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Packager: David Muckle <dvdmuckle@dvdmuckle.xyz>
|
Packager: David Muckle <dvdmuckle@dvdmuckle.xyz>
|
||||||
BuildRequires: gcc-c++ cmake boost-devel libogg-devel libvorbis-devel ffmpeg-devel ncurses-devel zlib-devel alsa-lib-devel pulseaudio-libs-devel openssl-devel libcurl-devel libmicrohttpd-devel lame-devel libev-devel taglib-devel systemd-devel make libopenmpt-devel
|
BuildRequires: gcc-c++ cmake boost-devel libogg-devel libvorbis-devel ffmpeg-devel ncurses-devel zlib-devel alsa-lib-devel pulseaudio-libs-devel openssl-devel libcurl-devel libmicrohttpd-devel lame-devel libev-devel taglib-devel systemd-devel make
|
||||||
Requires: boost libogg libvorbis ffmpeg-libs ncurses zlib alsa-lib pulseaudio-libs openssl libcurl libmicrohttpd lame libev taglib libopenmpt-dev
|
Requires: boost libogg libvorbis ffmpeg-libs ncurses zlib alsa-lib pulseaudio-libs openssl libcurl libmicrohttpd lame libev taglib
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user