Skip to content

Commit

Permalink
app-cdr/xcdroast: misc QA fixes
Browse files Browse the repository at this point in the history
- Fix pkg_* (gnome2 icons bits aren't exported/available in EAPI 8; use xdg.eclass)
- Drop unrecognised configure args
- Drop unnecessary phase definitions
- Fix dependencies
- Use do/newicon from desktop.eclass

Closes: https://bugs.gentoo.org/833636
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Feb 19, 2022
1 parent f2350f6 commit 0538aa8
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 61 deletions.
38 changes: 38 additions & 0 deletions app-cdr/xcdroast/xcdroast-1.19-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop xdg

DESCRIPTION="Lightweight cdrtools front-end for CD and DVD writing"
HOMEPAGE="http://www.xcdroast.org/"
SRC_URI="mirror://sourceforge/xcdroast/${P/_/}.tar.gz"
S="${WORKDIR}"/${P/_/}

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="nls suid"

RDEPEND=">=app-cdr/cdrtools-3.02_alpha09
media-libs/alsa-lib
>=x11-libs/gtk+-2:2"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig
nls? ( sys-devel/gettext )"

src_configure() {
econf \
$(use_enable nls) \
$(use_enable suid user-host-mode)
}

src_install() {
default

dodoc -r AUTHORS ChangeLog README doc/*

newicon -s 48 xpms/ico_cdwriter.xpm xcdroast.xpm
make_desktop_entry xcdroast "X-CD-Roast" xcdroast "AudioVideo;DiscBurning"
}
61 changes: 0 additions & 61 deletions app-cdr/xcdroast/xcdroast-1.19.ebuild

This file was deleted.

0 comments on commit 0538aa8

Please sign in to comment.