Commit Graph

23 Commits

Author SHA1 Message Date
Anna (cybertailor) Vyalkova
20acb00c4c */*: {dev-util → dev-build}/cmake
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2024-01-15 08:14:29 +05:00
Lucio Sauer
d4ba4a1172 media-libs/libbpg: install documentation and merge doheader calls
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2023-09-18 00:39:22 +02:00
Lucio Sauer
41dfeea42d media-libs/libbpg: respect offset-prefix of image directory
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2023-09-18 00:39:21 +02:00
Lucio Sauer
8b8998ecfc media-libs/libbpg: fix implicit declaration of string function
The patch has not yet upstreamed.

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2023-09-18 00:39:20 +02:00
Lucio Sauer
772108d69d media-libs/libbpg: Honor AR, CC and CXX from the user environment
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2023-09-18 00:39:20 +02:00
Lucio Sauer
f764b3ff11 media-libs/libbpg: respect LD, CXX and CFLAGS from the user enviroment
Closes: https://bugs.gentoo.org/787683
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2023-09-18 00:39:19 +02:00
Lucio Sauer
1c99f90388 media-libs/libbpg: add noexec .note.GNU-stack sections for elf32 and elf64
Closes: https://bugs.gentoo.org/787686
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2023-09-18 00:39:18 +02:00
Lucio Sauer
3cc06aa1e8 media-libs/libbpg: remove unused CMake variable
MAIN12 is the compile time switch to toggle between bit depths of 12 and
10 bits. MAIN10 was unused.

Closes: https://bugs.gentoo.org/840377
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2023-09-18 00:39:18 +02:00
Lucio Sauer
a65a6df9f3 media-libs/libbpg: update LICENSE
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2023-09-18 00:39:17 +02:00
Lucio Sauer
bcf3a6ade1 media-libs/libbpg: remove USE flags emcc, static-libs, x265
- Emscripten is neither packaged in ::gentoo nor in ::guru.
- The build system unconditionally builds a static library.
  Upstream argues that the BPG decoding library API is not stable yet
  and does not provide a shared library (yet).
  Let's ship the already available static library then.
- Enable fast x265 as a sensible default for the BPG encoder instead
  of setting REQUIRED_USE="|| ( x265 jctcv )".

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2023-09-18 00:39:16 +02:00
Lucio Sauer
0dd9a2fc18 media-libs/libbpg: drop 0.9.8
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2023-09-18 00:39:15 +02:00
Lucio Sauer
9899215675 media-libs/libbpg: update dependencies
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2023-09-18 00:39:15 +02:00
Lucio Sauer
98dfa2cc5b media-libs/libbpg: update EAPI 7 -> 8
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
2023-09-18 00:39:10 +02:00
Anna (cybertailor) Vyalkova
1e95f22062 */*: update metadata schema uri
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2023-03-04 18:56:32 +05:00
Andrew Ammerlaan
d696ffc9f9 media-libs/libbpg: virtual/jpeg --> media-libs/libjpeg-turbo
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2022-05-09 20:38:30 +02:00
Ronny (tastytea) Gutbrod
df1e257df3 media-libs/libbpg: Add -lnuma to X265_LIBS instead of to LIBS.
X265_LIBS is only used in bpgenc binary, LIBS in bpgenc bpgdec and
bpgview.

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
2021-04-30 23:19:38 +02:00
Ronny (tastytea) Gutbrod
5dd356ea48 media-libs/libbpg: Add missing dependencies.
libnuma support is optional. If sys-process/numactl is installed, it
will be used, if not, not. The check for libnuma happens in CMake, which
is called by the Makefile. But the Makefile also needs to know if it
should link in libnuma or not. No one tells it. I chose the easy way out
of this pickle, made libnuma mandatory and added `-lnuma` to LIBS.

Closes: https://bugs.gentoo.org/781113
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
2021-04-30 22:56:25 +02:00
Ronny (tastytea) Gutbrod
abae8dd6d8 media-libs/libbpg: Set CC and CXX for CMake.
CMake is called from the Makefile and it can't find the compilers if
there are no `cc` and `cxx` symlinks. Inheriting cmake.eclass would
require us to run cmake_src_prepare which would interfere with
upstream's build system.

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
2021-04-30 21:57:19 +02:00
Andrew Ammerlaan
7e6047b68a media-libs/libbpg: fix HomepageInSrcUri
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-03-28 12:17:44 +02:00
Mathieu Tortuyaux
969240c9b5 media-libs/libbpg: add iuse flag descriptions
copied from https://github.com/mirrorer/libbpg/blob/master/Makefile

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mathieu Tortuyaux <mathieu.tortuyaux@gmail.com>
2021-03-16 12:14:50 +01:00
Mathieu Tortuyaux
fa8b7227e9 media-libs/libbpg: makes repoman happy
add iuse flags definition

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mathieu Tortuyaux <mathieu.tortuyaux@gmail.com>
2021-03-16 10:46:09 +01:00
Michele Santullo
b55c5a7e8f media-libs/libbpg: add fPIC or lib doesn't link to other libs
Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --force
Signed-off-by: Michele Santullo <m.santullo@posteo.net>
2021-03-15 21:13:56 +01:00
Michele Santullo
0b9dc090db media-libs/libbpg: new package
Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --force
Signed-off-by: Michele Santullo <m.santullo@posteo.net>
2021-03-15 19:40:06 +01:00