summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-12-02 23:43:47 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-12-03 01:45:57 +0100
commit5187fe945682b4dba9d57fe628fe5a242f85a893 (patch)
tree2c7759537191709ae59606d1da8b884e408c153d
parentkde-plasma/plasma-workspace: Fix MissingUseDepDefault (diff)
downloadkde-sunset-5187fe945682b4dba9d57fe628fe5a242f85a893.tar.gz
kde-sunset-5187fe945682b4dba9d57fe628fe5a242f85a893.tar.bz2
kde-sunset-5187fe945682b4dba9d57fe628fe5a242f85a893.zip
media-sound/drumstick: Fix HOMEPAGE, fdo-mime and gnome2-utils -> xdg
Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--media-sound/drumstick/drumstick-0.5.0.ebuild26
1 files changed, 4 insertions, 22 deletions
diff --git a/media-sound/drumstick/drumstick-0.5.0.ebuild b/media-sound/drumstick/drumstick-0.5.0.ebuild
index 7693a5b5..cce59b22 100644
--- a/media-sound/drumstick/drumstick-0.5.0.ebuild
+++ b/media-sound/drumstick/drumstick-0.5.0.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit fdo-mime gnome2-utils cmake-utils
+inherit cmake-utils xdg
DESCRIPTION="Qt4/C++ wrapper for ALSA sequencer"
-HOMEPAGE="http://drumstick.sourceforge.net/"
+HOMEPAGE="https://drumstick.sourceforge.io/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
@@ -35,9 +35,7 @@ PATCHES=(
)
src_prepare() {
- sed -i \
- -e '/CMAKE_EXE_LINKER_FLAGS/d' \
- CMakeLists.txt || die
+ sed -e '/CMAKE_EXE_LINKER_FLAGS/d' -i CMakeLists.txt || die
cmake-utils_src_prepare
}
@@ -48,19 +46,3 @@ src_configure() {
)
cmake-utils_src_configure
}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- gnome2_icon_cache_update
-}