diff --git a/dev-libs/juce/Manifest b/dev-libs/juce/Manifest index 9b217f9..5bf4b37 100644 --- a/dev-libs/juce/Manifest +++ b/dev-libs/juce/Manifest @@ -5,6 +5,7 @@ DIST juce-6.0.8.tar.gz 14053267 BLAKE2B f050cf95509c5c501fbe201847ec8760475f4754 DIST juce-6.1.0.tar.gz 16429407 BLAKE2B 8833698e34e2dd8f98b24a6b43b67edbb3a153833cb882499e877aec879068e55d98bd060ea9758e39d242e74662e2e6212133a7599b3a67141a3bdb40344a9b SHA512 a356a28fe373099c887f3dfc767e789260e6e7fbc482526c194b45b62af84810b71e603c4ced269cd283a3a25c5c832a876680aaca42080463169db6c1e69f6e DIST juce-6.1.1.tar.gz 17551484 BLAKE2B 6428c148790d71f337c5ac78b7364beb9bb95676861146adb54fdc0eb19b4b576a155b9964d3a179a30f5ceaf3bab21f481ed4b2e3b3495a2cda7f3442c7fa9d SHA512 f81606461ce91dc8e590c422a2bdd6990fb48d0e88c335b2790956d56716d7f63cd7db47837bb567804882326a79dc5ffaa1298cd96c388c89eb1a52e567501d DIST juce-6.1.2.tar.gz 17554625 BLAKE2B 40ee2769aa165337d9cad6dadf1e4ee60a0dd4e69ebbcacc8e98469a5556c4884ddf2a3704778ede8a6112eab4062d768e92aa07e547be8afef2771bc130e962 SHA512 0427be40e9cea3b215358f0661e9dabcbc4f1be7aba7d0f44e35f8426dd49ba31da99d0f18a6ee28b3dce50114a1647157802e6231d9b912269f179191ebccc1 +DIST juce-6.1.3.tar.gz 18650466 BLAKE2B 911c7320241c0ef1036752f314d17bc57c52cdf7d91754e34c9e525a3639a435e14b8cc21aa62f37afbf2ed5efb85625e85c9c504e2e496432cd3cb1338583e1 SHA512 8ca658f4468f47c2c871b3ec0df3b64c918a0bfba9fdf76aa840505140cbf5a8aabc9692938a922be43b940d2fe24ab5142d5b8ff446c863785dd28850d1d666 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.7.ebuild 2637 BLAKE2B aa0e6afa5e2062e948842de00d86495fea4d0c6087c2b8e08f53fb966e8d2817aeab8e6eff717bc8a99017f4151dd2be0039fefe1bb2b248ed8f52dadb922400 SHA512 4aedf07726c7e272dfb1a9369c6a98f88fff6965ab4fba30cb68608aa2bb2e74932a5728cb4e37f0ca0ae1ab09580d06a17de8b1ee6f256981b960091373b146 @@ -12,4 +13,5 @@ EBUILD juce-6.0.8.ebuild 2628 BLAKE2B 0fc7a818820c716229be11ab4f9c7eddf256e9d338 EBUILD juce-6.1.0.ebuild 2633 BLAKE2B 011be3025d2f10cbcf868c2cf0a18ca8a09040ba9b273c01a2917b7bed66e9ed1165b4e0a6d15605d59663fe9e6f9f4c04234aec0cac6e4c90724b32d0e01440 SHA512 167ab79d6fcc6d5e9a0284d85459cebc5f792057d6f8f3516f49b2b65a7bd6cc2a06a35e199337989db6795fccde7c46112bdca8dfaf5fb349c32050b3e5278e EBUILD juce-6.1.1.ebuild 2633 BLAKE2B 4b426c2f3a44c592239b9ce70b45479ad5e7a6f1317e6509f5784051587bed054cead4af9faeb5a54291222bfa0d568c5d94085922a163fc51dcd0378499354c SHA512 0d00ab86dbdbfb7130d49cef7febb2029f447927f3720917ba54ee292a5890f070bb3c0cccaad21bd92339d992d18064538db4062bddfd5e5a01d485a473e311 EBUILD juce-6.1.2.ebuild 2633 BLAKE2B b59c28a5d62bbb4d3f14834ddc3376cdb98770088c45d0449ce639bba74560ce419cbaea43eecd4a478c581032f08087ebfba436ba2215388aab4734296e3c2b SHA512 2a3d0ee71051f6ed78fa4c89ed5c970519cf143d163a9a4958b37dd3e6d494fc9c3acbf0c5900884b82ae2dc8eb757b6aec094aef5aa7ec0c4d2802d1d727240 +EBUILD juce-6.1.3.ebuild 2631 BLAKE2B f72ae7dc27f014cbbc602989bb3b6552770ce59cfdea9d9336a5b893b3550e2f3bdf54302022f9297d99e67e9c570cbba7a885f483a3f702739e1a3091f19d48 SHA512 a8937d21875367a2c0c9120a055b143103ead9cd3605cdab16130f054667535d4a4526b0c7602f10c0f85c36687fc9ef055cd53c49c9459d8365e65007613a69 MISC metadata.xml 518 BLAKE2B 74ee7a6aa275101ff13a4d37831904b483a5a1cc8362f05def36fe4dca2f334bdeec50094bff32bd8295b1fbd3e6a7d26ca495a8ed958f0e4df9eb00aee2f8e6 SHA512 39571708fc24e65dba6b3593b1af24fafb100925f9cb027107c86fb5c854e03fd1c3b0e1cb6ba99cc5b75280b4f47efbf0932aacd007e04efa351864a18c4d25 diff --git a/dev-libs/juce/juce-6.1.3.ebuild b/dev-libs/juce/juce-6.1.3.ebuild new file mode 100644 index 0000000..6d607ce --- /dev/null +++ b/dev-libs/juce/juce-6.1.3.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/juce-framework/JUCE.git" +else + MY_PN="JUCE" + MY_P="${MY_PN}-${PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://github.com/juce-framework/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="A cross-platform C++ framework" +HOMEPAGE="https://juce.com/" +LICENSE="juce-6" +SLOT="6.1.3" +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_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." +}