Gentoo Portage tree gets an ebuild for qsampler.
However, it is broken since the 0.2.2 version crashes on startup when built with qt-gui > 4.5 and qt-gui-4.5 is no longer in portage tree.
Apparently LinuxSampler no longer produces official releases on tarballs but requests we directly take the source code from an svn repository.
I additionally understand from the Gentoo Dev Manual that Subversion ebuilds should not generally be added to the tree so there is just no way to suggest any ebuild update...

So... let's do this the quick & dirty mode.

2/ BUILD YOUR OWN SOURCE PACKAGE

2.0/ Install Subversion or skip to 2.1 if you already get Subversion installed on your system

Fortunately the existing ebuild for qsampler 0.2.2 can cope with our new source distribution, so, basically, we will just copy it to our local overlay.
Assuming it is located in /usr/local/portage, if not, simply adapt to the value of your $PORTDIR_OVERLAY

Code:

# cd /usr/local/portage

Check if you already get a media-sound directory, if not, create it :

Code:

# mkdir media-sound

Then, assuming your Gentoo portage tree is located in /usr/portage, if not simply adapt to the value of your $PORTDIR

If you named your tarball exactly following the instructions above, then that should suffice.
If not then edit the ebuild and adapt the SRC_URI variable accordingly.
Check miscellaneous QA thingies and create the Manifest :

Code:

# repoman manifest

That's it ! you can now

Code:

# emerge qsampler

and...

ENJOY !

Thanks to : steveL original idea about synfig and DaggyStyle for his comment._________________

Last edited by aCOSwt on Wed Jul 04, 2012 10:05 am; edited 1 time in total

There is now an updated snapshot ebuild in the portage tree._________________"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF