diff options
author | Jeroen Roovers <jer@gentoo.org> | 2013-01-03 13:33:35 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2013-01-03 13:33:35 +0000 |
commit | 8916f2593a6a4305364beaa87b8cc87172202ddf (patch) | |
tree | 211eda4e1a3eeadedcd98fc4a91d5f6165a616dd /x11-misc/xssstate | |
parent | Automated addition of the new snapshot. (diff) | |
download | gentoo-2-8916f2593a6a4305364beaa87b8cc87172202ddf.tar.gz gentoo-2-8916f2593a6a4305364beaa87b8cc87172202ddf.tar.bz2 gentoo-2-8916f2593a6a4305364beaa87b8cc87172202ddf.zip |
Initial commit.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'x11-misc/xssstate')
-rw-r--r-- | x11-misc/xssstate/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/xssstate/Manifest | 5 | ||||
-rw-r--r-- | x11-misc/xssstate/files/xssstate-1.0.20130103-gentoo.patch | 89 | ||||
-rw-r--r-- | x11-misc/xssstate/metadata.xml | 10 | ||||
-rw-r--r-- | x11-misc/xssstate/xssstate-1.0.20130103.ebuild | 35 |
5 files changed, 149 insertions, 0 deletions
diff --git a/x11-misc/xssstate/ChangeLog b/x11-misc/xssstate/ChangeLog new file mode 100644 index 000000000000..e31816b1d062 --- /dev/null +++ b/x11-misc/xssstate/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-misc/xssstate +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xssstate/ChangeLog,v 1.1 2013/01/03 13:33:35 jer Exp $ + +*xssstate-1.0.20130103 (03 Jan 2013) + + 03 Jan 2013; Jeroen Roovers <jer@gentoo.org> +xssstate-1.0.20130103.ebuild, + +files/xssstate-1.0.20130103-gentoo.patch, +metadata.xml: + Initial commit. + diff --git a/x11-misc/xssstate/Manifest b/x11-misc/xssstate/Manifest new file mode 100644 index 000000000000..ca165a222b3e --- /dev/null +++ b/x11-misc/xssstate/Manifest @@ -0,0 +1,5 @@ +AUX xssstate-1.0.20130103-gentoo.patch 2527 SHA256 ae5aa47f95bd0fe84a7687477e3f797f8832dbdf896e0053198cf604cfd9eee2 SHA512 4a0c07969fec997e381bee5d5f1badafa88a4f138fc40ab41634b7521ab5f57a47ef3c791629234fdd8e7131a1d79ca5a22177e3fc90d48aef29571af2b013fd WHIRLPOOL c923cd2f7cbcfe8b66aee3f7a6d9343d2f5c8baf14e7288426cdf2e143a4dec2e8af75dde1ecc8f2f97fcca42ba7b146a7b7ee480d235f5e30e2f448f327e5ce +DIST xssstate-1.0.20130103.tar.xz 3304 SHA256 4568600b6cae4082cf197b7847cd81f716df63c6a1c19cce9b6ef4d432233136 SHA512 4b0bd8f5c2e37d077fc4259463fdc234fac89c9c8035c196f37c6b0a235e338cff76a2849e9c15571bd0a5242708ac92a7bea60207e5fe053d1a5668167c173a WHIRLPOOL df1fa53a4aed462937bdda024735bf7fd9e7a0ceb549cdd5fa5c8219e9f40839c8130abf1bd2659d1c07c474c4b8ddc8212acf8233232fa333514f7d7f17b84b +EBUILD xssstate-1.0.20130103.ebuild 620 SHA256 aef30a9210c4a8252b2dc640eae22b37669d15fbf084d3cc3f58f8c0bac3f5ea SHA512 cfe7be91c3e0b0cbf5721bb6a58e4f8610815180bd72e324c52b2baac3bf2f3ff42b7548fe30c2d9a939299c8938e854d812961d4ebb450446c87559686845c9 WHIRLPOOL b64105402c9f5a0df77d620cd4d80c19fc9fd06cad0974ec71a15881cb4fb8b5731b13ce55929eb46a153435bc05fe42378f6a5f4ca7b58ae75aef2dabae812a +MISC ChangeLog 313 SHA256 49fcdb68ce9f6f9afeb57b199d28dc6616500d45c332e9885a8eeec13f9ef107 SHA512 884115aa323b62adf1959377ed6ca94f96c1158f948f1e20c7327071210bd42adccb64e5f2bab6b2ca4076eca0aa63c3bdb19cf20bc57315f2cb8366e135cd92 WHIRLPOOL 9066c46cee096df8adfb4a80dd5e6183ae3364ffeb70c88120d8906edc18638686b0aee83cb7c149fc8cd7b57bd76a070f0991535f0af4c337ab7858faa18010 +MISC metadata.xml 251 SHA256 f8045d89962756a28108890dc42cc0e387303e63e66b38dd47516cdd87c71279 SHA512 499b2b8269d04eee8aea6dc0f44baf44bf20d6fde22b1d6cf74313f316646a15c4d2e49d4628f0ca113bfe0c89be24b7f20039eed51488d435eef3c73ae3316c WHIRLPOOL cf59a60654b77c481c0338f5c195c51fa112aae2cffc6eb9a17fc8c7a8f721755f4534b323161bcbe118ac92c868503367373614d766c7302b77dfe6b709cccf diff --git a/x11-misc/xssstate/files/xssstate-1.0.20130103-gentoo.patch b/x11-misc/xssstate/files/xssstate-1.0.20130103-gentoo.patch new file mode 100644 index 000000000000..7569764d5803 --- /dev/null +++ b/x11-misc/xssstate/files/xssstate-1.0.20130103-gentoo.patch @@ -0,0 +1,89 @@ +--- a/Makefile ++++ b/Makefile +@@ -5,7 +5,7 @@ + SRC = xssstate.c + OBJ = ${SRC:.c=.o} + +-all: options xssstate ++all: xssstate + + options: + @echo xssstate build options: +@@ -14,42 +14,34 @@ + @echo "CC = ${CC}" + + .c.o: +- @echo CC $< +- @${CC} -c ${CFLAGS} $< ++ ${CC} -c ${CFLAGS} $< + + ${OBJ}: config.mk + +-xssstate: xssstate.o +- @echo CC -o $@ +- @${CC} -o $@ xssstate.o ${LDFLAGS} ++xssstate: options xssstate.o ++ ${CC} -o $@ xssstate.o ${LDFLAGS} + + clean: +- @echo cleaning + @rm -f xssstate ${OBJ} xssstate-${VERSION}.tar.gz + + dist: clean +- @echo creating dist tarball +- @mkdir -p xssstate-${VERSION} +- @cp -R LICENSE README Makefile config.mk xsidle.sh \ ++ mkdir -p xssstate-${VERSION} ++ cp -R LICENSE README Makefile config.mk xsidle.sh \ + xssstate.1 arg.h ${SRC} xssstate-${VERSION} +- @tar -cf xssstate-${VERSION}.tar xssstate-${VERSION} +- @gzip xssstate-${VERSION}.tar +- @rm -rf xssstate-${VERSION} ++ tar -cf xssstate-${VERSION}.tar xssstate-${VERSION} ++ gzip xssstate-${VERSION}.tar ++ rm -rf xssstate-${VERSION} + + install: all +- @echo installing executable file to ${DESTDIR}${PREFIX}/bin +- @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f xssstate ${DESTDIR}${PREFIX}/bin +- @chmod 755 ${DESTDIR}${PREFIX}/bin/xssstate +- @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 +- @mkdir -p ${DESTDIR}${MANPREFIX}/man1 +- @sed "s/VERSION/${VERSION}/g" < xssstate.1 > ${DESTDIR}${MANPREFIX}/man1/xssstate.1 +- @chmod 644 ${DESTDIR}${MANPREFIX}/man1/xssstate.1 ++ mkdir -p ${DESTDIR}${PREFIX}/bin ++ cp -f xssstate ${DESTDIR}${PREFIX}/bin ++ chmod 755 ${DESTDIR}${PREFIX}/bin/xssstate ++ mkdir -p ${DESTDIR}${MANPREFIX}/man1 ++# @sed "s/VERSION/${VERSION}/g" < xssstate.1 > ${DESTDIR}${MANPREFIX}/man1/xssstate.1 ++# @chmod 644 ${DESTDIR}${MANPREFIX}/man1/xssstate.1 + + uninstall: +- @echo removing executable file from ${DESTDIR}${PREFIX}/bin +- @rm -f ${DESTDIR}${PREFIX}/bin/xssstate +- @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1 +- @rm -f ${DESTDIR}${MANPREFIX}/man1/xssstate.1 ++ rm -f ${DESTDIR}${PREFIX}/bin/xssstate ++# @rm -f ${DESTDIR}${MANPREFIX}/man1/xssstate.1 + + .PHONY: all options clean dist install uninstall +--- a/config.mk ++++ b/config.mk +@@ -13,13 +13,13 @@ + + # flags + CPPFLAGS = -DVERSION=\"${VERSION}\" +-CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} +-LDFLAGS = -g ${LIBS} ++CFLAGS += -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS} ++LDFLAGS += ${LIBS} + + # Solaris + #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" + #LDFLAGS = ${LIBS} + + # compiler and linker +-CC = cc ++CC ?= cc + diff --git a/x11-misc/xssstate/metadata.xml b/x11-misc/xssstate/metadata.xml new file mode 100644 index 000000000000..d6e0a0f7eded --- /dev/null +++ b/x11-misc/xssstate/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-misc</herd> +<maintainer> +<email>jer@gentoo.org</email> +<name>Jeroen Roovers</name> +</maintainer> +</pkgmetadata> + diff --git a/x11-misc/xssstate/xssstate-1.0.20130103.ebuild b/x11-misc/xssstate/xssstate-1.0.20130103.ebuild new file mode 100644 index 000000000000..f9f5b835aab5 --- /dev/null +++ b/x11-misc/xssstate/xssstate-1.0.20130103.ebuild @@ -0,0 +1,35 @@ +#Copyright1999-2013GentooFoundation +#DistributedunderthetermsoftheGNUGeneralPublicLicensev2 +#$Header: /var/cvsroot/gentoo-x86/x11-misc/xssstate/xssstate-1.0.20130103.ebuild,v 1.1 2013/01/03 13:33:35 jer Exp $ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="AsimpletooltoretrievetheXscreensaverstate" +HOMEPAGE="http://tools.suckless.org/xssstate" +SRC_URI="http://dev.gentoo.org/~jer/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXScrnSaver +" +DEPEND=" + ${RDEPEND} + app-arch/xz-utils + x11-proto/scrnsaverproto + x11-proto/xproto +" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + tc-export CC +} + +src_install() { + emake DESTDIR="${D}" PREFIX='/usr' install +} |