mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-12 18:10:47 +02:00
gnu: rlottie-for-telegram-desktop: Do not inherit.
When trying to inherit from the package which is no available in the current module `make' may fail with issue to find the package, this change convert the rlottie-for-telegram-desktop variant into independent one. * gnu/packages/telegram.scm (rlottie-for-telegram-desktop): Convert to independate package. [name]: Add it. [arguments]: Copy from rlottie. [native-inputs]: Likewise. [description]: Add meaniglfull description of the package variant. [license]: List mentioned in the project. Change-Id: I5fd7209f9e03fe8071a8c55e413664745f85a2a8
This commit is contained in:
parent
91a8192734
commit
475e8802c3
1 changed files with 30 additions and 9 deletions
|
@ -6,6 +6,7 @@
|
||||||
;;; Copyright © 2023 Camilo Q.S. (Distopico) <distopico@riseup.net>
|
;;; Copyright © 2023 Camilo Q.S. (Distopico) <distopico@riseup.net>
|
||||||
;;; Copyright © 2024 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2024 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2024 dan <i@dan.games>
|
;;; Copyright © 2024 dan <i@dan.games>
|
||||||
|
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -80,6 +81,7 @@
|
||||||
#:use-module (guix build-system copy)
|
#:use-module (guix build-system copy)
|
||||||
#:use-module (guix build-system glib-or-gtk)
|
#:use-module (guix build-system glib-or-gtk)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
|
#:use-module (guix build-system meson)
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system python)
|
||||||
#:use-module (guix build-system qt))
|
#:use-module (guix build-system qt))
|
||||||
|
|
||||||
|
@ -370,25 +372,44 @@ Telegram project, for its use in telegram desktop client.")
|
||||||
(revision "678"))
|
(revision "678"))
|
||||||
(hidden-package
|
(hidden-package
|
||||||
(package
|
(package
|
||||||
(inherit rlottie)
|
(name "rlottie-for-telegram-desktop")
|
||||||
(version
|
(version (git-version "0.0.1" revision commit))
|
||||||
(git-version "0.0.1" revision commit))
|
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri
|
(uri (git-reference
|
||||||
(git-reference
|
(url "https://github.com/desktop-app/rlottie.git")
|
||||||
(url "https://github.com/desktop-app/rlottie.git")
|
(commit commit)))
|
||||||
(commit commit)))
|
|
||||||
(file-name
|
(file-name
|
||||||
(git-file-name "rlottie-for-telegram-desktop" version))
|
(git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "14gwg3sn6xdx9ymnx5r0vfm4pk8dwk92s10a1wdvfbjpyrxll64i"))
|
(base32 "14gwg3sn6xdx9ymnx5r0vfm4pk8dwk92s10a1wdvfbjpyrxll64i"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
#~(begin
|
#~(begin
|
||||||
(substitute* "meson.build"
|
(substitute* "meson.build"
|
||||||
(("werror=true") "werror=false"))))))))))
|
(("werror=true") "werror=false"))))))
|
||||||
|
(build-system meson-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:configure-flags #~(list
|
||||||
|
"-Dlog=true"
|
||||||
|
"-Dtest=true"
|
||||||
|
"-Dcpp_std=gnu++17")))
|
||||||
|
(native-inputs
|
||||||
|
(list googletest
|
||||||
|
pkg-config))
|
||||||
|
(synopsis "Rlottie for Telegram desktop")
|
||||||
|
(home-page "https://github.com/desktop-app/rlottie")
|
||||||
|
(description
|
||||||
|
"This package is an alternative fork of
|
||||||
|
https://github.com/Samsung/rlottie with changes adopted for Telegram desktop
|
||||||
|
and not propagated to upstream.")
|
||||||
|
;; All Licenses are listed in README and provided in licenses
|
||||||
|
;; directory.
|
||||||
|
(license (list license:bsd-3
|
||||||
|
license:expat
|
||||||
|
license:freetype
|
||||||
|
license:lgpl2.1+))))))
|
||||||
|
|
||||||
(define cld3-for-telegram-desktop
|
(define cld3-for-telegram-desktop
|
||||||
(origin
|
(origin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue