Skip to content

Commit

Permalink
app-cdr/xcdroast: bump to 1.19
Browse files Browse the repository at this point in the history
Version bump to 1.19
Bump to EAPI=8
change icon, because the old file is not available anymore
Drop old patches
Closes: https://bugs.gentoo.org/649982
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jonas Stein <[email protected]>
  • Loading branch information
jonasstein committed Feb 18, 2022
1 parent 0de4fe2 commit adfdd50
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-cdr/xcdroast/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST xcdroast-0.98alpha16.tar.gz 3563666 BLAKE2B 781f06e89265e9f30ea651d39219d7083a2cfc2833bc2ab0b57d9f67de77b2eb8aa6755148cd259e3c188a72f07026ecda91d0bbe09af4b55c696c75274739e0 SHA512 dec789955eb70a14f6bcb7c0895a6ca4b7c471cc5ee7ab12af1e671c8586c481c4a05e20eb42724d686d561a551809d9437dafadd3cd081079cefc28e0b94df7
DIST xcdroast-1.19.tar.gz 3448552 BLAKE2B 2e4e2b5119d5002870142d95345ddd33dad40c5a9d7517594da0dfd945bea012d5391b61fb6264d790aaaacf4de6b990fc77f4b40fab594ac1a5d2279dafa933 SHA512 79449353ba5a1be990366e85bd807e4ef35ec19f021986634ee9549608dca0e447b61dbbed0f30f588baac49fc6b93c055800bedb629ff77274d7da7c39d7881
61 changes: 61 additions & 0 deletions app-cdr/xcdroast/xcdroast-1.19.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit desktop gnome2-utils

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

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

RDEPEND=">=x11-libs/gtk+-2:2
>=app-cdr/cdrtools-3.02_alpha09"
DEPEND="${RDEPEND}
sys-devel/gettext
virtual/pkgconfig"

S=${WORKDIR}/${P/_/}

src_prepare() {
default
}

src_configure() {
econf \
$(use_enable nls) \
$(use_enable suid nonrootmode) \
--enable-gtk2 \
--mandir=/usr/share/man \
--sysconfdir=/etc
}

src_compile() {
emake PREFIX=/usr
}

src_install() {
emake PREFIX=/usr DESTDIR="${D}" install
dodoc -r AUTHORS ChangeLog README doc/*

insinto /usr/share/icons/hicolor/48x48/apps
newins xpms/ico_cdwriter.xpm xcdroast.xpm

make_desktop_entry xcdroast "X-CD-Roast" xcdroast "AudioVideo;DiscBurning"
}

pkg_preinst() {
gnome2_icon_savelist
}

pkg_postinst() {
gnome2_icon_cache_update
}

pkg_postrm() {
gnome2_icon_cache_update
}

0 comments on commit adfdd50

Please sign in to comment.