mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
Merge pull request #38576 from ahmedtd/nomacs-3.8.1
nomacs: 3.6.1 -> 3.8.1
This commit is contained in:
commit
811ff3f131
@ -18,12 +18,12 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.6.1";
|
||||
version = "3.8.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nomacs";
|
||||
repo = "nomacs";
|
||||
rev = version;
|
||||
sha256 = "0yli05hhmd57v3mynq78nmr15rbpm0vadv273pavmcnayv86yl44";
|
||||
sha256 = "1irms980d7acdqrfn8isw55vgc4d9n26ff86887vk7xfvxs0ayla";
|
||||
};
|
||||
|
||||
name = "nomacs-${version}";
|
||||
@ -34,8 +34,6 @@ stdenv.mkDerivation rec {
|
||||
sourceRoot=$(echo */ImageLounge)
|
||||
'';
|
||||
|
||||
patches = [./fix-appdata-install.patch];
|
||||
|
||||
nativeBuildInputs = [cmake
|
||||
pkgconfig
|
||||
wrapGAppsHook];
|
||||
|
@ -1,13 +0,0 @@
|
||||
diff --git a/cmake/UnixBuildTarget.cmake b/cmake/UnixBuildTarget.cmake
|
||||
index 3521056a..34f99ed9 100644
|
||||
--- a/cmake/UnixBuildTarget.cmake
|
||||
+++ b/cmake/UnixBuildTarget.cmake
|
||||
@@ -80,7 +80,7 @@ install(FILES ${NOMACS_QM} DESTINATION share/nomacs/translations)
|
||||
# manpage
|
||||
install(FILES Readme/nomacs.1 DESTINATION share/man/man1)
|
||||
# appdata
|
||||
-install(FILES nomacs.appdata.xml DESTINATION /usr/share/appdata/)
|
||||
+install(FILES nomacs.appdata.xml DESTINATION share/appdata/)
|
||||
|
||||
# "make dist" target
|
||||
string(TOLOWER ${PROJECT_NAME} CPACK_PACKAGE_NAME)
|
Loading…
Reference in New Issue
Block a user