Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 75803 Details for
Bug 116289
Download only svg images from openclipart
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
openclipart-0.18-r1.ebuild
openclipart-0.18-r1.ebuild (text/plain), 2.75 KB, created by
Krzysztof Pawlik (RETIRED)
on 2005-12-30 09:30:16 UTC
(
hide
)
Description:
openclipart-0.18-r1.ebuild
Filename:
MIME Type:
Creator:
Krzysztof Pawlik (RETIRED)
Created:
2005-12-30 09:30:16 UTC
Size:
2.75 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/x11-misc/openclipart/openclipart-0.18.ebuild,v 1.2 2005/12/28 18:33:48 nelchael Exp $ > >DESCRIPTION="Open Clip Art Library (openclipart.org)" >HOMEPAGE="http://www.openclipart.org/" >SRC_URI="svg? ( > !wmf? ( > !png? ( > !pdf? ( > !doc? ( > http://openclipart.org/downloads/${PV}/${P}-svgonly.tar.bz2 > ) > ) > ) > ) > png? ( http://www.openclipart.org/downloads/${PV}/${P}-full.tar.bz2 ) > pdf? ( http://www.openclipart.org/downloads/${PV}/${P}-full.tar.bz2 ) > wmf? ( http://www.openclipart.org/downloads/${PV}/${P}-full.tar.bz2 ) > doc? ( http://www.openclipart.org/downloads/${PV}/${P}-full.tar.bz2 ) > ) > !svg? ( http://www.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="nostrip" > ># 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 > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 116289
: 75803