commit:     b23941b8874fac61e2325912937decddff15500a
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 14 13:51:27 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jan 14 16:54:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b23941b8

x11-libs/gtkdatabox: add 1.0.0

Closes: https://bugs.gentoo.org/831196
Closes: https://github.com/gentoo/gentoo/pull/23791
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 x11-libs/gtkdatabox/Manifest                |  1 +
 x11-libs/gtkdatabox/gtkdatabox-1.0.0.ebuild | 58 +++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/x11-libs/gtkdatabox/Manifest b/x11-libs/gtkdatabox/Manifest
index 288c2ca30f84..c86187249c97 100644
--- a/x11-libs/gtkdatabox/Manifest
+++ b/x11-libs/gtkdatabox/Manifest
@@ -1 +1,2 @@
 DIST gtkdatabox-0.9.3.0.tar.gz 2883977 BLAKE2B 
d9d5de1c4d07bd01940ea6f75f2b2f455b46cf018dbae67bcb643f523353e675e1a97cfc10b696fe16aa0391cb006e5e866bef52cefcdd8ca4de057589164e6e
 SHA512 
5c2464dafcf9cdd4ee11bec6f8e627533c0270fe28d736e1be45ad084c42d430a50c39cf08531138627cc59ab034a191ecd7b97ccfce633467ff99e6e9cd593a
+DIST gtkdatabox-1.0.0.tar.gz 520992 BLAKE2B 
d04dfc833ae6807fd593ebddcdbd45ee3c5be6818d11b8c3da313649d7279ddcfcc635571d84a2da3e2b867e3ec3f50fead2c0ee2fe25fad43851abc19610883
 SHA512 
63007ab50e1e1eba185a2c05ccc1a8759aded91797688c4b4888728af3527514cc79280851981e36b01e24859fe8e0f95d660a219d456edeb50e0b847d7b9999

diff --git a/x11-libs/gtkdatabox/gtkdatabox-1.0.0.ebuild 
b/x11-libs/gtkdatabox/gtkdatabox-1.0.0.ebuild
new file mode 100644
index 000000000000..b34a7c47a0e4
--- /dev/null
+++ b/x11-libs/gtkdatabox/gtkdatabox-1.0.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Gtk+ Widgets for live display of large amounts of fluctuating 
numerical data"
+HOMEPAGE="https://sourceforge.net/projects/gtkdatabox/";
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples +glade"
+
+RDEPEND="
+       dev-libs/atk
+       dev-libs/glib:2
+       media-libs/harfbuzz:=
+       x11-libs/cairo
+       x11-libs/gtk+:3
+       x11-libs/gdk-pixbuf:2
+       x11-libs/pango
+       glade? ( dev-util/glade:3.10= )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+       default
+
+       # Remove -D.*DISABLE_DEPRECATED cflags
+       find . -iname 'Makefile.am' -exec \
+               sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + || die
+       # Do Makefile.in after Makefile.am to avoid automake maintainer-mode
+       find . -iname 'Makefile.in' -exec \
+               sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + || die
+       sed -e '/SUBDIRS/{s: examples::;}' -i Makefile.am -i Makefile.in || die
+}
+
+src_configure() {
+       econf \
+               $(use_enable glade) \
+               --disable-static \
+               --enable-libtool-lock
+
+}
+
+src_install() {
+       default
+
+       find "${ED}" -type f -name '*.la' -delete || die
+
+       dodoc AUTHORS ChangeLog README TODO
+
+       if use examples; then
+               docinto examples
+               dodoc "${S}"/examples/*
+       fi
+}

Reply via email to