summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-12-26 21:42:13 +0000
committerMichał Górny <mgorny@gentoo.org>2014-12-26 21:42:13 +0000
commit0960777e3beddd7bf23dee1a84fef7a74b556a0f (patch)
treec39a32fc557361e94574f7d69a6db67bc2a94881 /app-cdr/cdcover
parentAdd gcc-4.8.4 (diff)
downloadgentoo-2-0960777e3beddd7bf23dee1a84fef7a74b556a0f.tar.gz
gentoo-2-0960777e3beddd7bf23dee1a84fef7a74b556a0f.tar.bz2
gentoo-2-0960777e3beddd7bf23dee1a84fef7a74b556a0f.zip
Convert to python-single-r1.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'app-cdr/cdcover')
-rw-r--r--app-cdr/cdcover/ChangeLog10
-rw-r--r--app-cdr/cdcover/cdcover-0.7.4-r1.ebuild47
2 files changed, 54 insertions, 3 deletions
diff --git a/app-cdr/cdcover/ChangeLog b/app-cdr/cdcover/ChangeLog
index d0e072aa2b45..88615b0dd29e 100644
--- a/app-cdr/cdcover/ChangeLog
+++ b/app-cdr/cdcover/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-cdr/cdcover
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdcover/ChangeLog,v 1.3 2011/02/11 19:58:58 ssuominen Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdcover/ChangeLog,v 1.4 2014/12/26 21:42:13 mgorny Exp $
+
+*cdcover-0.7.4-r1 (26 Dec 2014)
+
+ 26 Dec 2014; Michał Górny <mgorny@gentoo.org> +cdcover-0.7.4-r1.ebuild:
+ Convert to python-single-r1.
*cdcover-0.7.4 (11 Feb 2011)
@@ -18,4 +23,3 @@
+files/cdcover-0.7.3-install_all_images.patch, +cdcover-0.7.3.ebuild:
Initial commit for bug 81768, thanks to Roland Schäuble and BT <amak79 AT
gmail DOT com>
-
diff --git a/app-cdr/cdcover/cdcover-0.7.4-r1.ebuild b/app-cdr/cdcover/cdcover-0.7.4-r1.ebuild
new file mode 100644
index 000000000000..9e94ec4d721e
--- /dev/null
+++ b/app-cdr/cdcover/cdcover-0.7.4-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdcover/cdcover-0.7.4-r1.ebuild,v 1.1 2014/12/26 21:42:13 mgorny Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE=tk
+
+inherit eutils python-single-r1
+
+DESCRIPTION="cdcover allows the creation of inlay-sheets for jewel cd-cases"
+HOMEPAGE="http://cdcover.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cddb"
+
+RDEPEND="${PYTHON_DEPS}
+ cddb? ( dev-python/cddb-py[${PYTHON_USEDEP}] )
+ media-sound/cd-discid"
+DEPEND=""
+
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+ sed -i -e 's:ggv:gv:' dotcdcover.{example,m4} || die
+}
+
+src_compile() {
+ emake prefix="${D}"/usr target=/usr || die
+}
+
+src_install() {
+ emake prefix="${D}"/usr docdir="${D}"/usr/share/doc/${PF} install || die
+
+ python_fix_shebang "${D}"
+
+ make_desktop_entry ${PN} ${PN}
+
+ dodoc doc/cdcover.pdf
+}