From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 23A98138336 for ; Wed, 13 Mar 2019 14:31:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18434E0921; Wed, 13 Mar 2019 14:31:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E587EE0921 for ; Wed, 13 Mar 2019 14:31:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8210C335D00 for ; Wed, 13 Mar 2019 14:31:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED031568 for ; Wed, 13 Mar 2019 14:31:28 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1552487476.f803187d334a0b771d118f00879f2e4c452372d2.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/lmms/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/lmms/lmms-9999.ebuild X-VCS-Directories: media-sound/lmms/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: f803187d334a0b771d118f00879f2e4c452372d2 X-VCS-Branch: master Date: Wed, 13 Mar 2019 14:31:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2705ccfd-56a1-42e6-b7cf-2db90cbb14bb X-Archives-Hash: dcf16d7a14d6695b5c7d756e22715dd6 commit: f803187d334a0b771d118f00879f2e4c452372d2 Author: Lars Wendler gentoo org> AuthorDate: Wed Mar 13 14:28:42 2019 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Mar 13 14:31:16 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f803187d media-sound/lmms: Synced live ebuild. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> media-sound/lmms/lmms-9999.ebuild | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/media-sound/lmms/lmms-9999.ebuild b/media-sound/lmms/lmms-9999.ebuild index 85c5734ae47..44670637ff5 100644 --- a/media-sound/lmms/lmms-9999.ebuild +++ b/media-sound/lmms/lmms-9999.ebuild @@ -1,9 +1,11 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils xdg-utils +# The order is important here! Both, cmake-utils and xdg define src_prepare. +# We need the one from cmake-utils +inherit xdg cmake-utils DESCRIPTION="Cross-platform music production software" HOMEPAGE="https://lmms.io" @@ -11,7 +13,7 @@ if [[ ${PV} == "9999" ]]; then EGIT_REPO_URI="https://github.com/LMMS/lmms.git" inherit git-r3 else - SRC_URI="https://github.com/LMMS/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/LMMS/lmms/releases/download/v${PV/_/-}/${P/_/-}.tar.xz -> ${P}.tar.xz" KEYWORDS="~amd64 ~x86" S="${WORKDIR}/${P/_/-}" fi @@ -24,6 +26,8 @@ IUSE="alsa debug fluidsynth jack libgig mp3 ogg portaudio pulseaudio sdl soundio COMMON_DEPEND=" dev-qt/qtcore:5 dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 >=media-libs/libsamplerate-0.1.8 >=media-libs/libsndfile-1.0.11 sci-libs/fftw:3.0 @@ -48,9 +52,9 @@ COMMON_DEPEND=" stk? ( media-libs/stk ) vst? ( virtual/wine ) " -DEPEND="${COMMON_DEPEND} +DEPEND="${COMMON_DEPEND}" +BDEPEND=" dev-qt/linguist-tools:5 - >=dev-util/cmake-2.4.5 " RDEPEND="${COMMON_DEPEND} media-libs/ladspa-cmt @@ -72,7 +76,6 @@ src_configure() { -DWANT_CMT=FALSE -DWANT_CALF=FALSE -DWANT_QT5=TRUE - -DCMAKE_INSTALL_LIBDIR=$(get_libdir) -DWANT_ALSA=$(usex alsa) -DWANT_JACK=$(usex jack) -DWANT_GIG=$(usex libgig) @@ -89,12 +92,14 @@ src_configure() { cmake-utils_src_configure } +pkg_preinst() { + xdg_pkg_preinst +} + pkg_postinst() { - xdg_mimeinfo_database_update - xdg_desktop_database_update + xdg_pkg_postinst } pkg_postrm() { - xdg_mimeinfo_database_update - xdg_desktop_database_update + xdg_pkg_postrm }