1
0

dev-libs/juce: Bump to 6.0.7

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Ryan Fox <flewkey@2a03.party>
This commit is contained in:
Ryan Fox 2021-02-24 23:47:04 +00:00
parent c8a354a5e1
commit d6b8c247eb
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
2 changed files with 86 additions and 0 deletions

View File

@ -1,5 +1,7 @@
DIST juce-6.0.1.tar.gz 13944299 BLAKE2B d22677d3cd20ddccb39508746fca808a6be5e5f047270611190ecf5e333936e64f61b8c77cda4a8b314579e2cb587219f80f957e585fb057e064880d9fb4f5f6 SHA512 dbd014066ea4a674f743703f215b3dafacdba579f2ea0fe813c1428feaa65023acc5ac6f7bed6fc515c7f207eb6649c78f634007d5affcd01aab3b23b68afc0d DIST juce-6.0.1.tar.gz 13944299 BLAKE2B d22677d3cd20ddccb39508746fca808a6be5e5f047270611190ecf5e333936e64f61b8c77cda4a8b314579e2cb587219f80f957e585fb057e064880d9fb4f5f6 SHA512 dbd014066ea4a674f743703f215b3dafacdba579f2ea0fe813c1428feaa65023acc5ac6f7bed6fc515c7f207eb6649c78f634007d5affcd01aab3b23b68afc0d
DIST juce-6.0.4.tar.gz 13971011 BLAKE2B ab0626a68e97791f66a2c86d5d461f11d6c08fa75ac31b08cbc0c39a07b5274d224a5220611e46a53f72c65bbb6bdf8313c7a367ec3cb417d954f109bf592963 SHA512 94bfb122bad5f47be018f66b118a024eb56d537aecaedc440fd1648cbecb08375a2c375e6b1e12b39621bf8c272356fab98872b6a8cab506706cdc18f215096c DIST juce-6.0.4.tar.gz 13971011 BLAKE2B ab0626a68e97791f66a2c86d5d461f11d6c08fa75ac31b08cbc0c39a07b5274d224a5220611e46a53f72c65bbb6bdf8313c7a367ec3cb417d954f109bf592963 SHA512 94bfb122bad5f47be018f66b118a024eb56d537aecaedc440fd1648cbecb08375a2c375e6b1e12b39621bf8c272356fab98872b6a8cab506706cdc18f215096c
DIST juce-6.0.7.tar.gz 14027190 BLAKE2B 74ad0eb8cf981828b93a414d18b4f12f0696809d1f88e8028cc62b2ee6ebe1937961cdfa26596b96426f39df18409c649b23786f3db4bc6d5329c6d732c92edb SHA512 fe17273de00e34012b08e8355a04796b5e04020afb53c1473e6d891d5307e66470c8c113029a0f3270f6a103a781a7ddf81dcf7684e1ce31eb2cae7bddae840f
EBUILD juce-6.0.1.ebuild 2637 BLAKE2B 0d1616f196c31a28f3d38119830baecbd4222fc9fd71524b72c188767e14285a78effd5bed9ebe70be67335ecddcf1708facb7701237ae9dc3fd6f7c2d8241f1 SHA512 f40bc51548a92b7f1ea30c218a6466601df53f076e03054593e8c786cfa837c7078b33941299ebbcf09455c8e9c93c89bcbb2ee485e07bb4dc6f8bcc11e98ba7 EBUILD juce-6.0.1.ebuild 2637 BLAKE2B 0d1616f196c31a28f3d38119830baecbd4222fc9fd71524b72c188767e14285a78effd5bed9ebe70be67335ecddcf1708facb7701237ae9dc3fd6f7c2d8241f1 SHA512 f40bc51548a92b7f1ea30c218a6466601df53f076e03054593e8c786cfa837c7078b33941299ebbcf09455c8e9c93c89bcbb2ee485e07bb4dc6f8bcc11e98ba7
EBUILD juce-6.0.4.ebuild 2637 BLAKE2B a5dec2ee8d00a5373c435d6025e95506e380712de1533836fb9f76bc172774502f692396d5c209bd48721ad69f9a718391602dd76a343af40837b4a987fdadec SHA512 513372f1914c29b84279ecfa9a8d8ad1fef70756af5b3d70176fcce3fe6be4817e94db22e1ecb203ae084b8b31a0090e27359d5e0d44673c68a1246464fee8a4 EBUILD juce-6.0.4.ebuild 2637 BLAKE2B a5dec2ee8d00a5373c435d6025e95506e380712de1533836fb9f76bc172774502f692396d5c209bd48721ad69f9a718391602dd76a343af40837b4a987fdadec SHA512 513372f1914c29b84279ecfa9a8d8ad1fef70756af5b3d70176fcce3fe6be4817e94db22e1ecb203ae084b8b31a0090e27359d5e0d44673c68a1246464fee8a4
EBUILD juce-6.0.7.ebuild 2637 BLAKE2B aa0e6afa5e2062e948842de00d86495fea4d0c6087c2b8e08f53fb966e8d2817aeab8e6eff717bc8a99017f4151dd2be0039fefe1bb2b248ed8f52dadb922400 SHA512 4aedf07726c7e272dfb1a9369c6a98f88fff6965ab4fba30cb68608aa2bb2e74932a5728cb4e37f0ca0ae1ab09580d06a17de8b1ee6f256981b960091373b146
MISC metadata.xml 420 BLAKE2B 3825ad52925a5d96d77cf6258167df6f676c78dfd134ffa6ec96452c14534743c92de5cbdd3f86415f72071cbac53a4ee7da6de4ba5ee38dcfe1fe19d3c24dc8 SHA512 251f8e589bbdcb0385a92f3ef340776acf4759797756f2cd252981a40879f6af2c5574eac90fffd283ac3d0b6b2a4676d27620a4b8b277f10b1a638ebcfd95e6 MISC metadata.xml 420 BLAKE2B 3825ad52925a5d96d77cf6258167df6f676c78dfd134ffa6ec96452c14534743c92de5cbdd3f86415f72071cbac53a4ee7da6de4ba5ee38dcfe1fe19d3c24dc8 SHA512 251f8e589bbdcb0385a92f3ef340776acf4759797756f2cd252981a40879f6af2c5574eac90fffd283ac3d0b6b2a4676d27620a4b8b277f10b1a638ebcfd95e6

