public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: media-libs/libbpg/
@ 2021-03-16 10:49 Andrew Ammerlaan
  0 siblings, 0 replies; 10+ messages in thread
From: Andrew Ammerlaan @ 2021-03-16 10:49 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:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: media-libs/libbpg/
@ 2021-03-16 13:08 Andrew Ammerlaan
  0 siblings, 0 replies; 10+ messages in thread
From: Andrew Ammerlaan @ 2021-03-16 13:08 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:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: media-libs/libbpg/
  2022-05-09 18:40 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2022-05-09 18:44 ` Andrew Ammerlaan
  0 siblings, 0 replies; 10+ messages in thread
From: Andrew Ammerlaan @ 2022-05-09 18:44 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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: media-libs/libbpg/
@ 2023-09-18 12:37 Florian Schmaus
  0 siblings, 0 replies; 10+ messages in thread
From: Florian Schmaus @ 2023-09-18 12:37 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:     Florian Schmaus <flow <AT> gentoo <DOT> org>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: media-libs/libbpg/
@ 2023-09-18 12:37 Florian Schmaus
  0 siblings, 0 replies; 10+ messages in thread
From: Florian Schmaus @ 2023-09-18 12:37 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:     Florian Schmaus <flow <AT> gentoo <DOT> org>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: media-libs/libbpg/
@ 2023-09-18 12:37 Florian Schmaus
  0 siblings, 0 replies; 10+ messages in thread
From: Florian Schmaus @ 2023-09-18 12:37 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:     Florian Schmaus <flow <AT> gentoo <DOT> org>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: media-libs/libbpg/
@ 2023-09-18 12:37 Florian Schmaus
  0 siblings, 0 replies; 10+ messages in thread
From: Florian Schmaus @ 2023-09-18 12:37 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:     Florian Schmaus <flow <AT> gentoo <DOT> org>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: media-libs/libbpg/
@ 2023-09-18 12:37 Florian Schmaus
  0 siblings, 0 replies; 10+ messages in thread
From: Florian Schmaus @ 2023-09-18 12:37 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:     Florian Schmaus <flow <AT> gentoo <DOT> org>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: media-libs/libbpg/
@ 2023-09-18 12:37 Florian Schmaus
  0 siblings, 0 replies; 10+ messages in thread
From: Florian Schmaus @ 2023-09-18 12:37 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:     Florian Schmaus <flow <AT> gentoo <DOT> org>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: media-libs/libbpg/
@ 2023-09-18 12:37 Florian Schmaus
  0 siblings, 0 replies; 10+ messages in thread
From: Florian Schmaus @ 2023-09-18 12:37 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:     Florian Schmaus <flow <AT> gentoo <DOT> org>
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] 10+ messages in thread

end of thread, other threads:[~2023-09-18 12:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-18 12:37 [gentoo-commits] repo/proj/guru:master commit in: media-libs/libbpg/ Florian Schmaus
  -- strict thread matches above, loose matches on Subject: below --
2023-09-18 12:37 Florian Schmaus
2023-09-18 12:37 Florian Schmaus
2023-09-18 12:37 Florian Schmaus
2023-09-18 12:37 Florian Schmaus
2023-09-18 12:37 Florian Schmaus
2023-09-18 12:37 Florian Schmaus
2022-05-09 18:40 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-05-09 18:44 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-03-16 13:08 Andrew Ammerlaan
2021-03-16 10:49 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox