diff options
| author | Sergey Trofimov <sarg@sarg.org.ru> | 2026-01-28 14:43:27 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:51 +0100 |
| commit | fbc5fa1d10fe2b35da12c30caec00e6c923d028e (patch) | |
| tree | 57fbfc8ff2680d645aeadb3d2efd639f07c8ac2c /gnu/packages/image.scm | |
| parent | 7e917411d5ff3e7b03eb3fde3a68b9b1637fa794 (diff) | |
gnu: libyuv: Update to 1922.
* gnu/packages/image.scm (libyuv): Update to 1922.
[arguments]<#:configure-flags>: Add -DUNIT_TEST=ON.
<#:phases>: Replace 'check with custom test.
[inputs]: Add libjpeg-turbo.
[native-inputs]: Add googletest.
* gnu/packages/image.scm (libyuv-prev): Package wrongly versioned
libyuv@2021.4 to be superseded by libyuv.
Change-Id: I0ddad9890230f1d670ead46038ad90c051539120
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/image.scm')
| -rw-r--r-- | gnu/packages/image.scm | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index f61e5db790b..6c518b5e816 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm | |||
| @@ -3106,17 +3106,30 @@ your terminal.") | |||
| 3106 | (define-public libyuv | 3106 | (define-public libyuv |
| 3107 | (package | 3107 | (package |
| 3108 | (name "libyuv") | 3108 | (name "libyuv") |
| 3109 | (version "2021.4") | 3109 | (version "1922") |
| 3110 | (source | 3110 | (source |
| 3111 | (origin | 3111 | (origin |
| 3112 | (method git-fetch) | 3112 | (method git-fetch) |
| 3113 | (uri (git-reference | 3113 | (uri (git-reference |
| 3114 | (url "https://chromium.googlesource.com/libyuv/libyuv") | 3114 | (url "https://chromium.googlesource.com/libyuv/libyuv") |
| 3115 | (commit "4620f1705822fd6ab99939f43ce63099bd3d9ae0"))) | 3115 | ;; corresponds to version increase in include/libyuv/version.h |
| 3116 | (commit "500f45652c459cfccd20f83f297eb66cb7b015cb"))) | ||
| 3116 | (sha256 | 3117 | (sha256 |
| 3117 | (base32 "17vdm2g5qvrby7xa3agiqwh7ips33dxg6sw18s3q2xkfil4xw3mm")))) | 3118 | (base32 "0lmmag8rlpsbq5qg7cv89dcm5j7r0rbbsmjnkg8f5ld29mdd50y3")))) |
| 3118 | (build-system cmake-build-system) | 3119 | (build-system cmake-build-system) |
| 3119 | (arguments (list #:tests? #f)) | 3120 | (arguments |
| 3121 | (list | ||
| 3122 | #:configure-flags | ||
| 3123 | #~(list "-DUNIT_TEST=ON") | ||
| 3124 | #:phases | ||
| 3125 | #~(modify-phases %standard-phases | ||
| 3126 | (replace 'check | ||
| 3127 | (lambda _ | ||
| 3128 | ;; tests are configured in GN instead of ctest | ||
| 3129 | ;; invoke them manually | ||
| 3130 | (invoke "./libyuv_unittest")))))) | ||
| 3131 | (inputs (list libjpeg-turbo)) | ||
| 3132 | (native-inputs (list googletest)) | ||
| 3120 | (home-page "https://chromium.googlesource.com/libyuv/libyuv/") | 3133 | (home-page "https://chromium.googlesource.com/libyuv/libyuv/") |
| 3121 | (synopsis "YUV scaling and conversion functionality") | 3134 | (synopsis "YUV scaling and conversion functionality") |
| 3122 | (description "libyuv is an open source project that includes YUV scaling and | 3135 | (description "libyuv is an open source project that includes YUV scaling and |
| @@ -3129,3 +3142,9 @@ filter. | |||
| 3129 | @item Rotate by 90/180/270 degrees to adjust for mobile devices in portrait mode. | 3142 | @item Rotate by 90/180/270 degrees to adjust for mobile devices in portrait mode. |
| 3130 | @end itemize") | 3143 | @end itemize") |
| 3131 | (license license:expat))) | 3144 | (license license:expat))) |
| 3145 | |||
| 3146 | (define-public libyuv-prev | ||
| 3147 | (package | ||
| 3148 | (inherit libyuv) | ||
| 3149 | (version "2021.4") | ||
| 3150 | (properties `((superseded . ,libyuv))))) | ||
