mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 18:12:39 +01:00
Compare commits
2 Commits
3811b5e936
...
39961cb586
| Author | SHA1 | Date | |
|---|---|---|---|
|
39961cb586
|
|||
|
2c3a7168bd
|
64
media-video/bento4/bento4-1.6.0.641.ebuild
Normal file
64
media-video/bento4/bento4-1.6.0.641.ebuild
Normal file
@@ -0,0 +1,64 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Bento4 tools designed to read and write ISO-MP4 files"
|
||||
HOMEPAGE="
|
||||
https://www.bento4.com/
|
||||
https://github.com/axiomatic-systems/Bento4
|
||||
"
|
||||
|
||||
IUSE="+apps"
|
||||
|
||||
MY_PV="$(ver_cut 1-3)-$(ver_cut 4)"
|
||||
|
||||
SRC_URI="https://github.com/axiomatic-systems/Bento4/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
|
||||
S="${WORKDIR}/${PN^}-${MY_PV}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's#ap4 STATIC#ap4 SHARED#g' CMakeLists.txt
|
||||
sed -e 's#@BENTO4_VERSION@#'${MY_PV}'#g' "${FILESDIR}"/bento4.pc.in > bento4.pc
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_SKIP_BUILD_RPATH=ON
|
||||
-DBUILD_APPS=$(usex apps ON OFF)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
# Avoid conflicts with media-libs/libmp4v2[utils]
|
||||
mv mp4extract mp4extract-bento4 || die
|
||||
mv mp4info mp4info-bento4 || die
|
||||
|
||||
if use apps; then
|
||||
dobin aac2mp4 avcinfo fixaacsampledescription hevcinfo mp42aac mp42avc \
|
||||
mp42hevc mp42hls mp42ts mp4audioclip mp4compact mp4dcfpackager \
|
||||
mp4decrypt mp4diff mp4dump mp4edit mp4encrypt mp4extract-bento4 \
|
||||
mp4fragment mp4iframeindex mp4info-bento4 mp4mux mp4pssh mp4rtphintinfo \
|
||||
mp4split mp4tag
|
||||
fi
|
||||
|
||||
dolib.so libap4.so
|
||||
|
||||
insinto "${EPREFIX}"/usr/include/bento4
|
||||
doins ${S}/Source/C++/*/*.h
|
||||
|
||||
insinto "${EPREFIX}"/usr/$(get_libdir)/pkgconfig
|
||||
doins ${S}/bento4.pc
|
||||
|
||||
dodoc ${S}/Documents/LICENSE.txt
|
||||
}
|
||||
13
metadata/md5-cache/media-video/bento4-1.6.0.641
Normal file
13
metadata/md5-cache/media-video/bento4-1.6.0.641
Normal file
@@ -0,0 +1,13 @@
|
||||
BDEPEND=>=dev-util/ninja-1.8.2 >=dev-util/cmake-3.20.5
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DESCRIPTION=Bento4 tools designed to read and write ISO-MP4 files
|
||||
EAPI=8
|
||||
HOMEPAGE=https://www.bento4.com/ https://github.com/axiomatic-systems/Bento4
|
||||
INHERIT=cmake
|
||||
IUSE=+apps
|
||||
KEYWORDS=~x86 ~amd64
|
||||
LICENSE=GPL-2
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/axiomatic-systems/Bento4/archive/refs/tags/v1.6.0-641.tar.gz -> bento4-1.6.0.641.tar.gz
|
||||
_eclasses_=cmake 0f2e0c197fad0312f3c4765c9cf36271 flag-o-matic 6b3c606c5de2531072ffd36eca06a5a9 multilib c19072c3cd7ac5cb21de013f7e9832e0 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 39e7a84b06eff4efd9f2e0c3d1668b98 toolchain-funcs eed10cf5e5a06916e654d31f5a1925cc xdg-utils baea6080dd821f5562d715887954c9d3
|
||||
_md5_=f3a3ceae720a263b4327c9059c7b0443
|
||||
Reference in New Issue
Block a user