diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/vncsnapshot |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/vncsnapshot')
-rw-r--r-- | net-misc/vncsnapshot/Manifest | 6 | ||||
-rw-r--r-- | net-misc/vncsnapshot/files/vncsnapshot-1.2a-amd64grey.patch | 12 | ||||
-rw-r--r-- | net-misc/vncsnapshot/metadata.xml | 8 | ||||
-rw-r--r-- | net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild | 43 |
4 files changed, 69 insertions, 0 deletions
diff --git a/net-misc/vncsnapshot/Manifest b/net-misc/vncsnapshot/Manifest new file mode 100644 index 000000000000..d76e71180813 --- /dev/null +++ b/net-misc/vncsnapshot/Manifest @@ -0,0 +1,6 @@ +AUX vncsnapshot-1.2a-amd64grey.patch 408 SHA256 04f97cc37e33d0925521ab9b3551db06a1cd7e0eff71c5b2eeaa7528658e6318 SHA512 b5a90a5917c71f5d30608bfa8316ac052b377e024d871754fefc7f1fa13e29eb49be587b5c99d65e9058c65a914120c646194bb25ad114220a439642f3e24ea9 WHIRLPOOL 2b2c70b5ecd383abd362de0441173ad40fa60ef3e33d3e47c7995087971996a8cda41bd4630cf4aac3ce7ec817eedaa8aad1b8b5372e465230ccbee15c22c0b2 +DIST vncsnapshot-1.2a-src.tar.bz2 70121 SHA256 ac490c4b3810d419c65cdfb48d742ca382218c3c0f04e7868520ff9a06149ca6 SHA512 2ae53a043c11d02bbb7ff6afc000eef268448643ba1db7b6c5a55fe3e25e65e1b22e64e855d33dfe55b1df04dc57f592e48c44918943642da19f7d06df77027c WHIRLPOOL 7cb9080b70ba5b96ed1e1288a4f6b5d739fd84aa513f8b33e3485eb6dd043b967cbe11f53b87ed728451a2f4d2b159fdfaae5a1acb902cfc9541d3d04d91304a +EBUILD vncsnapshot-1.2a.ebuild 988 SHA256 fedfef2bbd9d7d5531627c41fcae4ea735edb8c5824ec966ed3cfbd7b35805b3 SHA512 d6c54dcc970320faa1535d2c93be4c12c50b3f66cb8f18eaf83912fb4ed2c0a44d2b50e5e70517257e81ec45b1ebf0c6cf0790c9397dab07798d3d3bdb4b239d WHIRLPOOL 6bf4fd38d42a45b47ac1cddda12d4792dfbb0223e7cac8fb2bfa1749bc129f95751bbc844ba02f172edfe8e1e53af4c9edac9de0cb79ccdbe487a13191b10acd +MISC ChangeLog 2575 SHA256 d770a407933e401b01ddc2e61321f1f366fbccc62f8279fb1cfff984c7dda113 SHA512 5a435dc5abe53ed5b8713e646ab0ae8caaf2823fae6d6ea061ae81ee2a7fc8c13bf77617b3ea4c49daf1bec79279bead5a79eca154dfef2ea93177ad1a1ce824 WHIRLPOOL ca196c0fbbe959a5bcdd1782c1c5c75027f98e70d1c4f87482b8191f1bfec3f29d0be6f105a447f588ce11f210e48bf9cbdd3350e98196e01772e97226e31004 +MISC ChangeLog-2015 2008 SHA256 4f8435ce8c5b5675fbd1287b90927b670c37ae74e9c73e067c8b29e17530f66a SHA512 c27ab37942be94d460d7f09d75c4f85f17b50c64eb6946a56385fb1389c69595f7326f52d9493e6fb1080d98f4861f55c8aeab71d506ec554060fbf0117b7e46 WHIRLPOOL 1dde9765ecad71d9eb5d79427fa69ceff752d47c23e777d8ee2da984566e21064bc99619f6e540597b09e4328f1fbe9d0dfb6710150c57882fdc035d4d911281 +MISC metadata.xml 248 SHA256 347fef883b40150a9b52c13d40145c467bdee577a461d90af55c5e173249fe84 SHA512 bbd64700d2397ca9fd98cd273404e7a3d744d7aea1e2c7237e5d157786966841c7156d716b47da9cb46dbc248c25e2aa9dcf1be44f0583e50cdc9c1b253de799 WHIRLPOOL 13afd435710f07e422f185dfac8a1248ea879ffd88a6a8d59ea18bc68fdf039e0ef521d40217b250aa051c682e1312e48e9f46454de834f9271f110d3c26ffbb diff --git a/net-misc/vncsnapshot/files/vncsnapshot-1.2a-amd64grey.patch b/net-misc/vncsnapshot/files/vncsnapshot-1.2a-amd64grey.patch new file mode 100644 index 000000000000..ee5807b58af9 --- /dev/null +++ b/net-misc/vncsnapshot/files/vncsnapshot-1.2a-amd64grey.patch @@ -0,0 +1,12 @@ +diff -aur vncsnapshot-1.2a-orig/rfb.h vncsnapshot-1.2a/rfb.h +--- vncsnapshot-1.2a-orig/rfb.h 2002-02-09 16:00:42.000000000 -0500 ++++ vncsnapshot-1.2a/rfb.h 2008-09-24 16:57:13.000000000 -0400 +@@ -34,7 +34,7 @@ + + // Define the CARD* types as used in X11/Xmd.h + +-typedef unsigned long CARD32; ++typedef unsigned int CARD32; + typedef unsigned short CARD16; + typedef short INT16; + typedef unsigned char CARD8; diff --git a/net-misc/vncsnapshot/metadata.xml b/net-misc/vncsnapshot/metadata.xml new file mode 100644 index 000000000000..c7ec75ece6f7 --- /dev/null +++ b/net-misc/vncsnapshot/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">vncsnapshot</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild b/net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild new file mode 100644 index 000000000000..11ea46fa1db4 --- /dev/null +++ b/net-misc/vncsnapshot/vncsnapshot-1.2a.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils + +DESCRIPTION="A command-line tool for taking JPEG snapshots of VNC servers" +HOMEPAGE="http://vncsnapshot.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc x86" +IUSE="" + +DEPEND=" + virtual/jpeg + >=sys-libs/zlib-1.1.4" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}-amd64grey.patch" + sed \ + -e 's:-I/usr/local/include::g' \ + -e 's:-L/usr/local/lib::g' \ + -e '/^all:/s|$(SUBDIRS:.dir=.all)||g' \ + -e '/^vnc/s|$| $(SUBDIRS:.dir=.all)|g' \ + -i Makefile || die +} + +src_compile() { + #note: We override CDEBUGFLAGS instead of CFLAGS because otherwise + # we lost the INCLUDES in the makefile. + # bug #295741 + emake CDEBUGFLAGS="${CXXFLAGS}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" +} + +src_install() { + dobin vncsnapshot + cp vncsnapshot.man1 vncsnapshot.1 + doman vncsnapshot.1 +} |