# ChangeLog for x11-misc/xnview
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnview/ChangeLog,v 1.3 2003/11/04 03:40:44 abhishek Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnview/ChangeLog,v 1.4 2004/04/14 01:36:27 abhishek Exp $
+
+*xnview-1.68 (13 Apr 2004)
+
+ 13 Apr 2004; Abhishek Amit <abhishek@gentoo.org> xnview-1.50.ebuild,
+ xnview-1.68.ebuild:
+ Made ebuilds use versioned rpms, rpm.eclass, and version bump
03 Nov 2003; Abhishek Amit <abhishek@gentoo.org> metadata.xml:
Added metadata.xml
-MD5 4f740b42cc2225fc8fb421a3505f016f files/digest-xnview-1.50 135
-MD5 fe2cf2952d86b4eed345d6a7e405d64b files/99XnView 44
-MD5 6f160b5ec19210d6594a4388ae5f5f07 xnview-1.50.ebuild 1248
-MD5 a6a02312bc38f7f5c8e9879bea81c2c4 ChangeLog 1028
+MD5 4659887c23e62b4dc77aa869ecf53dc1 xnview-1.50.ebuild 1065
+MD5 2e9cd2d65672ea5f3e9f2e9933e1431e ChangeLog 1214
MD5 cdb11033a3fa6525334cecf938961c07 metadata.xml 166
+MD5 86223d879c3f1babd6963932a577d45f xnview-1.68.ebuild 1021
+MD5 aace0ca3cd3cbc24d9f923948198d42f files/digest-xnview-1.50 73
+MD5 8906b1ca75ddac450c6030f18d60aefb files/digest-xnview-1.68 73
+MD5 fe2cf2952d86b4eed345d6a7e405d64b files/99XnView 44
-MD5 988a83f8798436d19a3c9da0fa949f1a XnView-static.ppc.rpm 1547839
-MD5 299fda4a8b2fc06aad3da16e005c60a1 XnView-static.i386.rpm 1332093
+MD5 299fda4a8b2fc06aad3da16e005c60a1 XnView-static-1.50.i386.rpm 1332093
--- /dev/null
+MD5 1fa350616459405ca37bb809dce46dd8 XnView-static-1.68.i386.rpm 1515380
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnview/xnview-1.50.ebuild,v 1.6 2003/09/05 23:18:18 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnview/xnview-1.50.ebuild,v 1.7 2004/04/14 01:36:27 abhishek Exp $
+
+inherit rpm
+
+MY_PN=XnView-static
+MY_P="${MY_PN}-${PV}"
-MY_P=XnView-static
-S=${WORKDIR}/usr
DESCRIPTION="XnView image viewer/converter"
HOMEPAGE="http://www.xnview.com/"
-SRC_URI="x86? ftp://www.zoo-logique.org/xnview/download/${MY_P}.i386.rpm
- ppc? ftp://www.zoo-logique.org/xnview/download/${MY_P}.ppc.rpm"
+SRC_URI="x86? mirror://gentoo/${MY_P}.i386.rpm
+ ppc? mirror://gentoo/${MY_P}.ppc.rpm"
SLOT="0"
LICENSE="free-noncomm as-is"
-KEYWORDS="x86 ppc"
+KEYWORDS="~x86 ~ppc"
DEPEND="app-arch/rpm2targz"
-src_unpack() {
- rpm2targz ${DISTDIR}/${A}
-
- use x86 && MY_P=${MY_P}.i386
- use ppc && MY_P=${MY_P}.ppc
-
- tar zxvf ${WORKDIR}/${MY_P}.tar.gz &>/dev/null
-}
+S="${WORKDIR}/usr"
src_install() {
BASE_DIR=/opt/XnView
into /opt
- dobin ${S}/X11R6/bin/{xnview,nview,nconvert}
+ dobin X11R6/bin/{xnview,nview,nconvert}
into ${BASE_DIR}
- dolib lib/libformat.so.3.87
- dosym ${BASE_DIR}/lib/libformat.so.3.87 ${BASE_DIR}/lib/libformat.so
+ dolib lib/libformat.so.*
+ dosym ${BASE_DIR}/lib/libformat.so.* ${BASE_DIR}/lib/libformat.so
insinto /etc/env.d
doins ${FILESDIR}/99XnView
insinto /usr/lib/X11/app-defaults/XnView
- doins ${S}/X11R6/lib/X11/app-defaults/XnView
+ doins X11R6/lib/X11/app-defaults/XnView
fperms 444 /usr/lib/X11/app-defaults/XnView
doman local/man/man1/*.1
dodoc doc/XnView-${PV}/*.txt
insinto ${BASE_DIR}/Filters/
- doins usr/share/XnView/Filters/*.dat
+ doins share/XnView/Filters/*.dat
}
--- /dev/null
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnview/xnview-1.68.ebuild,v 1.1 2004/04/14 01:36:27 abhishek Exp $
+
+inherit rpm
+
+MY_PN=XnView-static
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="XnView image viewer/converter"
+HOMEPAGE="http://www.xnview.com/"
+SRC_URI="x86? mirror://gentoo/${MY_P}.i386.rpm"
+
+SLOT="0"
+LICENSE="free-noncomm as-is"
+KEYWORDS="~x86"
+
+DEPEND="app-arch/rpm2targz"
+
+S="${WORKDIR}/usr"
+
+src_install() {
+ BASE_DIR=/opt/XnView
+
+ into /opt
+ dobin X11R6/bin/{xnview,nview,nconvert}
+
+ into ${BASE_DIR}
+ dolib lib/libformat.so.*
+ dosym ${BASE_DIR}/lib/libformat.so.* ${BASE_DIR}/lib/libformat.so
+
+ insinto /etc/env.d
+ doins ${FILESDIR}/99XnView
+
+ insinto /usr/lib/X11/app-defaults/XnView
+ doins X11R6/lib/X11/app-defaults/XnView
+ fperms 444 /usr/lib/X11/app-defaults/XnView
+
+ doman local/man/man1/*.1
+
+ dodoc doc/XnView-${PV}/*.txt
+
+ insinto ${BASE_DIR}/Filters/
+ doins share/XnView/Filters/*.dat
+}