dev-libs/juce: drop versions
This commit is contained in:
parent
1241baffa3
commit
3937428ada
@ -1,12 +1,2 @@
|
|||||||
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.7.tar.gz 14027190 BLAKE2B 74ad0eb8cf981828b93a414d18b4f12f0696809d1f88e8028cc62b2ee6ebe1937961cdfa26596b96426f39df18409c649b23786f3db4bc6d5329c6d732c92edb SHA512 fe17273de00e34012b08e8355a04796b5e04020afb53c1473e6d891d5307e66470c8c113029a0f3270f6a103a781a7ddf81dcf7684e1ce31eb2cae7bddae840f
|
|
||||||
DIST juce-6.0.8.tar.gz 14053267 BLAKE2B f050cf95509c5c501fbe201847ec8760475f475448560c039d479057798a774644df908cda736f7e3211495c3a59feb816f8dc937ee16c7297c0a794e1f82159 SHA512 4c4c10c0eb456ee8d2b31b1fb110917b340ab42608366421e57422fb1afe97d7a140aa28b6258973580d16269e015c44f5ee828ed607c15296c498a289bc0442
|
|
||||||
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
|
|
||||||
DIST juce-6.1.4.tar.gz 18649079 BLAKE2B ffbdc1817845a45be707da3f2f17c561c25377adfef606fee067e45da90dd268687aa189cf08f66727f6d6b1ecb78657fefcf1eb6272df316174242ef31a69fd SHA512 d956bbb1c8226b03f529332cb285799c732d0d4d564df4a253284219908391ba4b4ce3ea987dbcfbb42bb592336cf7edc14f24a9b2f898bf996afb1416bba062
|
|
||||||
DIST juce-6.1.6.tar.gz 18703048 BLAKE2B 48e5a3f6bd56b2acd1ed1c84a4fb4ac0ac63465d639e9946e28ed5a89beb9d34721110e62e03ed1ab7501319c6caf3e5e6739c599b9de56cf41095922f70ac84 SHA512 795cde25790ba417f2e56c329129dab9c690c21e67656cf9775801b8a5455762391b5422fdc460ca9a14bb46eda0f47e8d573c4b76058e33f42e11fe9da649c9
|
DIST juce-6.1.6.tar.gz 18703048 BLAKE2B 48e5a3f6bd56b2acd1ed1c84a4fb4ac0ac63465d639e9946e28ed5a89beb9d34721110e62e03ed1ab7501319c6caf3e5e6739c599b9de56cf41095922f70ac84 SHA512 795cde25790ba417f2e56c329129dab9c690c21e67656cf9775801b8a5455762391b5422fdc460ca9a14bb46eda0f47e8d573c4b76058e33f42e11fe9da649c9
|
||||||
DIST juce-7.0.0.tar.gz 19036941 BLAKE2B 3d5edb5d9bd9cd2ed828a39e025caab9273bccc21ce733d7dca9028a905f52a90c38a8f99b00caf5293f5848c9f447351a249ada23a1d05dbee8d59616ae9a17 SHA512 0347380fce37eae58a2cfd2d14cf3d8025b37e8de87104656cc0699a8de914762199d4e6a214d24afd99cee548ec6aec198a7a04d804a97d0f4ceed49bf9a969
|
|
||||||
DIST juce-7.0.2.gh.tar.gz 18931117 BLAKE2B 624282c0e324078be4fa8cbaaca8e3cc09642bec74432fdf92dd9115a234c849cbdc0519c874aaf15f8727c8196985ccf6c9cf6ba0574743a6cf35fd050970ac SHA512 0d81b8b68784268b0b8b23bb79c98a2b0bde6770272a2aa6e33a2f22a208e48601423f4fad9477137de925a97c93dc29b7ae5b8466a7a7687027c72e50195c6e
|
DIST juce-7.0.2.gh.tar.gz 18931117 BLAKE2B 624282c0e324078be4fa8cbaaca8e3cc09642bec74432fdf92dd9115a234c849cbdc0519c874aaf15f8727c8196985ccf6c9cf6ba0574743a6cf35fd050970ac SHA512 0d81b8b68784268b0b8b23bb79c98a2b0bde6770272a2aa6e33a2f22a208e48601423f4fad9477137de925a97c93dc29b7ae5b8466a7a7687027c72e50195c6e
|
||||||
|
@ -1,90 +0,0 @@
|
|||||||
# Copyright 1999-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.1"
|
|
||||||
IUSE="+projucer extras examples"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
media-libs/alsa-lib
|
|
||||||
media-libs/freetype:2
|
|
||||||
net-libs/webkit-gtk
|
|
||||||
net-misc/curl
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
app-eselect/eselect-juce
|
|
||||||
"
|
|
||||||
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() {
|
|
||||||
if [[ ! -f ${EROOT}/usr/bin/juceaide ]]; then
|
|
||||||
eselect juceaide set "${P}"
|
|
||||||
einfo "${P} set as the default juceaide version"
|
|
||||||
fi
|
|
||||||
if use projucer && [[ ! -f ${EROOT}/usr/bin/Projucer ]]; then
|
|
||||||
eselect projucer set "${P}"
|
|
||||||
einfo "${P} set as the default Projucer version"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,90 +0,0 @@
|
|||||||
# Copyright 1999-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.4"
|
|
||||||
IUSE="+projucer extras examples"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
media-libs/alsa-lib
|
|
||||||
media-libs/freetype:2
|
|
||||||
net-libs/webkit-gtk
|
|
||||||
net-misc/curl
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
app-eselect/eselect-juce
|
|
||||||
"
|
|
||||||
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() {
|
|
||||||
if [[ ! -f ${EROOT}/usr/bin/juceaide ]]; then
|
|
||||||
eselect juceaide set "${P}"
|
|
||||||
einfo "${P} set as the default juceaide version"
|
|
||||||
fi
|
|
||||||
if use projucer && [[ ! -f ${EROOT}/usr/bin/Projucer ]]; then
|
|
||||||
eselect projucer set "${P}"
|
|
||||||
einfo "${P} set as the default Projucer version"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,90 +0,0 @@
|
|||||||
# 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}
|
|
||||||
app-eselect/eselect-juce
|
|
||||||
"
|
|
||||||
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() {
|
|
||||||
if [[ ! -f ${EROOT}/usr/bin/juceaide ]]; then
|
|
||||||
eselect juceaide set "${P}"
|
|
||||||
einfo "${P} set as the default juceaide version"
|
|
||||||
fi
|
|
||||||
if use projucer && [[ ! -f ${EROOT}/usr/bin/Projucer ]]; then
|
|
||||||
eselect projucer set "${P}"
|
|
||||||
einfo "${P} set as the default Projucer version"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,88 +0,0 @@
|
|||||||
# Copyright 2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit cmake
|
|
||||||
|
|
||||||
if [[ ${PV} != *9999* ]]; then
|
|
||||||
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"
|
|
||||||
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.8"
|
|
||||||
IUSE="+projucer extras examples"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
media-libs/alsa-lib
|
|
||||||
media-libs/freetype:2
|
|
||||||
net-libs/webkit-gtk
|
|
||||||
net-misc/curl
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
app-eselect/eselect-juce
|
|
||||||
"
|
|
||||||
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() {
|
|
||||||
if [[ ! -f ${EROOT}/usr/bin/juceaide ]]; then
|
|
||||||
eselect juceaide set "${P}"
|
|
||||||
einfo "${P} set as the default juceaide version"
|
|
||||||
fi
|
|
||||||
if use projucer && [[ ! -f ${EROOT}/usr/bin/Projucer ]]; then
|
|
||||||
eselect projucer set "${P}"
|
|
||||||
einfo "${P} set as the default Projucer version"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,88 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit cmake
|
|
||||||
|
|
||||||
if [[ ${PV} != *9999* ]]; then
|
|
||||||
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"
|
|
||||||
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.1.0"
|
|
||||||
IUSE="+projucer extras examples"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
media-libs/alsa-lib
|
|
||||||
media-libs/freetype:2
|
|
||||||
net-libs/webkit-gtk
|
|
||||||
net-misc/curl
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
app-eselect/eselect-juce
|
|
||||||
"
|
|
||||||
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() {
|
|
||||||
if [[ ! -f ${EROOT}/usr/bin/juceaide ]]; then
|
|
||||||
eselect juceaide set "${P}"
|
|
||||||
einfo "${P} set as the default juceaide version"
|
|
||||||
fi
|
|
||||||
if use projucer && [[ ! -f ${EROOT}/usr/bin/Projucer ]]; then
|
|
||||||
eselect projucer set "${P}"
|
|
||||||
einfo "${P} set as the default Projucer version"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,88 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit cmake
|
|
||||||
|
|
||||||
if [[ ${PV} != *9999* ]]; then
|
|
||||||
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"
|
|
||||||
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.1.1"
|
|
||||||
IUSE="+projucer extras examples"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
media-libs/alsa-lib
|
|
||||||
media-libs/freetype:2
|
|
||||||
net-libs/webkit-gtk
|
|
||||||
net-misc/curl
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
app-eselect/eselect-juce
|
|
||||||
"
|
|
||||||
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() {
|
|
||||||
if [[ ! -f ${EROOT}/usr/bin/juceaide ]]; then
|
|
||||||
eselect juceaide set "${P}"
|
|
||||||
einfo "${P} set as the default juceaide version"
|
|
||||||
fi
|
|
||||||
if use projucer && [[ ! -f ${EROOT}/usr/bin/Projucer ]]; then
|
|
||||||
eselect projucer set "${P}"
|
|
||||||
einfo "${P} set as the default Projucer version"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,88 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit cmake
|
|
||||||
|
|
||||||
if [[ ${PV} != *9999* ]]; then
|
|
||||||
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"
|
|
||||||
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.1.2"
|
|
||||||
IUSE="+projucer extras examples"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
media-libs/alsa-lib
|
|
||||||
media-libs/freetype:2
|
|
||||||
net-libs/webkit-gtk
|
|
||||||
net-misc/curl
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
app-eselect/eselect-juce
|
|
||||||
"
|
|
||||||
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() {
|
|
||||||
if [[ ! -f ${EROOT}/usr/bin/juceaide ]]; then
|
|
||||||
eselect juceaide set "${P}"
|
|
||||||
einfo "${P} set as the default juceaide version"
|
|
||||||
fi
|
|
||||||
if use projucer && [[ ! -f ${EROOT}/usr/bin/Projucer ]]; then
|
|
||||||
eselect projucer set "${P}"
|
|
||||||
einfo "${P} set as the default Projucer version"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,88 +0,0 @@
|
|||||||
# 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}
|
|
||||||
app-eselect/eselect-juce
|
|
||||||
"
|
|
||||||
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() {
|
|
||||||
if [[ ! -f ${EROOT}/usr/bin/juceaide ]]; then
|
|
||||||
eselect juceaide set "${P}"
|
|
||||||
einfo "${P} set as the default juceaide version"
|
|
||||||
fi
|
|
||||||
if use projucer && [[ ! -f ${EROOT}/usr/bin/Projucer ]]; then
|
|
||||||
eselect projucer set "${P}"
|
|
||||||
einfo "${P} set as the default Projucer version"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,88 +0,0 @@
|
|||||||
# 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.4"
|
|
||||||
IUSE="+projucer extras examples"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
media-libs/alsa-lib
|
|
||||||
media-libs/freetype:2
|
|
||||||
net-libs/webkit-gtk
|
|
||||||
net-misc/curl
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
app-eselect/eselect-juce
|
|
||||||
"
|
|
||||||
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() {
|
|
||||||
if [[ ! -f ${EROOT}/usr/bin/juceaide ]]; then
|
|
||||||
eselect juceaide set "${P}"
|
|
||||||
einfo "${P} set as the default juceaide version"
|
|
||||||
fi
|
|
||||||
if use projucer && [[ ! -f ${EROOT}/usr/bin/Projucer ]]; then
|
|
||||||
eselect projucer set "${P}"
|
|
||||||
einfo "${P} set as the default Projucer version"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,88 +0,0 @@
|
|||||||
# Copyright 1999-2022 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-7-EULA"
|
|
||||||
SLOT="7.0.0"
|
|
||||||
IUSE="+projucer extras examples"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
media-libs/alsa-lib
|
|
||||||
media-libs/freetype:2
|
|
||||||
net-libs/webkit-gtk
|
|
||||||
net-misc/curl
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
app-eselect/eselect-juce
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
>=dev-util/cmake-3.15
|
|
||||||
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() {
|
|
||||||
if [[ ! -f ${EROOT}/usr/bin/juceaide ]]; then
|
|
||||||
eselect juceaide set "${P}"
|
|
||||||
einfo "${P} set as the default juceaide version"
|
|
||||||
fi
|
|
||||||
if use projucer && [[ ! -f ${EROOT}/usr/bin/Projucer ]]; then
|
|
||||||
eselect projucer set "${P}"
|
|
||||||
einfo "${P} set as the default Projucer version"
|
|
||||||
fi
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user