diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2008-06-18 16:49:49 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2008-06-18 16:49:49 +0000 |
commit | b65ae5a9a6e6e76c80327c0c4762d89fc0f801ac (patch) | |
tree | 7e2fad402edb6e216d8bd3cc3f82027315e9e8f4 /media-fonts | |
parent | Version bump (diff) | |
download | gentoo-2-b65ae5a9a6e6e76c80327c0c4762d89fc0f801ac.tar.gz gentoo-2-b65ae5a9a6e6e76c80327c0c4762d89fc0f801ac.tar.bz2 gentoo-2-b65ae5a9a6e6e76c80327c0c4762d89fc0f801ac.zip |
Snapshot support
(Portage version: 2.1.5.5)
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/dejavu/ChangeLog | 5 | ||||
-rw-r--r-- | media-fonts/dejavu/dejavu-2.25-r1.ebuild | 30 |
2 files changed, 27 insertions, 8 deletions
diff --git a/media-fonts/dejavu/ChangeLog b/media-fonts/dejavu/ChangeLog index dfb1b1bb20db..36201c75b3d3 100644 --- a/media-fonts/dejavu/ChangeLog +++ b/media-fonts/dejavu/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-fonts/dejavu # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/dejavu/ChangeLog,v 1.118 2008/06/12 18:06:14 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/dejavu/ChangeLog,v 1.119 2008/06/18 16:49:49 loki_val Exp $ + + 18 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> dejavu-2.25-r1.ebuild: + Snapshot support 12 Jun 2008; nixnut <nixnut@gentoo.org> dejavu-2.25-r1.ebuild: Added ~ppc wrt bug 224541 diff --git a/media-fonts/dejavu/dejavu-2.25-r1.ebuild b/media-fonts/dejavu/dejavu-2.25-r1.ebuild index 0d28e7bbd01e..53dd9fc76632 100644 --- a/media-fonts/dejavu/dejavu-2.25-r1.ebuild +++ b/media-fonts/dejavu/dejavu-2.25-r1.ebuild @@ -1,24 +1,38 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/dejavu/dejavu-2.25-r1.ebuild,v 1.8 2008/06/12 18:06:14 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/dejavu/dejavu-2.25-r1.ebuild,v 1.9 2008/06/18 16:49:49 loki_val Exp $ EAPI=1 -inherit font +inherit font versionator DESCRIPTION="DejaVu fonts, bitstream vera with ISO-8859-2 characters" HOMEPAGE="http://dejavu.sourceforge.net/" LICENSE="BitstreamVera" -MY_BP=${PN}-fonts-ttf-${PV} -MY_SP=${PN}-fonts-${PV} -SRC_URI="!fontforge? ( mirror://sourceforge/${PN}/${MY_BP}.tar.bz2 ) - fontforge? ( mirror://sourceforge/${PN}/${MY_SP}.tar.bz2 )" +# If you want to test snapshot from dejavu.sf.net/snapshots/ +# just rename ebuild to dejavu-2.22.20071220.2156.ebuild +MY_PV=$(get_version_component_range 1-2) +snapv=$(get_version_component_range 3-4) +snapv=${snapv/./-} +MY_BP=${PN}-fonts-ttf-${MY_PV} +MY_SP=${PN}-fonts-${MY_PV} + +if [ -z ${snapv} ] +then + SRC_URI="!fontforge? ( mirror://sourceforge/${PN}/${MY_BP}.tar.bz2 ) + fontforge? ( mirror://sourceforge/${PN}/${MY_SP}.tar.bz2 )" +else + MY_BP=${MY_BP}-${snapv} + MY_SP=${MY_SP}-${snapv} + SRC_URI="!fontforge? ( http://dejavu.sourceforge.net/snapshots/${MY_BP}.tar.bz2 ) + fontforge? ( http://dejavu.sourceforge.net/snapshots/${MY_SP}.tar.bz2 )" +fi SLOT="0" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="+fontforge" +IUSE="fontforge" DEPEND="fontforge? ( x11-apps/mkfontscale >=media-gfx/fontforge-20080429 x11-apps/mkfontdir @@ -35,10 +49,12 @@ else S=${WORKDIR}/${MY_BP} FONT_S=${S}/ttf fi + FONT_CONF=( "${S}/fontconfig/20-unhint-small-dejavu.conf" "${S}/fontconfig/20-unhint-small-dejavu-experimental.conf" "${S}/fontconfig/57-dejavu.conf" "${S}/fontconfig/61-dejavu-experimental.conf" ) + FONT_SUFFIX="ttf" DOCS="AUTHORS NEWS README status.txt langcover.txt unicover.txt" |