Merge pull request #94197 from CRTified/pkg/lottieconverter
This commit is contained in:
commit
0c3b48b7f6
23
pkgs/development/libraries/rlottie/default.nix
Normal file
23
pkgs/development/libraries/rlottie/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchFromGitHub, meson, ninja, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rlottie";
|
||||
version = "0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Samsung";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-8KQ0ZnVg5rTb44IYnn02WBSe2SA5UGUOSLEdmmscUDs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/Samsung/rlottie";
|
||||
description = "A platform independent standalone c++ library for rendering vector based animations and art in realtime.";
|
||||
license = licenses.unfree; # Mixed, see https://github.com/Samsung/rlottie/blob/master/COPYING
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ CRTified ];
|
||||
};
|
||||
}
|
33
pkgs/tools/misc/lottieconverter/default.nix
Normal file
33
pkgs/tools/misc/lottieconverter/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchFromGitHub, libpng, rlottie, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "LottieConverter";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sot-tech";
|
||||
repo = pname;
|
||||
rev = "r${version}";
|
||||
hash = "sha256-lAGzh6B2js2zDuN+1U8CZnse09RJGZRXbtmsheGKuYU=";
|
||||
};
|
||||
|
||||
buildInputs = [ libpng rlottie zlib ];
|
||||
makeFlags = [ "CONF=Release" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
cp -v dist/Release/GNU-Linux/lottieconverter $out/bin/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/sot-tech/LottieConverter/";
|
||||
description = "Lottie converter utility";
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ CRTified ];
|
||||
};
|
||||
}
|
@ -4776,6 +4776,8 @@ in
|
||||
|
||||
lolcat = callPackage ../tools/misc/lolcat { };
|
||||
|
||||
lottieconverter = callPackage ../tools/misc/lottieconverter { };
|
||||
|
||||
lsd = callPackage ../tools/misc/lsd { };
|
||||
|
||||
lsdvd = callPackage ../tools/cd-dvd/lsdvd {};
|
||||
@ -14845,6 +14847,8 @@ in
|
||||
|
||||
rlog = callPackage ../development/libraries/rlog { };
|
||||
|
||||
rlottie = callPackage ../development/libraries/rlottie { };
|
||||
|
||||
rocksdb = callPackage ../development/libraries/rocksdb { };
|
||||
|
||||
rocksdb_lite = rocksdb.override { enableLite = true; };
|
||||
|
Loading…
Reference in New Issue
Block a user