dev-libs/juce: treeclean
The ::proaudio-gentoo overlay seems to package this now, and I haven't touched JUCE in years, so I'll nuke this.
This commit is contained in:
parent
541ee609b1
commit
b39a26c590
@ -1,2 +0,0 @@
|
||||
DIST juce-6.1.6.tar.gz 18703048 BLAKE2B 48e5a3f6bd56b2acd1ed1c84a4fb4ac0ac63465d639e9946e28ed5a89beb9d34721110e62e03ed1ab7501319c6caf3e5e6739c599b9de56cf41095922f70ac84 SHA512 795cde25790ba417f2e56c329129dab9c690c21e67656cf9775801b8a5455762391b5422fdc460ca9a14bb46eda0f47e8d573c4b76058e33f42e11fe9da649c9
|
||||
DIST juce-7.0.2.gh.tar.gz 18931117 BLAKE2B 624282c0e324078be4fa8cbaaca8e3cc09642bec74432fdf92dd9115a234c849cbdc0519c874aaf15f8727c8196985ccf6c9cf6ba0574743a6cf35fd050970ac SHA512 0d81b8b68784268b0b8b23bb79c98a2b0bde6770272a2aa6e33a2f22a208e48601423f4fad9477137de925a97c93dc29b7ae5b8466a7a7687027c72e50195c6e
|
@ -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-6"
|
||||
SLOT="6.1.6"
|
||||
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}.gh.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A cross-platform C++ framework"
|
||||
HOMEPAGE="https://juce.com/"
|
||||
LICENSE="JUCE-7-EULA"
|
||||
SLOT="7.0.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.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
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>flewkey@2a03.party</email>
|
||||
<name>Ryan Fox</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="projucer">Build the Projucer</flag>
|
||||
<flag name="extras">Build all JUCE extras (including Projucer)</flag>
|
||||
<flag name="examples">Build the JUCE examples</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">juce-framework/JUCE</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user