View File

@ -0,0 +1,84 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://github.com/juce-framework/JUCE/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/juce-framework/JUCE.git"
fi
DESCRIPTION="A cross-platform C++ framework"
HOMEPAGE="https://juce.com/"
LICENSE="juce-6"
SLOT="6.0.7"
IUSE="+projucer extras examples"
DEPEND="
media-libs/alsa-lib
media-libs/freetype:2
net-libs/webkit-gtk
net-misc/curl
"
RDEPEND="${DEPEND}"
BDEPEND="
>=dev-util/cmake-3.12
virtual/pkgconfig
"
src_unpack() {
default
mv "${WORKDIR}/JUCE-${PV}" "${WORKDIR}/${P}"
}
src_configure() {
local mycmakeargs=(
"-DJUCE_BUILD_EXAMPLES="$(usex examples ON OFF)
)
if use projucer || use extras ; then
mycmakeargs+=("-DJUCE_BUILD_EXTRAS=ON")
else
mycmakeargs+=("-DJUCE_BUILD_EXTRAS=OFF")
fi
if use projucer && ! use extras ; then
cd extras
cmake_comment_add_subdirectory AudioPerformanceTest
cmake_comment_add_subdirectory AudioPluginHost
cmake_comment_add_subdirectory BinaryBuilder
cmake_comment_add_subdirectory NetworkGraphicsDemo
cmake_comment_add_subdirectory UnitTestRunner
cd ..
fi
cmake_src_configure
}
src_install() {
# Install JUCE to /opt
dodir /opt
cp -r "${S}/" "${D}/opt/${P}/" || die
# Move programs to JUCE folder
cp "${BUILD_DIR}/tools/extras/Build/juceaide/juceaide_artefacts/Debug/juceaide" "${D}/opt/${P}/"
if use projucer || use extras ; then
cp "${BUILD_DIR}/extras/Projucer/Projucer_artefacts/${CMAKE_BUILD_TYPE}/Projucer" "${D}/opt/${P}/"
fi
if use extras ; then
cp "${BUILD_DIR}/extras/AudioPerformanceTest/AudioPerformanceTest_artefacts/${CMAKE_BUILD_TYPE}/AudioPerformanceTest" "${D}/opt/${P}/"
cp "${BUILD_DIR}/extras/AudioPluginHost/AudioPluginHost_artefacts/${CMAKE_BUILD_TYPE}/AudioPluginHost" "${D}/opt/${P}/"
cp "${BUILD_DIR}/extras/BinaryBuilder/BinaryBuilder_artefacts/${CMAKE_BUILD_TYPE}/BinaryBuilder" "${D}/opt/${P}/"
cp "${BUILD_DIR}/extras/NetworkGraphicsDemo/NetworkGraphicsDemo_artefacts/${CMAKE_BUILD_TYPE}/NetworkGraphicsDemo" "${D}/opt/${P}/"
cp "${BUILD_DIR}/extras/UnitTestRunner/UnitTestRunner_artefacts/${CMAKE_BUILD_TYPE}/UnitTestRunner" "${D}/opt/${P}/"
fi
}
pkg_postinst() {
elog "Since different applications use different versions of JUCE,"
elog "binaries have not been installed to /usr/bin."
elog "I've yet to make an eselect module for this stuff, so you may want"
elog "to symlink /usr/local/bin/Projucer to /opt/juce-${PV}/Projucer (or"
elog "whatever) to run them easier."
}