aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2022-09-06 00:59:55 +0300
committerla-ninpre <leobrekalini@gmail.com>2022-09-06 00:59:55 +0300
commitd330d8c1a4084184a5340d10955616889446d82a (patch)
tree6483e8744b91b923a5017dd3af88b6dd6b3bc0f6
parent7fa85e4431140b6edcb8074c46921a24c6db7df7 (diff)
downloadla-ninpre-overlay-d330d8c1a4084184a5340d10955616889446d82a.tar.gz
la-ninpre-overlay-d330d8c1a4084184a5340d10955616889446d82a.zip
media-sound/carla: update EAPI 7 -> 8
-rw-r--r--media-sound/carla/carla-2.5.0.ebuild29
1 files changed, 5 insertions, 24 deletions
diff --git a/media-sound/carla/carla-2.5.0.ebuild b/media-sound/carla/carla-2.5.0.ebuild
index aa7b78a..213c969 100644
--- a/media-sound/carla/carla-2.5.0.ebuild
+++ b/media-sound/carla/carla-2.5.0.ebuild
@@ -1,23 +1,16 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
PYTHON_COMPAT=( python3_{9,10,11} )
-inherit python-single-r1 xdg-utils
+inherit python-single-r1 xdg
DESCRIPTION="Fully-featured audio plugin host, supports many audio drivers and plugin formats"
HOMEPAGE="http://kxstudio.linuxaudio.org/Applications:Carla"
-if [[ ${PV} == *9999 ]]; then
- # Disable submodules to prevent external plugins from being built and installed
- inherit git-r3
- EGIT_REPO_URI="https://github.com/falkTX/Carla.git"
- EGIT_SUBMODULES=()
-else
- SRC_URI="https://github.com/falkTX/Carla/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- RESTRICT="mirror"
- S="${WORKDIR}/Carla-${PV}"
-fi
+SRC_URI="https://github.com/falkTX/Carla/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RESTRICT="mirror"
+S="${WORKDIR}/Carla-${PV}"
KEYWORDS="~amd64"
LICENSE="GPL-2 LGPL-3"
SLOT="0"
@@ -91,15 +84,3 @@ src_install() {
find "${D}/usr" -iname "carla-control*" | xargs rm
fi
}
-
-pkg_postinst() {
- xdg_mimeinfo_database_update
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_mimeinfo_database_update
- xdg_desktop_database_update
- xdg_icon_cache_update
-}