diff options
Diffstat (limited to 'x11-libs/gtkdatabox')
-rw-r--r-- | x11-libs/gtkdatabox/Manifest | 2 | ||||
-rw-r--r-- | x11-libs/gtkdatabox/gtkdatabox-1.0.0-r1.ebuild | 72 |
2 files changed, 74 insertions, 0 deletions
diff --git a/x11-libs/gtkdatabox/Manifest b/x11-libs/gtkdatabox/Manifest index b8979dfeb07a..7a9c0894834f 100644 --- a/x11-libs/gtkdatabox/Manifest +++ b/x11-libs/gtkdatabox/Manifest @@ -1,3 +1,5 @@ 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 EBUILD gtkdatabox-0.9.3.0.ebuild 1274 BLAKE2B f19ca74d01218bb7a2567ea3b1ca50f37b9c68ad0bbec2dfac9a041c442149f6fee754d3c17878a43a9968fce477f8f9f676b8a3bde2be8539ebc0525fab0fe3 SHA512 6f6bf5c70d4b0cabd1e11e42d921580f6eb1d9434e3e062daa4bfd0ea6a27e44317aa75b3d2f4feb6438148bc65a5c8838e9618b25ef838cdd4c245b3ad73882 +EBUILD gtkdatabox-1.0.0-r1.ebuild 1442 BLAKE2B 3d5b60270151ffcdd9087f7e7edd17a81a0559ce86eed32a0cfdb058ad263bcc8af3a571f22dcd73706caf2c589fb534561699ccf49d0f32ed718584bd77cdbb SHA512 a97626cd3243d1929d3edbaa7ef8995760c036749fc705108e8b69666e1bec806ff00647ca02ce7d62f0d013e805daacc73b5b13e7b82987a63334cfd9f3a069 MISC metadata.xml 489 BLAKE2B 64f8578f50f88c312798a3a31a463c8c47aef746809f1f7a845579cc285c72f566dfb45d35bcc9ff638b65f97754fb8a831b126f75f38e1dd45cfd11c7438b23 SHA512 d78ccf6e37e39d7f0d883e273874b452d912813795592266cc5f90b80060d2e0809fc56aa441c96e98f34be97e8390afa8bf64b88c6fe436730fdcff1c415456 diff --git a/x11-libs/gtkdatabox/gtkdatabox-1.0.0-r1.ebuild b/x11-libs/gtkdatabox/gtkdatabox-1.0.0-r1.ebuild new file mode 100644 index 000000000000..e99b9d199435 --- /dev/null +++ b/x11-libs/gtkdatabox/gtkdatabox-1.0.0-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg-utils + +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) \ + --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 +} + +maybe_update_xdg_icon_cache() { + if use glade; then + xdg_icon_cache_update + fi +} + +pkg_postinst() { + maybe_update_xdg_icon_cache +} + +pkg_postrm() { + maybe_update_xdg_icon_cache +} |