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 /x11-misc/bbweather |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/bbweather')
-rw-r--r-- | x11-misc/bbweather/Manifest | 6 | ||||
-rw-r--r-- | x11-misc/bbweather/bbweather-0.6.3-r1.ebuild | 44 | ||||
-rw-r--r-- | x11-misc/bbweather/files/bbweather-asneeded.patch | 40 | ||||
-rw-r--r-- | x11-misc/bbweather/metadata.xml | 8 |
4 files changed, 98 insertions, 0 deletions
diff --git a/x11-misc/bbweather/Manifest b/x11-misc/bbweather/Manifest new file mode 100644 index 000000000000..0969d54d5868 --- /dev/null +++ b/x11-misc/bbweather/Manifest @@ -0,0 +1,6 @@ +AUX bbweather-asneeded.patch 1099 SHA256 963a7a76ff0ec6e341f9b0f32a65eeb8e92be49aef67efa9e9d6f49adc35e6e2 SHA512 3e96d0210053de4a321a28064824dbd69635e6fffa72c2c335c8b1f66c8c0de9e2700f183e74803011036c285fcc43ff8b01ed156d21f36c0165874fc8f96287 WHIRLPOOL 581204fb90410abaa9761417c56995765f51f4ffd3e57c2785145986a0ed1b0244a33437b47f144e44ea9cd9c91ca1775e3ce0726473307d0d9c077bda4fda90 +DIST bbweather-0.6.3.tar.bz2 80631 SHA256 575e0f5dd1af770490bf0f3ef9c26de5245deb91f79caa3d5db3cd9dc23b8e1e SHA512 e5bd4febf119c0f81a64fb5ff4cf3b526a84e8fd26005ff04c6297f9b50963d2d710227469f9a1cf2d1c51f3524a2bce544a07c70ca4e5beff64c954768468a6 WHIRLPOOL 7b0c2f4561f54bdf1daab217ca4ca3d26e44a377013f327668a5edeb964f189ea19f1eb413ca48f35c52e69275ed945e8843c1dfedf59b28b5dc3cacd35c5724 +EBUILD bbweather-0.6.3-r1.ebuild 1098 SHA256 be8b14bedb59e56ff7fa3b1407ad860f2a563474408b846ce2d7b6529fce4d23 SHA512 27287cbca8b2fe676e2c3f7449de243d8a6644971652baa632c90142f2b7362e3aa598e144d8794f19a17c97eba7d568e53038d5c9aa5fb550ab6ff8e37e3e30 WHIRLPOOL f9ce512f7da597b7d10d0ffe861faf9eebc9b47f37921611f75b27f7f93af06ec00bbc6c1255fdd0cf0ca67a29dab9fdb32b3b53d7069135bbaec80d53048c89 +MISC ChangeLog 2567 SHA256 d8c13415b203e5bfc7f297d16544a253630a6d9b30406d72cd12bcae5daa1fd6 SHA512 b47084d30370d462f3db0809dc6cbcef07c513fb1bf54d76b02b2b30c2587b1112cb493477f4180d3d96a4c0b46810162489b1b65ed79bed7835cf2a22ecabd0 WHIRLPOOL 2c03320f3399c8134f3a42504484511e45b7cf77e3131c5da4b207e1683e83179f729be6c5b067de131a031924e6f13c14d1ca2035c42fe65fc09ef9720367eb +MISC ChangeLog-2015 5293 SHA256 5ded7d29e99bb7a7cf4bcf405576863fb52febff87074e501387e0e0ec296a73 SHA512 2151508715c249d0b113b2f6e6b7e12fd9e1ce563b7dddc6b727f2fbf7fcf63e3b9b66c1cd7449edc23f3e82840cfd9502d097087aeab40fc896c375a20ce259 WHIRLPOOL 7e7038e517cf88b6fac5b1dabd2cbeb8d7502133df5d065315c919bc5e0499e2e86ac91427a3c3255d8918a2c69ef128aadf791d27df86014a8349f24c3d9c02 +MISC metadata.xml 235 SHA256 2273bd85bc30788ca776d3ad5dc2601606543020b0a6f7ddd3c4464e8e48a796 SHA512 f520eb76104c5ac22c816c755cc7772547ba7030326fef24077090c8d01f602839df77838373247f5f8ce5f94b6043c2a5f6a629991f265d802db39352765063 WHIRLPOOL f2d2d2f1cf060143872d0df9bcf064d3155b160313c85fcddbeeb4b46963f75b15710f16a465b4d7da5ee8f7401ea9e713722eaa908711df5f3620bb8b62c50a diff --git a/x11-misc/bbweather/bbweather-0.6.3-r1.ebuild b/x11-misc/bbweather/bbweather-0.6.3-r1.ebuild new file mode 100644 index 000000000000..bf4468aec901 --- /dev/null +++ b/x11-misc/bbweather/bbweather-0.6.3-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 + +inherit autotools eutils + +DESCRIPTION="blackbox weather monitor" +HOMEPAGE="http://www.netmeister.org/apps/bbweather/" +SRC_URI="http://www.netmeister.org/apps/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 hppa ppc x86" +IUSE="" + +DEPEND="dev-lang/perl + x11-libs/libX11" +RDEPEND="${DEPEND} + net-misc/wget + x11-apps/xmessage + !<=x11-plugins/gkrellweather-2.0.7-r1" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-asneeded.patch + gunzip doc/*.gz || die + sed -i \ + -e "s:man_DATA:man1_MANS:;s:.gz::g;/^mandir/d" \ + doc/Makefile.am || die + sed -i \ + -e 's|-helvetica-|-*-|g' \ + resource.cpp data/${PN}.{nobb,style} || die + eautoreconf +} + +src_install () { + emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install || die + dodoc README AUTHORS ChangeLog NEWS TODO data/README.bbweather || die + + # since multiple bbtools packages provide this file, install + # it in /usr/share/doc/${PF} + mv "${D}"/usr/share/bbtools/bbtoolsrc.in \ + "${D}"/usr/share/doc/${PF}/bbtoolsrc.example +} diff --git a/x11-misc/bbweather/files/bbweather-asneeded.patch b/x11-misc/bbweather/files/bbweather-asneeded.patch new file mode 100644 index 000000000000..593e471641c8 --- /dev/null +++ b/x11-misc/bbweather/files/bbweather-asneeded.patch @@ -0,0 +1,40 @@ +Fixing build with as-needed + +https://bugs.gentoo.org/248556 + +--- configure.in ++++ configure.in +@@ -56,15 +56,10 @@ + AC_PATH_X + AC_PATH_XTRA + +-CFLAGS="$CFLAGS $X_CFLAGS" +-CXXFLAGS="$CXXFLAGS $X_CFLAGS" +-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS" + DATADIR=$datadir + dnl Checks for X libraries. +-AC_CHECK_LIB(X11, XOpenDisplay, LDFLAGS="$LDFLAGS -lX11", +- AC_MSG_ERROR(XOpenDisplay not found in -lX11)) +- +-LDFLAGS="$LDFLAGS $X_EXTRA_LIBS" ++AC_CHECK_LIB([X11], [XOpenDisplay], , ++ AC_MSG_ERROR(XOpenDisplay not found in -lX11), ) + + dnl Checks for header files. + AC_HEADER_STDC +--- Makefile.am ++++ Makefile.am +@@ -1,5 +1,4 @@ +-CPPFLAGS = @CPPFLAGS@ \ +- -DDEFAULT_CONF=\"$(datadir)/bbtools/bbweather.conf\" \ ++AM_CPPFLAGS = -DDEFAULT_CONF=\"$(datadir)/bbtools/bbweather.conf\" \ + -DDEFAULT_NOBB=\"$(datadir)/bbtools/bbweather.nobb\" + + +@@ -13,4 +12,5 @@ + Basewindow.cpp Basewindow.h \ + blackboxstyle.h + EXTRA_DIST = BUGS TODO +-bbweather_LDADD = @X_LIBS@ ++bbweather_LDADD = @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ ++bbweather_CFLAGS = @X_PRE_CFLAGS@ @X_CFLAGS@ @X_EXTRA_CFLAGS@ diff --git a/x11-misc/bbweather/metadata.xml b/x11-misc/bbweather/metadata.xml new file mode 100644 index 000000000000..bdb57f8b3d53 --- /dev/null +++ b/x11-misc/bbweather/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 --> +<longdescription> + Weather monitor for Blackbox. + </longdescription> +</pkgmetadata> |