* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/
@ 2021-03-16 9:48 Mathieu Tortuyaux
0 siblings, 0 replies; 14+ messages in thread
From: Mathieu Tortuyaux @ 2021-03-16 9:48 UTC (permalink / raw
To: gentoo-commits
commit: fa8b7227e9c4af1ff07f1662ff4de153c041bb98
Author: Mathieu Tortuyaux <mathieu.tortuyaux <AT> gmail <DOT> com>
AuthorDate: Tue Mar 16 09:45:28 2021 +0000
Commit: Mathieu Tortuyaux <mathieu.tortuyaux <AT> gmail <DOT> com>
CommitDate: Tue Mar 16 09:46:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa8b7227
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 <AT> gmail.com>
media-libs/libbpg/metadata.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/media-libs/libbpg/metadata.xml b/media-libs/libbpg/metadata.xml
index f0651d33..37fa48cf 100644
--- a/media-libs/libbpg/metadata.xml
+++ b/media-libs/libbpg/metadata.xml
@@ -15,4 +15,10 @@
<email>fabrice@bellard.org</email>
</maintainer>
</upstream>
+ <use>
+ <flag name="x265"></flag>
+ <flag name="bpgview"></flag>
+ <flag name="jctvc"></flag>
+ <flag name="emcc"></flag>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/
@ 2021-03-16 11:15 Mathieu Tortuyaux
0 siblings, 0 replies; 14+ messages in thread
From: Mathieu Tortuyaux @ 2021-03-16 11:15 UTC (permalink / raw
To: gentoo-commits
commit: 969240c9b57af98ad99ba0bbb3bbdec6914a976f
Author: Mathieu Tortuyaux <mathieu.tortuyaux <AT> gmail <DOT> com>
AuthorDate: Tue Mar 16 11:14:36 2021 +0000
Commit: Mathieu Tortuyaux <mathieu.tortuyaux <AT> gmail <DOT> com>
CommitDate: Tue Mar 16 11:14:50 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=969240c9
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 <AT> gmail.com>
media-libs/libbpg/metadata.xml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/media-libs/libbpg/metadata.xml b/media-libs/libbpg/metadata.xml
index 37fa48cf..2be5a7ee 100644
--- a/media-libs/libbpg/metadata.xml
+++ b/media-libs/libbpg/metadata.xml
@@ -16,9 +16,10 @@
</maintainer>
</upstream>
<use>
- <flag name="x265"></flag>
- <flag name="bpgview"></flag>
- <flag name="jctvc"></flag>
- <flag name="emcc"></flag>
+ <!-- useflag description copied from the Makefile -->
+ <flag name="x265">Enable x265 for the encoder</flag>
+ <flag name="bpgview">Compile bpgview (<pkg>media-libs/libsdl</pkg> and <pkg>media-libs/sdl-image</pkg> needed)</flag>
+ <flag name="jctvc">Enable the JCTVC code (best quality but slow) for the encoder</flag>
+ <flag name="emcc">Enable compilation of Javascript decoder with Emscripten</flag>
</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/
@ 2021-03-28 10:17 Andrew Ammerlaan
0 siblings, 0 replies; 14+ messages in thread
From: Andrew Ammerlaan @ 2021-03-28 10:17 UTC (permalink / raw
To: gentoo-commits
commit: 7e6047b68a657a66b62ce0dc13a0feffcc907f3d
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 28 10:14:46 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 28 10:17:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7e6047b6
media-libs/libbpg: fix HomepageInSrcUri
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
media-libs/libbpg/libbpg-0.9.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/libbpg/libbpg-0.9.8.ebuild b/media-libs/libbpg/libbpg-0.9.8.ebuild
index 6092cdf72..e1120b791 100644
--- a/media-libs/libbpg/libbpg-0.9.8.ebuild
+++ b/media-libs/libbpg/libbpg-0.9.8.ebuild
@@ -5,7 +5,7 @@ EAPI=7
DESCRIPTION="Better Portable Graphics reference implementation"
HOMEPAGE="https://bellard.org/bpg/"
-SRC_URI="${HOMEPAGE}/${P}.tar.gz"
+SRC_URI="https://bellard.org/bpg/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/
@ 2021-04-30 20:01 Ronny Gutbrod
0 siblings, 0 replies; 14+ messages in thread
From: Ronny Gutbrod @ 2021-04-30 20:01 UTC (permalink / raw
To: gentoo-commits
commit: abae8dd6d869f6709c3513e7f796a31a1d2a7e5a
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Fri Apr 30 18:17:19 2021 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Fri Apr 30 19:57:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=abae8dd6
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 <AT> tastytea.de>
media-libs/libbpg/libbpg-0.9.8.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/media-libs/libbpg/libbpg-0.9.8.ebuild b/media-libs/libbpg/libbpg-0.9.8.ebuild
index e1120b791..1d8149d0c 100644
--- a/media-libs/libbpg/libbpg-0.9.8.ebuild
+++ b/media-libs/libbpg/libbpg-0.9.8.ebuild
@@ -3,6 +3,8 @@
EAPI=7
+inherit toolchain-funcs
+
DESCRIPTION="Better Portable Graphics reference implementation"
HOMEPAGE="https://bellard.org/bpg/"
SRC_URI="https://bellard.org/bpg/${P}.tar.gz"
@@ -51,7 +53,9 @@ src_compile() {
$(usex x265 USE_X265=y '') \
$(usex bpgview USE_BPGVIEW=y '') \
$(usex jctvc USE_JCTVC=y '') \
- $(usex emcc USE_EMCC=y '')
+ $(usex emcc USE_EMCC=y '') \
+ CXX="$(tc-getCXX)" \
+ CC="$(tc-getCC)"
}
src_install() {
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/
@ 2021-04-30 20:56 Ronny Gutbrod
0 siblings, 0 replies; 14+ messages in thread
From: Ronny Gutbrod @ 2021-04-30 20:56 UTC (permalink / raw
To: gentoo-commits
commit: 5dd356ea48b792c0578217ccd754004f616ebc53
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Fri Apr 30 20:33:55 2021 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Fri Apr 30 20:56:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5dd356ea
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 <AT> tastytea.de>
media-libs/libbpg/libbpg-0.9.8.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/media-libs/libbpg/libbpg-0.9.8.ebuild b/media-libs/libbpg/libbpg-0.9.8.ebuild
index 1d8149d0c..265654470 100644
--- a/media-libs/libbpg/libbpg-0.9.8.ebuild
+++ b/media-libs/libbpg/libbpg-0.9.8.ebuild
@@ -21,7 +21,7 @@ PATCHES=(
"${FILESDIR}"/${P}-add-fpic.patch
)
-DEPEND=""
+DEPEND="sys-process/numactl"
RDEPEND="${DEPEND}"
BDEPEND="
media-video/ffmpeg
@@ -29,6 +29,7 @@ BDEPEND="
virtual/jpeg
bpgview? ( media-libs/sdl-image )
bpgview? ( media-libs/libsdl )
+ dev-lang/yasm
"
src_prepare() {
@@ -55,7 +56,8 @@ src_compile() {
$(usex jctvc USE_JCTVC=y '') \
$(usex emcc USE_EMCC=y '') \
CXX="$(tc-getCXX)" \
- CC="$(tc-getCC)"
+ CC="$(tc-getCC)" \
+ LIBS="-lrt -lm -lpthread -lnuma"
}
src_install() {
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/
@ 2021-04-30 21:24 Ronny Gutbrod
0 siblings, 0 replies; 14+ messages in thread
From: Ronny Gutbrod @ 2021-04-30 21:24 UTC (permalink / raw
To: gentoo-commits
commit: df1e257df34f747a64701354a4e33d9fc35e56b2
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Fri Apr 30 21:18:30 2021 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Fri Apr 30 21:19:38 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=df1e257d
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 <AT> tastytea.de>
media-libs/libbpg/libbpg-0.9.8.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/media-libs/libbpg/libbpg-0.9.8.ebuild b/media-libs/libbpg/libbpg-0.9.8.ebuild
index 265654470..07640fa3d 100644
--- a/media-libs/libbpg/libbpg-0.9.8.ebuild
+++ b/media-libs/libbpg/libbpg-0.9.8.ebuild
@@ -47,6 +47,8 @@ Version: ${PV}
Libs: "-L\${libdir}" -lbpg
Cflags: "-I\${includedir}"
EOF
+
+ sed -Ei 's/^(X265_LIBS:=.+\.a)$/\1 -lnuma/' Makefile || die
}
src_compile() {
@@ -56,8 +58,7 @@ src_compile() {
$(usex jctvc USE_JCTVC=y '') \
$(usex emcc USE_EMCC=y '') \
CXX="$(tc-getCXX)" \
- CC="$(tc-getCC)" \
- LIBS="-lrt -lm -lpthread -lnuma"
+ CC="$(tc-getCC)"
}
src_install() {
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/
@ 2022-05-09 18:40 Andrew Ammerlaan
0 siblings, 0 replies; 14+ messages in thread
From: Andrew Ammerlaan @ 2022-05-09 18:40 UTC (permalink / raw
To: gentoo-commits
commit: d696ffc9f9b764350d9c716b6dc39aa2725757a2
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon May 9 18:38:30 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon May 9 18:38:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d696ffc9
media-libs/libbpg: virtual/jpeg --> media-libs/libjpeg-turbo
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
media-libs/libbpg/libbpg-0.9.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/libbpg/libbpg-0.9.8.ebuild b/media-libs/libbpg/libbpg-0.9.8.ebuild
index 07640fa3d..a8eb89509 100644
--- a/media-libs/libbpg/libbpg-0.9.8.ebuild
+++ b/media-libs/libbpg/libbpg-0.9.8.ebuild
@@ -26,7 +26,7 @@ RDEPEND="${DEPEND}"
BDEPEND="
media-video/ffmpeg
media-libs/libpng
- virtual/jpeg
+ media-libs/libjpeg-turbo
bpgview? ( media-libs/sdl-image )
bpgview? ( media-libs/libsdl )
dev-lang/yasm
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/
@ 2023-09-17 22:40 Lucio Sauer
0 siblings, 0 replies; 14+ messages in thread
From: Lucio Sauer @ 2023-09-17 22:40 UTC (permalink / raw
To: gentoo-commits
commit: bcf3a6ade170ced961261d2886d11e5e5f353517
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Sep 17 20:44:58 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Sep 17 22:39:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bcf3a6ad
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 <AT> posteo.net>
media-libs/libbpg/libbpg-0.9.8-r1.ebuild | 29 ++++++++++++++---------------
1 file changed, 14 insertions(+), 15 deletions(-)
diff --git a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
index 14cf564803..e434918187 100644
--- a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
+++ b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://bellard.org/bpg/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="+x265 bpgview jctvc emcc static-libs"
+IUSE="bpgview jctvc"
PATCHES=(
"${FILESDIR}"/${P}-remove-forced-options.patch
@@ -20,21 +20,23 @@ PATCHES=(
"${FILESDIR}"/${P}-add-chost.patch
"${FILESDIR}"/${P}-add-fpic.patch
)
+
+# Libnuma is a dependency of the default (x265) encoder.
DEPEND="
media-libs/libjpeg-turbo:=
media-libs/libpng:=
- x265? ( sys-process/numactl )
+ sys-process/numactl
bpgview? (
media-libs/sdl-image
media-libs/libsdl
)
"
RDEPEND="${DEPEND}"
+# Strictly speaking, these are the default (x265) encoder's build time
+# dependencies.
BDEPEND="
- x265? (
- dev-lang/yasm
- dev-util/cmake
- )
+ dev-lang/yasm
+ dev-util/cmake
"
src_prepare() {
@@ -58,10 +60,9 @@ EOF
src_compile() {
emake \
- $(usex x265 USE_X265=y '') \
+ USE_X265=y \
$(usex bpgview USE_BPGVIEW=y '') \
$(usex jctvc USE_JCTVC=y '') \
- $(usex emcc USE_EMCC=y '') \
CXX="$(tc-getCXX)" \
CC="$(tc-getCC)"
}
@@ -74,12 +75,10 @@ src_install() {
dobin bpgview
fi
- if use static-libs; then
- dolib.a libbpg.a
- doheader libbpg.h
- doheader bpgenc.h
+ dolib.a libbpg.a
+ doheader libbpg.h
+ doheader bpgenc.h
- insinto /usr/$(get_libdir)/pkgconfig
- doins ${PN}.pc
- fi
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins ${PN}.pc
}
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/
@ 2023-09-17 22:40 Lucio Sauer
0 siblings, 0 replies; 14+ messages in thread
From: Lucio Sauer @ 2023-09-17 22:40 UTC (permalink / raw
To: gentoo-commits
commit: a65a6df9f3b30665b3c15ab2b19bc75080f804f6
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Sep 17 20:46:39 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Sep 17 22:39:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a65a6df9
media-libs/libbpg: update LICENSE
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
media-libs/libbpg/libbpg-0.9.8-r1.ebuild | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
index e434918187..cd838d7e28 100644
--- a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
+++ b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
@@ -9,7 +9,26 @@ DESCRIPTION="Better Portable Graphics reference implementation"
HOMEPAGE="https://bellard.org/bpg/"
SRC_URI="https://bellard.org/bpg/${P}.tar.gz"
-LICENSE="LGPL-2.1"
+# The BPG decoding library and executable excluding the FFMPEG code as well as
+# the BPG Javscript decoder are licensed under the MIT license.
+LICENSE="MIT"
+# The program bundles several 3rd-party libraries:
+#
+# The BPG decoding libary and executable use:
+# A modified version of FFMPEG - It is stripped of all codecs except HEVC and
+# the necessary support code and thus licensed under LGPL-2.1.
+# - libavcodec/*
+# - libavutil/*
+#
+# The BPG encoder supports the x265 library and the JCT-VC HEVC reference encoder:
+# The modified version of the x265 library - licensed under GPL-2.
+# - x265/*
+#
+# JCT-VC HEVC reference encoder - licensed under the 3-clause BSD license.
+# - jctvc/*
+LICENSE+=" LGPL-2.1 GPL-2
+ jctvc? ( BSD )
+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="bpgview jctvc"
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/
@ 2023-09-17 22:40 Lucio Sauer
0 siblings, 0 replies; 14+ messages in thread
From: Lucio Sauer @ 2023-09-17 22:40 UTC (permalink / raw
To: gentoo-commits
commit: 98dfa2cc5b976128f8721390f1580a7d468a4b72
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Sep 17 20:15:05 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Sep 17 22:39:10 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=98dfa2cc
media-libs/libbpg: update EAPI 7 -> 8
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
media-libs/libbpg/libbpg-0.9.8.ebuild | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/media-libs/libbpg/libbpg-0.9.8.ebuild b/media-libs/libbpg/libbpg-0.9.8.ebuild
index a8eb89509e..2ddb534092 100644
--- a/media-libs/libbpg/libbpg-0.9.8.ebuild
+++ b/media-libs/libbpg/libbpg-0.9.8.ebuild
@@ -1,7 +1,7 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit toolchain-funcs
@@ -27,8 +27,8 @@ BDEPEND="
media-video/ffmpeg
media-libs/libpng
media-libs/libjpeg-turbo
- bpgview? ( media-libs/sdl-image )
- bpgview? ( media-libs/libsdl )
+ bpgview? ( media-libs/sdl-image
+ media-libs/libsdl )
dev-lang/yasm
"
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/
@ 2023-09-17 22:40 Lucio Sauer
0 siblings, 0 replies; 14+ messages in thread
From: Lucio Sauer @ 2023-09-17 22:40 UTC (permalink / raw
To: gentoo-commits
commit: 989921567507d9b8a7c2f949ee8ca980b40f162b
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Sep 17 20:20:59 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Sep 17 22:39:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=98992156
media-libs/libbpg: update dependencies
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
media-libs/libbpg/libbpg-0.9.8-r1.ebuild | 85 ++++++++++++++++++++++++++++++++
1 file changed, 85 insertions(+)
diff --git a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
new file mode 100644
index 0000000000..14cf564803
--- /dev/null
+++ b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Better Portable Graphics reference implementation"
+HOMEPAGE="https://bellard.org/bpg/"
+SRC_URI="https://bellard.org/bpg/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+x265 bpgview jctvc emcc static-libs"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-remove-forced-options.patch
+ "${FILESDIR}"/${P}-dont-strip-bins.patch
+ "${FILESDIR}"/${P}-add-chost.patch
+ "${FILESDIR}"/${P}-add-fpic.patch
+)
+DEPEND="
+ media-libs/libjpeg-turbo:=
+ media-libs/libpng:=
+ x265? ( sys-process/numactl )
+ bpgview? (
+ media-libs/sdl-image
+ media-libs/libsdl
+ )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ x265? (
+ dev-lang/yasm
+ dev-util/cmake
+ )
+"
+
+src_prepare() {
+ default
+
+ cat <<EOF > ${PN}.pc
+prefix="${EPREFIX}/usr"
+libdir="\${prefix}/$(get_libdir)"
+includedir="\${prefix}/include"
+
+Name: ${PN}
+Description: ${DESCRIPTION}
+URL: ${HOMEPAGE}
+Version: ${PV}
+Libs: "-L\${libdir}" -lbpg
+Cflags: "-I\${includedir}"
+EOF
+
+ sed -Ei 's/^(X265_LIBS:=.+\.a)$/\1 -lnuma/' Makefile || die
+}
+
+src_compile() {
+ emake \
+ $(usex x265 USE_X265=y '') \
+ $(usex bpgview USE_BPGVIEW=y '') \
+ $(usex jctvc USE_JCTVC=y '') \
+ $(usex emcc USE_EMCC=y '') \
+ CXX="$(tc-getCXX)" \
+ CC="$(tc-getCC)"
+}
+
+src_install() {
+ mkdir -p "${D}"/usr/bin
+ emake prefix="${D}"/usr install
+
+ if use bpgview; then
+ dobin bpgview
+ fi
+
+ if use static-libs; then
+ dolib.a libbpg.a
+ doheader libbpg.h
+ doheader bpgenc.h
+
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins ${PN}.pc
+ fi
+}
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/
@ 2023-09-17 22:40 Lucio Sauer
0 siblings, 0 replies; 14+ messages in thread
From: Lucio Sauer @ 2023-09-17 22:40 UTC (permalink / raw
To: gentoo-commits
commit: 0dd9a2fc1855ae861be123a349c6b8be96450637
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Sep 17 20:43:36 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Sep 17 22:39:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0dd9a2fc
media-libs/libbpg: drop 0.9.8
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
media-libs/libbpg/libbpg-0.9.8.ebuild | 80 -----------------------------------
media-libs/libbpg/metadata.xml | 2 -
2 files changed, 82 deletions(-)
diff --git a/media-libs/libbpg/libbpg-0.9.8.ebuild b/media-libs/libbpg/libbpg-0.9.8.ebuild
deleted file mode 100644
index 2ddb534092..0000000000
--- a/media-libs/libbpg/libbpg-0.9.8.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 2021-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Better Portable Graphics reference implementation"
-HOMEPAGE="https://bellard.org/bpg/"
-SRC_URI="https://bellard.org/bpg/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+x265 bpgview jctvc emcc static-libs"
-
-PATCHES=(
- "${FILESDIR}"/${P}-remove-forced-options.patch
- "${FILESDIR}"/${P}-dont-strip-bins.patch
- "${FILESDIR}"/${P}-add-chost.patch
- "${FILESDIR}"/${P}-add-fpic.patch
-)
-
-DEPEND="sys-process/numactl"
-RDEPEND="${DEPEND}"
-BDEPEND="
- media-video/ffmpeg
- media-libs/libpng
- media-libs/libjpeg-turbo
- bpgview? ( media-libs/sdl-image
- media-libs/libsdl )
- dev-lang/yasm
-"
-
-src_prepare() {
- default
-
- cat <<EOF > ${PN}.pc
-prefix="${EPREFIX}/usr"
-libdir="\${prefix}/$(get_libdir)"
-includedir="\${prefix}/include"
-
-Name: ${PN}
-Description: ${DESCRIPTION}
-URL: ${HOMEPAGE}
-Version: ${PV}
-Libs: "-L\${libdir}" -lbpg
-Cflags: "-I\${includedir}"
-EOF
-
- sed -Ei 's/^(X265_LIBS:=.+\.a)$/\1 -lnuma/' Makefile || die
-}
-
-src_compile() {
- emake \
- $(usex x265 USE_X265=y '') \
- $(usex bpgview USE_BPGVIEW=y '') \
- $(usex jctvc USE_JCTVC=y '') \
- $(usex emcc USE_EMCC=y '') \
- CXX="$(tc-getCXX)" \
- CC="$(tc-getCC)"
-}
-
-src_install() {
- mkdir -p "${D}"/usr/bin
- emake prefix="${D}"/usr install
-
- if use bpgview; then
- dobin bpgview
- fi
-
- if use static-libs; then
- dolib.a libbpg.a
- doheader libbpg.h
- doheader bpgenc.h
-
- insinto /usr/$(get_libdir)/pkgconfig
- doins ${PN}.pc
- fi
-}
diff --git a/media-libs/libbpg/metadata.xml b/media-libs/libbpg/metadata.xml
index 1311f9d056..c74e0b7dc5 100644
--- a/media-libs/libbpg/metadata.xml
+++ b/media-libs/libbpg/metadata.xml
@@ -17,9 +17,7 @@
</upstream>
<use>
<!-- useflag description copied from the Makefile -->
- <flag name="x265">Enable x265 for the encoder</flag>
<flag name="bpgview">Compile bpgview (<pkg>media-libs/libsdl</pkg> and <pkg>media-libs/sdl-image</pkg> needed)</flag>
<flag name="jctvc">Enable the JCTVC code (best quality but slow) for the encoder</flag>
- <flag name="emcc">Enable compilation of Javascript decoder with Emscripten</flag>
</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/
@ 2023-09-17 22:40 Lucio Sauer
0 siblings, 0 replies; 14+ messages in thread
From: Lucio Sauer @ 2023-09-17 22:40 UTC (permalink / raw
To: gentoo-commits
commit: 41dfeea42dc365c5434c74861421f4f3c50f48d7
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Sep 17 22:18:59 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Sep 17 22:39:21 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41dfeea4
media-libs/libbpg: respect offset-prefix of image directory
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
media-libs/libbpg/libbpg-0.9.8-r1.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
index 5e4b64708b..b287d4de67 100644
--- a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
+++ b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
@@ -90,8 +90,9 @@ src_compile() {
}
src_install() {
- mkdir -p "${D}"/usr/bin
- emake prefix="${D}"/usr install
+ mkdir -p "${ED}"/usr/bin || die
+ # We never called configure with --prefix="${EPREFIX}"/usr or similar
+ emake prefix="${ED}"/usr install
if use bpgview; then
dobin bpgview
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/
@ 2023-09-17 22:40 Lucio Sauer
0 siblings, 0 replies; 14+ messages in thread
From: Lucio Sauer @ 2023-09-17 22:40 UTC (permalink / raw
To: gentoo-commits
commit: d4ba4a1172df776e6893105ccd60fe6e87791cc2
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sun Sep 17 22:20:38 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Sep 17 22:39:22 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d4ba4a11
media-libs/libbpg: install documentation and merge doheader calls
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
media-libs/libbpg/libbpg-0.9.8-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
index b287d4de67..39b72bf97e 100644
--- a/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
+++ b/media-libs/libbpg/libbpg-0.9.8-r1.ebuild
@@ -93,14 +93,14 @@ src_install() {
mkdir -p "${ED}"/usr/bin || die
# We never called configure with --prefix="${EPREFIX}"/usr or similar
emake prefix="${ED}"/usr install
+ einstalldocs
if use bpgview; then
dobin bpgview
fi
dolib.a libbpg.a
- doheader libbpg.h
- doheader bpgenc.h
+ doheader libbpg.h bpgenc.h
insinto /usr/$(get_libdir)/pkgconfig
doins ${PN}.pc
^ permalink raw reply related [flat|nested] 14+ messages in thread
end of thread, other threads:[~2023-09-17 22:40 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-28 10:17 [gentoo-commits] repo/proj/guru:dev commit in: media-libs/libbpg/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2023-09-17 22:40 Lucio Sauer
2023-09-17 22:40 Lucio Sauer
2023-09-17 22:40 Lucio Sauer
2023-09-17 22:40 Lucio Sauer
2023-09-17 22:40 Lucio Sauer
2023-09-17 22:40 Lucio Sauer
2023-09-17 22:40 Lucio Sauer
2022-05-09 18:40 Andrew Ammerlaan
2021-04-30 21:24 Ronny Gutbrod
2021-04-30 20:56 Ronny Gutbrod
2021-04-30 20:01 Ronny Gutbrod
2021-03-16 11:15 Mathieu Tortuyaux
2021-03-16 9:48 Mathieu Tortuyaux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox