mapmap: Fix startup issues and unbreak the derivation
* Apply patch from not yet merged upstream pull request to fix segfault * Add wrapQtAppsHook to make it start again * Mark as unbroken
This commit is contained in:
parent
73935b18dd
commit
6dc4c0000f
@ -1,11 +1,13 @@
|
||||
{ stdenv
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, qttools
|
||||
, qtmultimedia
|
||||
, liblo
|
||||
, gst_all_1
|
||||
, qmake
|
||||
, pkgconfig
|
||||
, wrapQtAppsHook
|
||||
}:
|
||||
|
||||
with stdenv;
|
||||
@ -25,6 +27,7 @@ mkDerivation rec {
|
||||
nativeBuildInputs = [
|
||||
qmake
|
||||
pkgconfig
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@ -37,6 +40,14 @@ mkDerivation rec {
|
||||
gst_all_1.gst-vaapi
|
||||
];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "message-handler-segfault.patch";
|
||||
url = "https://github.com/mapmapteam/mapmap/pull/519/commits/22eeee59ba7de6de7b73ecec3b0ea93bdc7f04e8.patch";
|
||||
sha256 = "0is905a4lf9vvl5b1n4ky6shrnbs5kz9mlwfk78hrl4zabfmcl5l";
|
||||
})
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp mapmap $out/bin/mapmap
|
||||
@ -57,8 +68,6 @@ mkDerivation rec {
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.erictapen ];
|
||||
platforms = platforms.linux;
|
||||
# binary segfaults at the moment
|
||||
broken = true;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user