mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
x11-plugins/wmdrawer: drop old
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
committed by
Bernard Cafarelli
parent
db530cc499
commit
4dfe7de61c
@@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="dockapp which provides a drawer (retractable button bar) to launch applications"
|
||||
HOMEPAGE="http://people.easter-eggs.org/~valos/wmdrawer/"
|
||||
SRC_URI="http://people.easter-eggs.org/~valos/wmdrawer/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/gdk-pixbuf:2[X]
|
||||
x11-libs/gtk+:2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gtk+-2.patch
|
||||
|
||||
# Honour Gentoo CFLAGS
|
||||
sed -i -e "s|-O3|${CFLAGS}|" Makefile || die
|
||||
# Fix LDFLAGS ordering per bug #248640
|
||||
sed -i -e 's/$(CC) $(LDFLAGS) -o $@ $(OBJS)/$(CC) -o $@ $(OBJS) $(LDFLAGS)/' Makefile || die
|
||||
# Do not auto-strip binaries
|
||||
sed -i -e 's/ strip $@//' Makefile || die
|
||||
# Honour Gentoo LDFLAGS
|
||||
sed -i -e 's/$(CC) -o/$(CC) $(REAL_LDFLAGS) -o/' Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake REAL_LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin wmdrawer
|
||||
dodoc README TODO AUTHORS ChangeLog wmdrawerrc.example
|
||||
doman doc/wmdrawer.1x.gz
|
||||
}
|
||||
Reference in New Issue
Block a user