performous: 1.3.0 -> 1.3.1

This commit is contained in:
Weijia Wang 2024-02-19 10:04:14 +01:00
parent f893cc7daa
commit 566a57c328
2 changed files with 17 additions and 16 deletions

View File

@ -23,13 +23,13 @@
stdenv.mkDerivation rec {
pname = "performous";
version = "1.3.0";
version = "1.3.1";
src = fetchFromGitHub {
owner = "performous";
repo = "performous";
rev = "refs/tags/${version}";
hash = "sha256-y7kxLht15vULN9NxM0wzj9+7Uq4/3D5j9oBEnrTIwQ8=";
hash = "sha256-f70IHA8LqIlkMRwJqSmszx3keStSx50nKcEWLGEjc3g=";
};
cedSrc = fetchFromGitHub {

View File

@ -1,17 +1,18 @@
diff --git a/cmake/Modules/FindCed.cmake b/cmake/Modules/FindCed.cmake
index d6e2aca..3085adb 100644
index 5794bc84..08d6b49d 100644
--- a/cmake/Modules/FindCed.cmake
+++ b/cmake/Modules/FindCed.cmake
@@ -1,11 +1 @@
-include(LibFetchMacros)
-
-set(Ced_GIT_VERSION "master")
-
-libfetch_git_pkg(Ced
- REPOSITORY ${SELF_BUILT_GIT_BASE}/compact_enc_det.git
- #https://github.com/google/compact_enc_det.git
- REFERENCE ${Ced_GIT_VERSION}
- FIND_PATH compact_enc_det/compact_enc_det.h
-)
-message(STATUS "Found Google CED ${Ced_VERSION}")
+add_subdirectory(../ced-src ced-src)
@@ -22,12 +22,7 @@ elseif(SELF_BUILT_CED STREQUAL "AUTO")
pkg_check_modules(CED IMPORTED_TARGET GLOBAL CED)
if(NOT CED_FOUND)
message(STATUS "ced build from source because not found on system")
- libfetch_git_pkg(Ced
- REPOSITORY ${SELF_BUILT_GIT_BASE}/compact_enc_det.git
- #https://github.com/google/compact_enc_det.git
- REFERENCE ${Ced_GIT_VERSION}
- FIND_PATH compact_enc_det/compact_enc_det.h
- )
+ add_subdirectory(../ced-src ced-src)
else()
add_library(ced ALIAS PkgConfig::CED)
set(Ced_VERSION ${CED_VERSION})