summaryrefslogtreecommitdiff
blob: 9c6c9c1c7d485231f4656b5155496219b9abb0f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/kcdlabel/kcdlabel-2.13-r1.ebuild,v 1.5 2009/07/08 20:58:33 maekke Exp $

ARTS_REQUIRED="never"

inherit flag-o-matic kde eutils

DESCRIPTION="KCDLabel is a KDE program used to create covers, labels and booklets for your CD cases."
HOMEPAGE="http://kcdlabel.sourceforge.net/"
SRC_URI="http://kcdlabel.sourceforge.net/download/${P}-KDE3.tar.gz
	mirror://gentoo/kde-admindir-3.5.5.tar.bz2"

SLOT="3.5"
LICENSE="GPL-2"
KEYWORDS="amd64 ~ppc sparc x86"
IUSE=""

need-kde 3.5

S="${WORKDIR}/${P}-KDE3"

PATCHES=(
	"${FILESDIR}/kcdlabel-2.13-desktop-file.diff"
	)

src_unpack() {
	kde_src_unpack

	rm -f "${S}"/configure
}

src_compile(){
	append-flags -fpermissive
	kde_src_compile all
}

src_install(){
	kde_src_install
	insinto /usr/share/pixmaps
	doins "${S}"/kcdlabel/icons/kcdlabel.xpm
}