summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-04-13 12:54:07 +0000
committerUlrich Müller <ulm@gentoo.org>2008-04-13 12:54:07 +0000
commit125102f3a1614d2bbeb21ee3cf47f6ae7750ced0 (patch)
treec73e5fae730c6f617cb1eb51dd036f092d1458ab /media-gfx/jpeg2ps
parentAdd local metric USE flag for media-gfx/jpeg2ps. (diff)
downloadhistorical-125102f3a1614d2bbeb21ee3cf47f6ae7750ced0.tar.gz
historical-125102f3a1614d2bbeb21ee3cf47f6ae7750ced0.tar.bz2
historical-125102f3a1614d2bbeb21ee3cf47f6ae7750ced0.zip
Set default paper size according to "metric" USE flag, bug 61922.
Package-Manager: portage-2.1.5_rc2
Diffstat (limited to 'media-gfx/jpeg2ps')
-rw-r--r--media-gfx/jpeg2ps/ChangeLog5
-rw-r--r--media-gfx/jpeg2ps/Manifest14
-rw-r--r--media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild9
3 files changed, 19 insertions, 9 deletions
diff --git a/media-gfx/jpeg2ps/ChangeLog b/media-gfx/jpeg2ps/ChangeLog
index 8501604ede9a..db2f8a394408 100644
--- a/media-gfx/jpeg2ps/ChangeLog
+++ b/media-gfx/jpeg2ps/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/jpeg2ps
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeg2ps/ChangeLog,v 1.22 2008/01/26 10:37:58 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeg2ps/ChangeLog,v 1.23 2008/04/13 12:54:07 ulm Exp $
+
+ 13 Apr 2008; Ulrich Mueller <ulm@gentoo.org> jpeg2ps-1.9-r1.ebuild:
+ Set default paper size according to "metric" USE flag, bug 61922.
26 Jan 2008; Fabian Groffen <grobian@gentoo.org> jpeg2ps-1.9-r1.ebuild:
Dropped ppc-macos keyword, see you in prefix
diff --git a/media-gfx/jpeg2ps/Manifest b/media-gfx/jpeg2ps/Manifest
index fd0b749c616a..b247deae515d 100644
--- a/media-gfx/jpeg2ps/Manifest
+++ b/media-gfx/jpeg2ps/Manifest
@@ -1,5 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX jpeg2ps-1.9-include.diff 341 RMD160 c9ca28c4b95e30d9b9ba54745897717a4c16038d SHA1 63ebe5f1a9045d74f358ca0022f2353569c7aa1d SHA256 33481d82661a44fe8e52ecad7c467173d6570e8e64e9b0b7f54d05575e013cd4
DIST jpeg2ps-1.9.tar.gz 67105 RMD160 076c59aeded1615bdb65db138a8448e9146f7ed3 SHA1 2fc2701c7c00ba17b051ebcc7b9c8059eb6614f9 SHA256 e09919ff55bb1fd26299adfe92e5ea0e7daaa3bfa0277a0483cac9764eac25a2
-EBUILD jpeg2ps-1.9-r1.ebuild 1522 RMD160 b046f1b55c114f2558982ff03ec180d9f37c46c3 SHA1 4a60ab8d37106a4449342f87d87358e51d6217cb SHA256 05b1d8a7fd1c405f9218efcded2b32e3c6716a2c017dd85f45a3129889822914
-MISC ChangeLog 2612 RMD160 9855cdffbd1eddfc5de3b23eafa68da9275a394b SHA1 f5ba093c4d94133c25cd50441348212d37ee3b6a SHA256 dc12cbc6dfdc3965c498809444750b1013d66458d671c46bf09690101fd23579
+EBUILD jpeg2ps-1.9-r1.ebuild 1407 RMD160 3605ad3585883c0d9eb0609680d7b547923fa1c7 SHA1 e13946d7db5f9bc08a5ef2878728f8d675eff37c SHA256 75b061bc99f9e7a3d92ff826a1c2b37c8ae7f1730caea339df0966695164daa4
+MISC ChangeLog 2747 RMD160 6d26b87a75cacf8a135696f1a89f40c96d7956d6 SHA1 4dedb25c604266fd82dfc3af84540cabc8c937ae SHA256 9b69c7509ba1da4eaa0b14841c3e7d99db11b3b61bd831b5b5d12b54d6c95852
MISC metadata.xml 220 RMD160 adc48e647313388283ae35858630a0cd365d062d SHA1 608ab988c1dd0ae33e1ba250a7a2b11a440a5122 SHA256 e452b92a9dcdbfc22271b53fc5efae8d6eb0bf5b80af2b23867d7e79f2d97eab
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (GNU/Linux)
+
+iEYEARECAAYFAkgCAoYACgkQOeoy/oIi7uyjtgCeJ9BW2C+vLSPv/lw1EWCBLTak
+J8IAoODzv08NxjZqhLsqfqeznfjTRRtk
+=nR39
+-----END PGP SIGNATURE-----
diff --git a/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild b/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild
index 5b12f92e7bd0..c78c8e091390 100644
--- a/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild
+++ b/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild,v 1.15 2008/01/26 10:37:58 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild,v 1.16 2008/04/13 12:54:07 ulm Exp $
inherit eutils
@@ -11,7 +11,7 @@ SRC_URI="http://www.pdflib.com/products/more/jpeg2ps/${P}.tar.gz"
LICENSE="free-noncomm"
SLOT="0"
KEYWORDS="amd64 ppc ~ppc64 sparc x86"
-IUSE=""
+IUSE="metric"
DEPEND="sys-apps/sed"
RDEPEND=""
@@ -25,10 +25,7 @@ src_unpack() {
src_compile() {
pagesize=""
- if [ -h /etc/localtime ]; then
- local continent=$(readlink /etc/localtime | cut -d / -f 5)
- [ "${continent}" = "Europe" ] && pagesize="-DA4"
- fi
+ use metric && pagesize="-DA4"
emake CFLAGS="-c ${CFLAGS} ${pagesize}" || die "emake failed"
}