diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-05-31 15:45:17 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-05-31 15:45:17 +0000 |
commit | 3290e329584a2fe98f2024d5b1dbbe9431b72016 (patch) | |
tree | 767d65932904ef0461b242a1947912e9ae8f4065 /x11-misc/oroborus-desklaunch | |
parent | Install icon correctly this time. (diff) | |
download | gentoo-2-3290e329584a2fe98f2024d5b1dbbe9431b72016.tar.gz gentoo-2-3290e329584a2fe98f2024d5b1dbbe9431b72016.tar.bz2 gentoo-2-3290e329584a2fe98f2024d5b1dbbe9431b72016.zip |
New ebuild for oroborus-desklaunch, formerly part of x11-wm/oroborus-extras
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/oroborus-desklaunch')
4 files changed, 100 insertions, 0 deletions
diff --git a/x11-misc/oroborus-desklaunch/ChangeLog b/x11-misc/oroborus-desklaunch/ChangeLog new file mode 100644 index 000000000000..19cb2cc9a1c0 --- /dev/null +++ b/x11-misc/oroborus-desklaunch/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for x11-misc/oroborus-desklaunch +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/oroborus-desklaunch/ChangeLog,v 1.1 2010/05/31 15:45:17 xarthisius Exp $ + +*oroborus-desklaunch-1.1.7 (31 May 2010) + + 31 May 2010; Kacper Kowalik <xarthisius@gentoo.org> + +oroborus-desklaunch-1.1.7.ebuild, + +files/oroborus-desklaunch-1.1.7-gentoo.diff, +metadata.xml: + New ebuild for oroborus-desklaunch, formerly part of + x11-wm/oroborus-extras + diff --git a/x11-misc/oroborus-desklaunch/files/oroborus-desklaunch-1.1.7-gentoo.diff b/x11-misc/oroborus-desklaunch/files/oroborus-desklaunch-1.1.7-gentoo.diff new file mode 100644 index 000000000000..a6d833bcfd3d --- /dev/null +++ b/x11-misc/oroborus-desklaunch/files/oroborus-desklaunch-1.1.7-gentoo.diff @@ -0,0 +1,39 @@ +--- Makefile ++++ Makefile +@@ -1,29 +1,26 @@ +-CC = gcc +-CFLAGS = -g -O2 -Wall +-XROOT = /usr/X11R6 +-INCLUDES = -I$(XROOT)/include +-LIBS = -lX11 -lXext -lXpm +-LDPATH = -L$(XROOT)/lib ++INCLUDES = `pkg-config --cflags x11 xext xpm` ++LIBS = `pkg-config --libs x11 xext xpm` + +-DESTDIR = + PROG = desklaunch + PREFIX = $(DESTDIR)/usr ++MANDIR = $(PREFIX)/share/man + RCFILE = .$(PROG)rc + DEFINES = -DRCFILE=\"$(RCFILE)\" #-DDEBUG + + OBJS = $(PROG).o ++MAN = debian/$(PROG).1 + + all: $(PROG) + + $(PROG): $(OBJS) +- $(CC) $(OBJS) $(LDPATH) $(LIBS) -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@ + + $(OBJS): %.o: %.c $(HEADERS) + $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -c $< -o $@ + + install: all +- install $(PROG) $(PREFIX)/bin +- install -d $(PREFIX)/share/$(PROG) ++ install -D -m 755 $(PROG) $(PREFIX)/bin/$(PROG) ++ install -D -m 644 $(MAN) $(MANDIR)/man1/$(PROG).1 + + uninstall: + rm -f $(PREFIX)/bin/$(PROG) diff --git a/x11-misc/oroborus-desklaunch/metadata.xml b/x11-misc/oroborus-desklaunch/metadata.xml new file mode 100644 index 000000000000..b5f819c7d9bf --- /dev/null +++ b/x11-misc/oroborus-desklaunch/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-wm</herd> + <longdescription> + DeskLaunch is a small utility for creating desktop icons using pixmaps. + A simple click will launch the desired application. + </longdescription> +</pkgmetadata> diff --git a/x11-misc/oroborus-desklaunch/oroborus-desklaunch-1.1.7.ebuild b/x11-misc/oroborus-desklaunch/oroborus-desklaunch-1.1.7.ebuild new file mode 100644 index 000000000000..bc214d88531a --- /dev/null +++ b/x11-misc/oroborus-desklaunch/oroborus-desklaunch-1.1.7.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/oroborus-desklaunch/oroborus-desklaunch-1.1.7.ebuild,v 1.1 2010/05/31 15:45:17 xarthisius Exp $ + +EAPI=2 + +inherit eutils toolchain-funcs + +MY_PN=${PN/oroborus-//} + +DESCRIPTION="utility for creating desktop icons for Oroborus" +HOMEPAGE="http://www.oroborus.org" +SRC_URI="http://ftp.debian.org/debian/pool/main/d/${MY_PN}/${MY_PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + !x11-wm/oroborus-extras" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_PN}-${PV} + +pkg_setup() { + tc-export CC +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.diff +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc README debian/changelog debian/example_rc || die +} |