Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

media-sound/supercollider: add new package #3280

Closed
wants to merge 1 commit into from

Conversation

mrVanDalo
Copy link
Contributor

SuperCollider is a platform for audio synthesis and algorithmic composition, used by musicians, artists, and researchers working with sound. It is free and open source software available for Windows, Mac OS X, and Linux.

I created a Bug Ticket

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull Request assignment

Areas affected: ebuilds
Packages affected: media-sound/supercollider

media-sound/supercollider: @gentoo/proxy-maint (new package)

@gentoo-repo-qa-bot gentoo-repo-qa-bot added new package The PR is adding a new package. assigned PR successfully assigned to the package maintainer(s). labels Dec 29, 2016
@mrVanDalo mrVanDalo changed the title media-sound/supercollider: add package media-sound/supercollider: add new package Dec 29, 2016
portaudio? ( media-libs/portaudio )
jack? ( >=media-sound/jack2-1.9.10 )
media-libs/alsa-lib
>=sys-libs/readline-5.0:*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sys-libs/readline:0=

>=sys-libs/readline-5.0:*
x11-libs/libXt
avahi? ( net-dns/avahi )
fftw? ( >=sci-libs/fftw-3.0 )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fftw? ( sci-libs/fftw:3.0= )

>=dev-qt/qtpositioning-5.6
>=dev-qt/qtgui-5.6
)
sndfile? ( >=media-libs/libsndfile-1.0.16 )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drop the version specifier, 1.0.16 is long gone

)
sndfile? ( >=media-libs/libsndfile-1.0.16 )
system-boost? ( dev-libs/boost )
system-yaml? ( dev-cpp/yaml-cpp )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't do this - get rid of the system-boost and system-yaml flags. Also, boost needs to be dev-libs/boost:=


S="${WORKDIR}/SuperCollider-Source"

DOCS=( AUTHORS README_LINUX.md )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get rid of these, covered by default set in einstalldocs

-DSC_WII=$(usex wiimote)
)
use jack && mycmakeargs+=( "AUDIOAPI=jack" )
use portaudio && mycmakeargs+=( "AUDIOAPI=portaudio" )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seeing that you have a ^^ REQUIRED_USE, just make this AUDIOAPI=$(usex jack jack portaudio)


if [[ $(use debug) ]]
then
CMAKE_BUILD_TYPE="Debug"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in general, don't change CMAKE_BUILD_TYPE ever really

# optimize for machine (will not run on other machines)
mycmakeargs+=( -DNATIVE=ON )

if [[ $(use debug) ]]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if use debug; then

einfo "Notice: SuperCollider is not very intuitive to get up and running."
einfo "The best course of action to make sure that the installation was"
einfo "successful and get you started with using SuperCollider is to take"
einfo "a look through /usr/share/doc/${PF}/README.gentoo"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

einfo "a look through ${EROOT%/}/usr/share/doc/${PF}/README.gentoo"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is this README.gentoo ever generated? Missing readme.gentoo-r1.eclass perhaps?

EAPI=6

# are all of theses needed ?
inherit cmake-utils eutils multilib versionator
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see where you need eutils, multilib or versionator. You will probably need readme.gentoo-r1 though

@mrVanDalo
Copy link
Contributor Author

@SoapGentoo Thanks for your detailed comments, will fix that tonight

@mrVanDalo
Copy link
Contributor Author

mrVanDalo commented Jan 11, 2017

@SoapGentoo Sorry that it took me so long, but I had problems to build after forcing boost and yamlccp. Figuring that out took me a while.

But I hope everything is fine now.

@mrVanDalo
Copy link
Contributor Author

@SoapGentoo ping.

cpu_flags_x86_sse cpu_flags_x86_sse2"

REQUIRED_USE="
ide? ( qt5 )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there good reason to have this? As far as I can see, USE=ide does not add another dependency, so why not drop that flag and conflict and let SC_IDE be controlled by qt5 as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point. will do it tomorrow in the train.

@SoapGentoo
Copy link
Member

@mrVanDalo this one is on me, I slacked off a bit 😭
I changed a number of cosmetic things, please have a look

@mrVanDalo
Copy link
Contributor Author

I see, thanks. No worries 😄

@SoapGentoo
Copy link
Member

@mrVanDalo keep the contributions trickling in, Gentoo also thrives through user contributions 😃

@mrVanDalo
Copy link
Contributor Author

mrVanDalo commented Mar 16, 2017

sure I will 😄 there are some new ebuilds in the line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). new package The PR is adding a new package.
Projects
None yet
4 participants