musikcube: rebuild against OpenSSL

This commit is contained in:
John 2021-01-06 23:57:49 +01:00
parent b48ff69298
commit 958155f4b8
3 changed files with 19 additions and 3 deletions

View File

@ -593,7 +593,7 @@ libcanberra-gtk.so.0 libcanberra-gtk-0.30_6
libcanberra-gtk3.so.0 libcanberra-gtk3-0.30_6
libgtop-2.0.so.11 libgtop-2.38.0_1
librarian.so.0 rarian-0.8.1_1
libmusikcore.so musikcube-0.60.1_1
libmusikcore.so musikcube-0.93.1_3
libgnome-menu-3.so.0 gnome-menus-2.91.6_1
libart_lgpl_2.so.2 libart-2.3.20_1
libgnomecanvas-2.so.0 libgnomecanvas-2.30.1_1

View File

@ -0,0 +1,16 @@
Although musikcube thinks that MHD (microhttpd) version 0.9.70
defines MHD_Result, the headers installed by our version 0.9.70
(see PR 247180) don't define that type. So bump the version
check here trivially, to keep using int.
--- src/plugins/server/HttpServer.h.orig 2020-07-18 17:58:19 UTC
+++ src/plugins/server/HttpServer.h
@@ -43,7 +43,7 @@ extern "C" {
#include <mutex>
#include <vector>
-#if MHD_VERSION < 0x00097000
+#if MHD_VERSION < 0x00097001
#define MHD_Result int
#endif

View File

@ -1,13 +1,13 @@
# Template file for 'musikcube'
pkgname=musikcube
version=0.93.1
revision=2
revision=3
build_style=cmake
make_cmd=make
configure_args="-DNO_NCURSESW=1 -DENABLE_SNDIO=true -DDISABLE_STRIP=true"
hostmakedepends="pkg-config"
makedepends="boost-devel libogg-devel libmicrohttpd-devel ffmpeg-devel
libressl-devel pulseaudio-devel lame-devel zlib-devel alsa-lib-devel
openssl-devel pulseaudio-devel lame-devel zlib-devel alsa-lib-devel
libvorbis-devel libcurl-devel ncurses-devel libev-devel taglib-devel
sndio-devel"
short_desc="Terminal-based music player in c++"