diff options
author | David Seifert <soap@gentoo.org> | 2021-05-08 16:15:07 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-05-08 16:15:07 +0200 |
commit | 105afb71e520068247f81baada0c1bee220df658 (patch) | |
tree | f8d3551fe345575b26ea07b9342ee7406ca16301 /media-sound | |
parent | dev-cpp/tree: Make gcc11 patch more git-like (diff) | |
download | gentoo-105afb71e520068247f81baada0c1bee220df658.tar.gz gentoo-105afb71e520068247f81baada0c1bee220df658.tar.bz2 gentoo-105afb71e520068247f81baada0c1bee220df658.zip |
media-sound/gigedit: Clean up ebuild
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/gigedit/gigedit-1.1.1-r1.ebuild | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/media-sound/gigedit/gigedit-1.1.1-r1.ebuild b/media-sound/gigedit/gigedit-1.1.1-r1.ebuild index e8c0ba9adca2..8c8ab2c48999 100644 --- a/media-sound/gigedit/gigedit-1.1.1-r1.ebuild +++ b/media-sound/gigedit/gigedit-1.1.1-r1.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools desktop xdg + +inherit autotools desktop flag-o-matic xdg DESCRIPTION="An instrument editor for gig files" HOMEPAGE="http://www.linuxsampler.org/" @@ -11,43 +12,33 @@ SRC_URI="http://download.linuxsampler.org/packages/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~x86" -IUSE="" -BDEPEND=" - sys-devel/gettext - >=dev-util/intltool-0.35.0 - virtual/pkgconfig -" -CDEPEND=" +RDEPEND=" dev-cpp/gtkmm:2.4 >=media-libs/libgig-3.3.0 >=media-libs/libsndfile-1.0.2 - >=media-sound/linuxsampler-0.5.1 -" + >=media-sound/linuxsampler-0.5.1" DEPEND="${RDEPEND}" -RDEPEND="${CDEPEND}" +BDEPEND=" + sys-devel/gettext + >=dev-util/intltool-0.35.0 + virtual/pkgconfig" src_prepare() { default - # docdir is not propagated there - sed -i "s%\$(datadir)/doc/\$(PACKAGE)%\$(datadir)/doc/${P}%g" doc/quickstart/Makefile.am || die + sed -i '/docdir/d' doc/quickstart/Makefile.am || die eautoreconf } src_configure() { + append-ldflags -Wl,-rpath,"${EPREFIX}/usr/$(get_libdir)/linuxsampler" econf --disable-static } -src_compile() { - emake LDFLAGS="${LDFLAGS} -Wl,-rpath,/usr/$(get_libdir)/linuxsampler" -} - src_install() { default - - einfo "Removing static libs..." - find "${D}" -name "*.la" -delete || die "Failed to remove static libs" - make_desktop_entry gigedit GigEdit "" "AudioVideo;AudioVideoEditing" + + find "${ED}" -name '*.la' -delete || die } |