public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-electronics/eagle: metadata.xml ChangeLog eagle-6.5.0.ebuild
@ 2013-12-19 20:13 Christian Ruppert (idl0r)
  0 siblings, 0 replies; only message in thread
From: Christian Ruppert (idl0r) @ 2013-12-19 20:13 UTC (permalink / raw
  To: gentoo-commits

idl0r       13/12/19 20:13:08

  Modified:             metadata.xml ChangeLog
  Added:                eagle-6.5.0.ebuild
  Log:
  Bump, bug 448142. Add myself as maintainer.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B427ABC8)

Revision  Changes    Path
1.5                  sci-electronics/eagle/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/eagle/metadata.xml?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/eagle/metadata.xml?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/eagle/metadata.xml?r1=1.4&r2=1.5

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-electronics/eagle/metadata.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- metadata.xml	16 Jun 2013 09:37:08 -0000	1.4
+++ metadata.xml	19 Dec 2013 20:13:07 -0000	1.5
@@ -2,6 +2,10 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 	<herd>sci-electronics</herd>
+	<maintainer>
+		<email>idl0r@gentoo.org</email>
+		<name>Christian Ruppert</name>
+	</maintainer>
 	<longdescription>EAGLE (Easily Applicable Graphical Layout Editor)
 		is a powerful tool for creating printed circuit boards (PCBs).
 		It requires a 586 (or higher), kernel 2.x (or higher), and



1.58                 sci-electronics/eagle/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/eagle/ChangeLog?rev=1.58&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/eagle/ChangeLog?rev=1.58&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/eagle/ChangeLog?r1=1.57&r2=1.58

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- ChangeLog	1 Aug 2013 20:52:21 -0000	1.57
+++ ChangeLog	19 Dec 2013 20:13:07 -0000	1.58
@@ -1,6 +1,12 @@
 # ChangeLog for sci-electronics/eagle
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.57 2013/08/01 20:52:21 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.58 2013/12/19 20:13:07 idl0r Exp $
+
+*eagle-6.5.0 (19 Dec 2013)
+
+  19 Dec 2013; Christian Ruppert <idl0r@gentoo.org> +eagle-6.5.0.ebuild,
+  metadata.xml:
+  Bump, bug 448142. Add myself as maintainer.
 
   01 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> eagle-5.10.0-r1.ebuild,
   eagle-5.11.0.ebuild:



1.1                  sci-electronics/eagle/eagle-6.5.0.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/eagle/eagle-6.5.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/eagle/eagle-6.5.0.ebuild?rev=1.1&content-type=text/plain

Index: eagle-6.5.0.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-6.5.0.ebuild,v 1.1 2013/12/19 20:13:07 idl0r Exp $

EAPI="5"

inherit eutils

DESCRIPTION="CadSoft EAGLE schematic and printed circuit board (PCB) layout editor"
HOMEPAGE="http://www.cadsoft.de"
SRC_URI="ftp://ftp.cadsoft.de/${PN}/program/${PV%\.[0-9]}/${PN}-lin-${PV}.run"

LICENSE="cadsoft"
SLOT="0"
KEYWORDS="~amd64 ~x86 -*"
IUSE="doc linguas_de linguas_zh"

RESTRICT="strip"

QA_PREBUILT="opt/eagle/bin/eagle"

RDEPEND="sys-libs/glibc
	x86? (
		sys-libs/zlib
		dev-libs/openssl
		x11-libs/libXi
		x11-libs/libX11
		x11-libs/libXext
		x11-libs/libXrender
		x11-libs/libXrandr
		x11-libs/libXcursor
		media-libs/freetype
		media-libs/fontconfig
	)
	amd64? (
		app-emulation/emul-linux-x86-baselibs
		|| (
			(
				x11-libs/libX11[abi_x86_32]
				x11-libs/libXext[abi_x86_32]
				x11-libs/libXrender[abi_x86_32]
				x11-libs/libXrandr[abi_x86_32]
				x11-libs/libXcursor[abi_x86_32]
				x11-libs/libXi[abi_x86_32]
				media-libs/freetype[abi_x86_32]
				media-libs/fontconfig[abi_x86_32]
			)
			app-emulation/emul-linux-x86-xlibs
		)
	)"

# Append ${PV} since that's what upstream installs to
case "${LINGUAS}" in
	*de*)
		MY_LANG="de";;
	*)
		MY_LANG="en";;
esac

src_unpack() {
	# Extract the built-in .tar.bz2 file starting at __DATA__
	sed  -e '1,/^__DATA__$/d' "${DISTDIR}/${A}" | tar xj || die "unpacking failed"
}

src_install() {
	local installdir="/opt/eagle"

	# Set MY_LANG for this function only since UPDATE_zh and README_zh
	# don't exist
	[[ ${LINGUAS} == *zh* ]] && MY_INST_LANG="zh" || MY_INST_LANG="${MY_LANG}"

	insinto $installdir
	doins -r .

	fperms 0755 ${installdir}/bin/eagle

	# Install wrapper (suppressing leading tabs)
	# see bug #188368 or http://www.cadsoftusa.com/training/faq/#3
	exeinto /opt/bin
	newexe "${FILESDIR}/eagle_wrapper_script" eagle
	# Finally, append the path of the eagle binary respecting $installdir and any
	# arguments passed to the script (thanks Denilson)
	echo "${installdir}/bin/eagle" '"$@"' >> "${D}/opt/bin/eagle"

	# Install the documentation
	cd doc
	dodoc README_${MY_LANG} UPDATE_${MY_LANG} library_${MY_LANG}.txt
	doman eagle.1

	# Install extra documentation if requested
	if use doc; then
		dodoc {connect-device-split-symbol-${MY_INST_LANG},elektro-tutorial,manual_${MY_INST_LANG},tutorial_${MY_INST_LANG},layer-setup_designrules}.pdf
	fi
	# Remove docs left in $installdir
	rm -rf "${D}${installdir}/doc"
	cd "${S}"

	echo -e "ROOTPATH=${installdir}/bin\nPRELINK_PATH_MASK=${installdir}" > "${S}/90eagle-${PV}"
	doenvd "${S}/90eagle-${PV}"

	# Create desktop entry
	newicon bin/${PN}icon50.png ${PF}-icon50.png
	make_desktop_entry "${ROOT}/opt/bin/eagle" "CadSoft EAGLE Layout Editor" ${PF}-icon50 "Graphics;Electronics"
}

pkg_postinst() {
	elog "Run \`env-update && source /etc/profile\` from within \${ROOT}"
	elog "now to set up the correct paths."
	elog "You must first run eagle as root to invoke product registration."
	echo
	ewarn "Due to some necessary changes in the data structure, once you edit"
	ewarn "a file with version 6.x you will no longer be able to edit it"
	ewarn "with versions prior to 6.0!"
	ewarn
	ewarn "Please read /usr/share/doc/${PF}/UPDATE_${MY_LANG} if you are upgrading from 5.xx/4.xx."
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-19 20:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-19 20:13 [gentoo-commits] gentoo-x86 commit in sci-electronics/eagle: metadata.xml ChangeLog eagle-6.5.0.ebuild Christian Ruppert (idl0r)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox