forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 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
1 parent
f2350f6
commit 0538aa8
Showing
2 changed files
with
38 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file was deleted.
Oops, something went wrong.