Advertisement
Guest User

Untitled

a guest
Oct 6th, 2019
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: $
  4.  
  5. EAPI=6
  6.  
  7. inherit git-r3 toolchain-funcs
  8.  
  9. DESCRIPTION="Customizable and lightweight notification-daemon"
  10. HOMEPAGE="http://www.knopwob.org/dunst/ https://github.com/dunst-project/dunst"
  11. SRC_URI=""
  12. EGIT_REPO_URI="https://github.com/dunst-project/dunst.git"
  13. LICENSE="BSD"
  14. SLOT="0"
  15. KEYWORDS="~x86 ~amd64"
  16. IUSE="dunstify"
  17.  
  18. CDEPEND="
  19. dev-libs/glib:2
  20. dev-libs/libxdg-basedir
  21. sys-apps/dbus
  22. x11-libs/cairo[X,glib]
  23. x11-libs/gdk-pixbuf
  24. x11-libs/libX11
  25. x11-libs/libXScrnSaver
  26. x11-libs/libXinerama
  27. x11-libs/libXrandr
  28. x11-libs/pango[X]
  29. dunstify? ( x11-libs/libnotify )
  30. "
  31. DEPEND="
  32. ${CDEPEND}
  33. dev-lang/perl
  34. virtual/pkgconfig
  35. "
  36.  
  37. RDEPEND="${CDEPEND}"
  38.  
  39. src_prepare() {
  40. sed -i -e "/^CFLAGS/ { s:-g::;s:-O.:: }" config.mk || die
  41.  
  42. default
  43. }
  44.  
  45. src_compile() {
  46. tc-export CC
  47. emake
  48. use dunstify && emake dunstify
  49. }
  50.  
  51. src_install() {
  52. emake DESTDIR="${D}" PREFIX="/usr" install
  53.  
  54. use dunstify && dobin dunstify
  55.  
  56. dodoc AUTHORS CHANGELOG.md README.md RELEASE_NOTES
  57. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement