summaryrefslogtreecommitdiff
path: root/app-emacs/google-c-style
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emacs/google-c-style
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emacs/google-c-style')
-rw-r--r--app-emacs/google-c-style/Manifest6
-rw-r--r--app-emacs/google-c-style/files/50google-c-style-gentoo.el5
-rw-r--r--app-emacs/google-c-style/google-c-style-20091009-r1.ebuild26
-rw-r--r--app-emacs/google-c-style/metadata.xml15
4 files changed, 52 insertions, 0 deletions
diff --git a/app-emacs/google-c-style/Manifest b/app-emacs/google-c-style/Manifest
new file mode 100644
index 000000000000..cb18215caf54
--- /dev/null
+++ b/app-emacs/google-c-style/Manifest
@@ -0,0 +1,6 @@
+AUX 50google-c-style-gentoo.el 258 SHA256 57875bd3f405baf13eff7a1b486755d7d9525d2477904a4b7e05e8aa252fdc97 SHA512 f39b91a6af6e16ac70a5baee459790efb00aa10c3a83c16429fa5d97201bec2bfb3f6645ab1327f7325eb3428a3c938914b4a63c6009109dda99a4f0fe7d89c2 WHIRLPOOL 2277a2bcd289cfaf66a055787f8bde77b5934eaac82d7479b33053df8c0c51a532d8ff9c37fb502cfa22dbc29b5064da123df0c2fed93012b778b9653816e51c
+DIST google-c-style-20091009.tar.bz2 2178 SHA256 58606847b01df277055d48ae8f013e3302bd22eebf067ad47aad289ed92da47b SHA512 5d61d6e021643ffc1468c14cdbbde0b52dc9346330983c19bdb7f4d6fb8960c662ca6198658963ff6d2b4d7d2dc96853a8c58de48da77364a860f2f777855b5a WHIRLPOOL ca42ded98e47990198be221a364b2fbc5416ae9a16f9b0843c2ff47223f7725e3aa8d406356345817be030fa05bdb24f5de97d1318f8769f45e1a37da04a79a3
+EBUILD google-c-style-20091009-r1.ebuild 602 SHA256 fe9fb14426c7058a0622f3de3ea5a3c909f205b0c1df16c400ba1f819884849d SHA512 454136b3a79e9b4cd21a51b8771daa4efeab80b13c1fc09c8d372b864c96e10b26bcdcbe21e48b934689f69b263ba8cb8d758a8b32ac8f41a25ddc3c5c5621a3 WHIRLPOOL 41a8199525f4b28e06d14ddbed1caf456d744be6137b27f96e51b1d227ec7818b9da075f7107fc2802b0fc7fd7c3c28ae6e1e85f3c8abf15a588aa1ea1791583
+MISC ChangeLog 3134 SHA256 8e1934506194cc34711a8e5e39765f6ed77a0afa39f32344f9523db064caef22 SHA512 bd1f9c4f15a54f24365e11de5f829fec1f7efdb1d970339b41640a8ddffd8f218165733683a8f9f37757daa3d41bdd40f38b71f8cc9ba7bad873372ff9921ca0 WHIRLPOOL cd88d391ad178520b85d9b9adb399aaa3ef6f6ac5b9338a718105fcedd8b8eddf3cf1c51c65770c74db7f7fe75133da5ce812cccb8965bbb0e508887e1e02129
+MISC ChangeLog-2015 1039 SHA256 f190c4cfebd96aa765ded05b8775b325a7a5a757c8f5e1b2e3975ca74a99c0bd SHA512 1241d2163ae8983d9727f18b6008dd968c7d17a54aff63bc467deceaaf9ea74f903f800a8814788c14853a72ec505025b2b94107154cfa1245939e00f65c01d1 WHIRLPOOL e3218fa36c656e5e0ea8f0696b0f6aaf8ef4972baecb7e070065830615ac21b4fb78b108c4857a47f2832814a8e3c27f0e4b2085d2a53637345474382bc76e61
+MISC metadata.xml 460 SHA256 4b387b229b322162fdad6f350967b159dd5cc27dee901f7c5bc5a0ad49744cf2 SHA512 31d1e8464fe6b03c7862c5d222b411cf7f6498b16b1be92f87d94fdcdb85d3e99a469b7ce6dd7d0b720353e1081c813d64f039ebd5f369f403691d3a6ce0ed44 WHIRLPOOL 48b7a45373744e712b886d8766b4bd8be4eadcc626a2d42812153c041d81914ce6556dcde23a9704c1b8a257a3c8e077830e623d90c0cd22d3dc0cb82849856e
diff --git a/app-emacs/google-c-style/files/50google-c-style-gentoo.el b/app-emacs/google-c-style/files/50google-c-style-gentoo.el
new file mode 100644
index 000000000000..3e9768b65db7
--- /dev/null
+++ b/app-emacs/google-c-style/files/50google-c-style-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'google-set-c-style "google-c-style"
+ "Set the current buffer's c-style to Google C/C++ Programming Style." t)
+(autoload 'google-make-newline-indent "google-c-style"
+ "Sets up preferred newline behavior." t)
diff --git a/app-emacs/google-c-style/google-c-style-20091009-r1.ebuild b/app-emacs/google-c-style/google-c-style-20091009-r1.ebuild
new file mode 100644
index 000000000000..c7353765122e
--- /dev/null
+++ b/app-emacs/google-c-style/google-c-style-20091009-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Provides the google C/C++ coding style"
+HOMEPAGE="https://github.com/google/styleguide"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+S="${WORKDIR}"
+SITEFILE="50${PN}-gentoo.el"
+
+pkg_postinst() {
+ elisp-site-regen
+
+ elog "Example usage (~/.emacs):"
+ elog " (add-hook 'c-mode-common-hook 'google-set-c-style)"
+ elog " (add-hook 'c-mode-common-hook 'google-make-newline-indent)"
+}
diff --git a/app-emacs/google-c-style/metadata.xml b/app-emacs/google-c-style/metadata.xml
new file mode 100644
index 000000000000..19f717d2078c
--- /dev/null
+++ b/app-emacs/google-c-style/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<maintainer type="project">
+ <email>chromium@gentoo.org</email>
+ <name>Chromium in Gentoo Project</name>
+</maintainer>
+<upstream>
+ <remote-id type="github">google/styleguide</remote-id>
+</upstream>
+</pkgmetadata>