From 7bc9c63c9da678a7e6fceb095d56c634afd22c56 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Dec 2019 18:09:03 +0000 Subject: gentoo resync : 15.12.2019 --- media-sound/qsampler/Manifest | 1 + media-sound/qsampler/qsampler-9999.ebuild | 69 +++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 media-sound/qsampler/qsampler-9999.ebuild (limited to 'media-sound/qsampler') diff --git a/media-sound/qsampler/Manifest b/media-sound/qsampler/Manifest index 3d593e785e1a..80ae1ac1fc36 100644 --- a/media-sound/qsampler/Manifest +++ b/media-sound/qsampler/Manifest @@ -1,4 +1,5 @@ AUX qsampler-0.5.3-Makefile.patch 466 BLAKE2B 17d8ac1e29f6668a02fc7734d51f40e9f5a161da799fdeb2ddc5eaa89a69c607de6183fab78a13f4bec5a0efc002081589ca141f3232f37cc0051218f440fd5b SHA512 6f02c41941bacce8b49837471f5699960b069bd48e99b116402afa5452116890fa26da340a2e85b036d2051906b5eb828832598925b1d314de2a866eec47f155 DIST qsampler-0.5.6.tar.gz 260607 BLAKE2B 52002ad95fe11266337f058124e7ae33947eb50ce5b12574c9091c10827bff2a8135a52bd53dd030be0394fdb39c2bd034308ae9d615c0b74ad660a06573446b SHA512 2a3a322fec31d9c66d7d1e9b4a7f74629e4b2bcf3ee2350bca8d450d2f68c41ac80563f8e28bd5314f00f0387503aa1e33c0b94ff518cca27b2ca93d9d72334e EBUILD qsampler-0.5.6.ebuild 1019 BLAKE2B e27455ebbc11e71e5b6434b3874f47450ad52b220e6c3e976bffb45e228f123f2cd20d2351334e329596110514e546611c881f1cac9686ef23500cdec7d8f7ff SHA512 e241032ee18e36c5f0a8436757159656ac8d98b35b881511bac38f41636e6c70334250d6590aff6b79d4283c8a7be5e820fe708a3b691927568d2dabb5c34317 +EBUILD qsampler-9999.ebuild 1487 BLAKE2B 9f32ce93540c9d950cdf387fc1f56adb06d8355a03460c82825eaed29063a8803af61b6af0fe038a7ccecf307f00ad272bb5f61714335ef452cbc03d468b43f8 SHA512 9fa25733d27e38651250277e2c8206da6c9f480c3fedfc712458f713af2a1ab45d0f004c90af12415ea2e1a9f2beb2133c7f14279bf3e3519f44218137a9ec07 MISC metadata.xml 493 BLAKE2B 4df149f56c8c138f3a0037470860cc03040d482a75dfde7d27fa71526003c1fcfd42915cc822dc8d7de93aa73f034cb0c72e8882937770b7872d1db72ab6419d SHA512 1e64ef3cc6a1389548e5c88f676d68567f034cebcfbcdf14c369d5c73d914059fb2a8eff2f7e66b5700400b92560d042097ecf91b39712b8552f74fe1e75e6cd diff --git a/media-sound/qsampler/qsampler-9999.ebuild b/media-sound/qsampler/qsampler-9999.ebuild new file mode 100644 index 000000000000..1aa007e1579d --- /dev/null +++ b/media-sound/qsampler/qsampler-9999.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils xdg autotools subversion + +DESCRIPTION="Graphical frontend to the LinuxSampler engine" +HOMEPAGE="https://qsampler.sourceforge.io/ https://www.linuxsampler.org/" +ESVN_REPO_URI="https://svn.linuxsampler.org/svn/qsampler/trunk" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="debug +libgig" + +COMMON_DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + media-libs/alsa-lib + >=media-libs/liblscp-0.5.6:= + x11-libs/libX11 + libgig? ( >=media-libs/libgig-3.3.0:= ) +" +RDEPEND="${COMMON_DEPEND} + >=media-sound/linuxsampler-0.5 +" +DEPEND="${COMMON_DEPEND} + dev-qt/linguist-tools:5 +" + +DOCS=( AUTHORS ChangeLog README TODO TRANSLATORS ) + +PATCHES=( "${FILESDIR}/${PN}-0.5.3-Makefile.patch" ) + +src_prepare() { + default + + emake -f Makefile.svn + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable libgig) + ) + ac_qmake="$(qt5_get_bindir)/qmake" \ + econf "${myeconfargs[@]}" + + cd src || die + eqmake5 src.pro -o Makefile +} + +pkg_postinst() { + # these are not run automagically in live ebuild for some reason so running them manually + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + # these are not run automagically in live ebuild for some reason so running them manually + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +} -- cgit v1.2.3