summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-06-03 02:17:30 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-06-03 02:17:30 +0000
commitb151e6bce106ab1c181206497139822d2b2d2a7d (patch)
tree5932fc5878cf45382f7a7531c460240f6b434c15 /media-gfx
parentAutomated update of use.local.desc (diff)
downloadhistorical-b151e6bce106ab1c181206497139822d2b2d2a7d.tar.gz
historical-b151e6bce106ab1c181206497139822d2b2d2a7d.tar.bz2
historical-b151e6bce106ab1c181206497139822d2b2d2a7d.zip
Move from x11-misc wrt #201044.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64 RepoMan-Options: --force
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/openclipart/ChangeLog83
-rw-r--r--media-gfx/openclipart/Manifest7
-rw-r--r--media-gfx/openclipart/metadata.xml8
-rw-r--r--media-gfx/openclipart/openclipart-0.18-r1.ebuild109
-rw-r--r--media-gfx/openclipart/openclipart-0.19.ebuild49
5 files changed, 256 insertions, 0 deletions
diff --git a/media-gfx/openclipart/ChangeLog b/media-gfx/openclipart/ChangeLog
new file mode 100644
index 000000000000..b992a45c66b0
--- /dev/null
+++ b/media-gfx/openclipart/ChangeLog
@@ -0,0 +1,83 @@
+# ChangeLog for media-gfx/openclipart
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/openclipart/ChangeLog,v 1.1 2009/06/03 02:17:30 ssuominen Exp $
+
+ 03 Jun 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +openclipart-0.18-r1.ebuild, +openclipart-0.19.ebuild, +metadata.xml:
+ Move from x11-misc wrt #201044.
+
+*openclipart-0.19 (11 May 2009)
+
+ 11 May 2009; Thilo Bangert <bangert@gentoo.org> +openclipart-0.19.ebuild:
+ version bump - bug #264732
+
+ 24 Jan 2009; nixnut <nixnut@gentoo.org> openclipart-0.18-r1.ebuild:
+ ppc stable #254547
+
+ 19 Jan 2009; Jeremy Olexa <darkside@gentoo.org>
+ openclipart-0.18-r1.ebuild:
+ amd64 stable, bug 254547
+
+ 15 Oct 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ openclipart-0.18-r1.ebuild:
+ Fix SRC_URI, see bug #185982.
+
+ 02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org>
+ openclipart-0.18-r1.ebuild:
+ (QA) RESTRICT clean up.
+
+ 21 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
+ Redigest for Manifest2
+
+ 23 May 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ -openclipart-0.18.ebuild, openclipart-0.18-r1.ebuild:
+ Stable on x86.
+
+*openclipart-0.18-r1 (16 Mar 2006)
+
+ 16 Mar 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +openclipart-0.18-r1.ebuild:
+ Added new version with heavily modified install procedure. Allows smaller
+ downloads when only svg is in USE and solves the issue with directory names
+ that contain spaces. See bug #116289.
+
+ 28 Dec 2005; Krzysiek Pawlik <nelchael@gentoo.org>
+ -openclipart-0.17-r1.ebuild, openclipart-0.18.ebuild:
+ Stable on x86, removed old version.
+
+*openclipart-0.18 (31 Oct 2005)
+
+ 31 Oct 2005; Krzysiek Pawlik <nelchael@gentoo.org>
+ -openclipart-0.15.ebuild, +openclipart-0.18.ebuild:
+ Version bump.
+
+*openclipart-0.17-r1 (26 Sep 2005)
+
+ 26 Sep 2005; Krzysiek Pawlik <nelchael@gentoo.org>
+ -openclipart-0.17.ebuild, +openclipart-0.17-r1.ebuild:
+ Fix bug 107254.
+
+*openclipart-0.17 (25 Sep 2005)
+
+ 25 Sep 2005; Krzysiek Pawlik <nelchael@gentoo.org>
+ -openclipart-0.12.ebuild, +openclipart-0.17.ebuild:
+ Version bump, removed 0.12
+
+*openclipart-0.15 (09 Jul 2005)
+
+ 09 Jul 2005; Jonathan Smith <smithj@gentoo.org> +openclipart-0.15.ebuild:
+ version bump
+
+ 09 Jul 2005; Jonathan Smith <smithj@gentoo.org> openclipart-0.12.ebuild:
+ added ~amd64
+
+ 24 Jun 2005; David Holm <dholm@gentoo.org> openclipart-0.12.ebuild:
+ Added to ~ppc.
+
+*openclipart-0.12 (23 Jun 2005)
+
+ 23 Jun 2005; Jonathan Smith <smithj@gentoo.org> +metadata.xml,
+ +openclipart-0.12.ebuild:
+ initial commit for #62278; thanks to Stefan Briesenick <sbriesen@gentoo.org>
+ for the ebuild
+
diff --git a/media-gfx/openclipart/Manifest b/media-gfx/openclipart/Manifest
new file mode 100644
index 000000000000..31b33ca53800
--- /dev/null
+++ b/media-gfx/openclipart/Manifest
@@ -0,0 +1,7 @@
+DIST openclipart-0.18-full.tar.bz2 116472396 RMD160 438a387e2abd2fd6044282d2853747231206871f SHA1 97f8d53d0ee761009325105c1808fdc6b938cdf2 SHA256 446a1d4af2fd7f9e4664853c778ef321e1aa6518a76065aa9d912f5914509db4
+DIST openclipart-0.18-svgonly.tar.bz2 82108957 RMD160 cdd9855ba421d42f6e9d78e208e84dcf660a6cd0 SHA1 c9042d032142ddadc33f4f2a512c56016cae4f36 SHA256 57572d443439759b0347da95a5457f988048976c7e13d70a09894cdee412be29
+DIST openclipart-0.19.tar.bz2 2585150 RMD160 33259bafb38eb2c78617764d98f794360443ed09 SHA1 12a3afd5de629a972d859dc1fb09531d295ae746 SHA256 78b87c8379a43921bf6fa8be85f7b3802d4e8539d5f0589072beb4c850b8dafb
+EBUILD openclipart-0.18-r1.ebuild 2844 RMD160 a8a69f9c67a9c90497db2875f2ebae288e1e2486 SHA1 203f4affbf510dd62f3e1aae46c94896f2d19713 SHA256 c8e059a8c64927d05cfed44c9e3613d3731c98ea2bc2e68374eb8f0a2b7421c1
+EBUILD openclipart-0.19.ebuild 1210 RMD160 252f2ac658b9b5ba9ae027a8871ec89dda1b43e9 SHA1 d4a36266602e978a5f82e2273074cd4fc4175767 SHA256 55c5c115f8f487d78a8807eb7f18acc3a5bdf4da9dcfce71c8312690cbbe5092
+MISC ChangeLog 2639 RMD160 f930fa487312beeff6d62bd7caaf8ec0ada72704 SHA1 112c1a1ad36914d7adb7110bf2d30a41cce254d5 SHA256 36b27242fd3c3987d730210a8551ec9d922a28b44735fd2500673ebda612a590
+MISC metadata.xml 235 RMD160 500382c21b61543f3fb7cf2c84ed8ac29b9b2e65 SHA1 5082333c66da4becb52ea246f9148747fa98fbda SHA256 fc2c748e2b4e2b4d12f12ec66fadca4aec975101d2115078a44a6f43a76a72e5
diff --git a/media-gfx/openclipart/metadata.xml b/media-gfx/openclipart/metadata.xml
new file mode 100644
index 000000000000..7600f7a1fc40
--- /dev/null
+++ b/media-gfx/openclipart/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>graphics</herd>
+ <use>
+ <flag name="gzip">Compresses clip art using gzip</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-gfx/openclipart/openclipart-0.18-r1.ebuild b/media-gfx/openclipart/openclipart-0.18-r1.ebuild
new file mode 100644
index 000000000000..eb5752a5b7ff
--- /dev/null
+++ b/media-gfx/openclipart/openclipart-0.18-r1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/openclipart/openclipart-0.18-r1.ebuild,v 1.1 2009/06/03 02:17:30 ssuominen Exp $
+
+DESCRIPTION="Open Clip Art Library (openclipart.org)"
+HOMEPAGE="http://www.openclipart.org/"
+
+# Ugly stuff warning:
+SRC_URI="svg? ( !wmf? ( !png? ( !pdf? ( !doc? (
+ http://download.openclipart.org/downloads/${PV}/${P}-svgonly.tar.bz2
+ ) ) ) )
+ png? ( http://download.openclipart.org/downloads/${PV}/${P}-full.tar.bz2 )
+ pdf? ( http://download.openclipart.org/downloads/${PV}/${P}-full.tar.bz2 )
+ wmf? ( http://download.openclipart.org/downloads/${PV}/${P}-full.tar.bz2 )
+ doc? ( http://download.openclipart.org/downloads/${PV}/${P}-full.tar.bz2 )
+ )
+ !svg? ( http://download.openclipart.org/downloads/${PV}/${P}-full.tar.bz2 )"
+
+LICENSE="public-domain" # creative commons
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="doc svg png pdf wmf gzip"
+
+# We don't really need anything to run
+DEPEND=""
+RDEPEND=""
+
+# Nothing to strip
+RESTRICT="strip"
+
+# suggested basedir for cliparts
+CLIPART="/usr/share/clipart/${PN}"
+
+src_unpack() {
+
+ unpack "${A}"
+
+ if ! use svg && ! use png && ! use pdf && ! use wmf; then
+ ewarn "No image formats specified - defaulting to all"
+ else
+ ! use pdf && MY_REMOVE="${MY_REMOVE} pdf"
+ ! use png && MY_REMOVE="${MY_REMOVE} png"
+ ! use svg && MY_REMOVE="${MY_REMOVE} svg"
+ ! use wmf && MY_REMOVE="${MY_REMOVE} wmf"
+ fi
+
+ ! use doc && MY_REMOVE="${MY_REMOVE} txt"
+
+ export MY_REMOVE
+
+ MY_S="${WORKDIR}/openclipart-${PV}-"
+ if use wmf || use png || use pdf || use doc || ! use svg; then
+ MY_S="${MY_S}full"
+ else
+ MY_S="${MY_S}svgonly"
+ fi
+ export MY_S
+
+ cd "${MY_S}/clipart/"
+ einfo "Removing useless files..."
+
+ find \
+ \( -name "automatic" -o -name "move" -o -name "*.rdf" -o \
+ -name "*.spec" -o -name "*.log" -o -name "*.sxd" -o \
+ -name "*~" -o -name ".*.swp" \
+ \) -exec rm -f {} \; || die "Failed"
+
+ rm -f LICENSE.txt LOG.txt PASSFAIL README README.txt \
+ TODO index.xml keywords.idx || die "Failed"
+
+}
+
+src_compile() {
+
+ cd "${MY_S}/clipart/"
+ for ext in ${MY_REMOVE}; do
+ einfo "Removing files - ${ext}..."
+ find -name "*.${ext}" -exec rm -f {} \; \
+ || die "Failed - remove"
+ done
+
+ if use gzip; then
+
+ einfo "Compressing SVG files..."
+ find -name "*.svg" -print0 | xargs -L 1 -0 \
+ bash -c 'gzip -9c "${1}" > "${1}z"; rm -f "${1}"' --
+
+ fi
+
+ einfo "Compressing docs..."
+ find \
+ \( -name "*.txt" -o -name "README" -o -name "AUTHORS" -o \
+ -name "COPYING" \
+ \) -exec gzip -9 {} \; || die "Failed - compress docs"
+
+}
+
+src_install() {
+
+ dodir "${CLIPART}" || die "Failed - dodir"
+
+ cd "${MY_S}/clipart"
+ find -type f -exec cp --parents {} "${D}/${CLIPART}" \; || \
+ die "Failed - install"
+
+ cd "${MY_S}"
+ dodoc LICENSE README NEWS VERSION ChangeLog
+
+}
diff --git a/media-gfx/openclipart/openclipart-0.19.ebuild b/media-gfx/openclipart/openclipart-0.19.ebuild
new file mode 100644
index 000000000000..8f92639ee4cb
--- /dev/null
+++ b/media-gfx/openclipart/openclipart-0.19.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/openclipart/openclipart-0.19.ebuild,v 1.1 2009/06/03 02:17:30 ssuominen Exp $
+
+EAPI="2"
+
+DESCRIPTION="Open Clip Art Library (openclipart.org)"
+HOMEPAGE="http://www.openclipart.org/"
+
+SRC_URI="http://download.openclipart.org/downloads/${PV}/${P}.tar.bz2"
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="svg png gzip"
+
+# We don't really need anything to run
+DEPEND=""
+RDEPEND=""
+
+# suggested basedir for cliparts
+CLIPART="/usr/share/clipart/${PN}"
+
+src_compile() {
+ local removeext
+
+ if ! use svg && ! use png; then
+ elog "No image formats specified - defaulting to all (png and svg)"
+ else
+ ! use png && removeext="${removeext} png"
+ ! use svg && removeext="${removeext} svg"
+ fi
+
+ for ext in ${removeext}; do
+ elog "Removing ${ext} files..."
+ find -name "*.${ext}" -exec rm -f {} \; \
+ || die "Failed - remove"
+ done
+
+ if use gzip; then
+ einfo "Compressing SVG files..."
+ find -name "*.svg" -print0 | xargs -L 1 -0 \
+ bash -c 'gzip -9c "${1}" > "${1}z"; rm -f "${1}"' --
+ fi
+}
+
+src_install() {
+ insinto ${CLIPART}
+ doins -r .
+}