Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Copyright 1999-2015 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- # $Header: $
- EAPI=6
- inherit git-r3 toolchain-funcs
- DESCRIPTION="Customizable and lightweight notification-daemon"
- HOMEPAGE="http://www.knopwob.org/dunst/ https://github.com/dunst-project/dunst"
- SRC_URI=""
- EGIT_REPO_URI="https://github.com/dunst-project/dunst.git"
- LICENSE="BSD"
- SLOT="0"
- KEYWORDS="~x86 ~amd64"
- IUSE="dunstify"
- CDEPEND="
- dev-libs/glib:2
- dev-libs/libxdg-basedir
- sys-apps/dbus
- x11-libs/cairo[X,glib]
- x11-libs/gdk-pixbuf
- x11-libs/libX11
- x11-libs/libXScrnSaver
- x11-libs/libXinerama
- x11-libs/libXrandr
- x11-libs/pango[X]
- dunstify? ( x11-libs/libnotify )
- "
- DEPEND="
- ${CDEPEND}
- dev-lang/perl
- virtual/pkgconfig
- "
- RDEPEND="${CDEPEND}"
- src_prepare() {
- sed -i -e "/^CFLAGS/ { s:-g::;s:-O.:: }" config.mk || die
- default
- }
- src_compile() {
- tc-export CC
- emake
- use dunstify && emake dunstify
- }
- src_install() {
- emake DESTDIR="${D}" PREFIX="/usr" install
- use dunstify && dobin dunstify
- dodoc AUTHORS CHANGELOG.md README.md RELEASE_NOTES
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement