cagebreak: 1.7.1 -> 1.8.0 (#141300)
Co-authored-by: Bobby Rong <rjl931189261@126.com> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
ff7c4a9417
commit
8d7dfcd7e5
@ -1,9 +1,10 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, cairo
|
, cairo
|
||||||
, fontconfig
|
, fontconfig
|
||||||
|
, libevdev
|
||||||
|
, libinput
|
||||||
, libxkbcommon
|
, libxkbcommon
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, mesa
|
, mesa
|
||||||
@ -23,24 +24,15 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cagebreak";
|
pname = "cagebreak";
|
||||||
version = "1.7.1";
|
version = "1.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "project-repo";
|
owner = "project-repo";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-1IztedN5/I/4TDKHLJ26fSrDsvJ5QAr+cbzS2PQITDE=";
|
hash = "sha256-tWfHJajAOYZJ73GckZWWTdVz75YmHA7t/qDhM7+tJgk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# To fix the build with wlroots 0.14.0:
|
|
||||||
(fetchpatch {
|
|
||||||
# Add fixes for wlroots 0.14.0
|
|
||||||
url = "https://github.com/project-repo/cagebreak/commit/d57869d43add58331386fc8e89c14bb2b74afe17.patch";
|
|
||||||
sha256 = "0g6sl8y4kk0bm5x6pxqbxw2j0gyg3ybr2v9m70q2pxp70kms4lqg";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
makeWrapper
|
makeWrapper
|
||||||
meson
|
meson
|
||||||
@ -53,6 +45,8 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
cairo
|
cairo
|
||||||
fontconfig
|
fontconfig
|
||||||
|
libevdev
|
||||||
|
libinput
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
mesa # for libEGL headers
|
mesa # for libEGL headers
|
||||||
pango
|
pango
|
||||||
|
Loading…
Reference in New Issue
Block a user