From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- x11-misc/xosview/Manifest | 5 ++++ x11-misc/xosview/metadata.xml | 8 ++++++ x11-misc/xosview/xosview-1.19.ebuild | 51 ++++++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 x11-misc/xosview/Manifest create mode 100644 x11-misc/xosview/metadata.xml create mode 100644 x11-misc/xosview/xosview-1.19.ebuild (limited to 'x11-misc/xosview') diff --git a/x11-misc/xosview/Manifest b/x11-misc/xosview/Manifest new file mode 100644 index 000000000000..6969e117e37a --- /dev/null +++ b/x11-misc/xosview/Manifest @@ -0,0 +1,5 @@ +DIST xosview-1.19.tar.gz 143151 SHA256 08b6a9e6c1963c03ba9dcb31981b9e0e93d5d1d9959cadec86be1b09e2b22caf SHA512 57234a232617b14925e21864334f2d06dce442d552763835b1a505863dd80efc27d3d55d50692de4a548e86e25bb5ab3354bd92801b6504c030e1985f19b6a08 WHIRLPOOL 6796305fe1c78beed977758e54a0df17ed5e82f13cd5499a0f7ac8bc8f9ad8da6dc96534f406b919e92a747889a3650e97c559288a2efcd288a81602387d9e15 +EBUILD xosview-1.19.ebuild 1105 SHA256 8711f9d9178398662248bdb9519242969bb1b2cc9405ad80ab2a6407f60cbf95 SHA512 34e973a9d5c25060905e630282e3f541016d95eaaf97e39a08c0a73717cc43b6e37713b49d7e6755bd8729107f983febea758f1515951de9502f6cdd44b3cd93 WHIRLPOOL ec828f93880111517cfb683861ed7b1231ad59795629f649a1f76fc03742b18fae93fc5f6d2a0987aa3797f8a473357414bb60aa8196cc6c5f50561ba226d477 +MISC ChangeLog 5480 SHA256 1dc8c4500197b2f6b434629981267909475acfb7924e6d8066e5ad17c16c00f7 SHA512 f5d8cc65a53244ae1d396a625255622c17bb426eaf0943ab02467ed9128f05480329375fbe675092bd9616155a68fa8ebedc87342189459d6769b05fc0f2f894 WHIRLPOOL d6d6d21f606324a9fe272f47c731854422f34e3cdfaf32f7fff9ee397cf979f276cdd47222b2d377090b47db4cee355c81a2c1cb3730a2998207d4f8c7cd2ae7 +MISC ChangeLog-2015 11707 SHA256 0f73bd229efbc0415588bd1bb27a25c278704d633a85c5fe26edb99591ea1ac0 SHA512 501f3a5fe91a2ba0e7bde9c4522076802b473d34e39949d3d80e8fae05c37bcc94462b26e0d0f58a8832a5629f32a2d0d013c4627d0b2436a764df1adc844459 WHIRLPOOL fcc62dc08624b2592f849661cf7789f5693c99ee448239d8563e4f14d37556d624b0c8187407a1a9dadefa2f824804d785f00823e6e43f334d2bbac532aa17ba +MISC metadata.xml 318 SHA256 218a00bda7df7396b1c9db4fea27cc69073dd039cb1db1e55d34cfd004209500 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b WHIRLPOOL 15d65bcdc3289c77c194a26721b45e700d54a771e5a63d29a52d431b1ac8922ee7ddd7ca11b10dbbb72ba3fd70daa5fba7dba875de04362ab9c489e70d9fb895 diff --git a/x11-misc/xosview/metadata.xml b/x11-misc/xosview/metadata.xml new file mode 100644 index 000000000000..66187a0f4213 --- /dev/null +++ b/x11-misc/xosview/metadata.xml @@ -0,0 +1,8 @@ + + + + + desktop-misc@gentoo.org + Gentoo Desktop Miscellaneous Project + + diff --git a/x11-misc/xosview/xosview-1.19.ebuild b/x11-misc/xosview/xosview-1.19.ebuild new file mode 100644 index 000000000000..fa37b4a95fb9 --- /dev/null +++ b/x11-misc/xosview/xosview-1.19.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils toolchain-funcs + +DESCRIPTION="X11 operating system viewer" +HOMEPAGE="http://www.pogo.org.uk/~mark/xosview/" +SRC_URI="http://www.pogo.org.uk/~mark/${PN}/releases/${P}.tar.gz" + +LICENSE="GPL-2 BSD" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="suid" + +COMMON_DEPS="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXt" +RDEPEND="${COMMON_DEPS} + media-fonts/font-misc-misc" +DEPEND="${COMMON_DEPS} + x11-proto/xproto" + +src_prepare() { + default + + sed -i -e 's:lib/X11/app:share/X11/app:g' -i ${PN}.1 || die + sed -i -e "s:Git:${PV}:g" ${PN}.cc || die + tc-export CXX +} + +src_compile() { + emake OPTFLAGS='' +} + +src_install() { + dobin ${PN} + use suid && fperms 4755 /usr/bin/${PN} + insinto /usr/share/X11/app-defaults + newins Xdefaults XOsview + doman *.1 + dodoc CHANGES README.linux TODO +} + +pkg_postinst() { + if ! use suid ; then + ewarn "If you want to use serial meters ${PN} needs to be executed as root." + ewarn "Please see ${EPREFIX}/usr/share/doc/${PF}/README.linux for details." + fi +} -- cgit v1.2.3