summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2009-05-09 13:59:17 +0000
committerCédric Krier <cedk@gentoo.org>2009-05-09 13:59:17 +0000
commitc4009f10ba2df524bf0d9c94d36dbf7098c01414 (patch)
treec14c929337ca4e72b524fd43c6a7dd0b91244094 /x11-misc/dmenu
parentAgain, install executable into /sbin, not /usr/sbin. (diff)
downloadhistorical-c4009f10ba2df524bf0d9c94d36dbf7098c01414.tar.gz
historical-c4009f10ba2df524bf0d9c94d36dbf7098c01414.tar.bz2
historical-c4009f10ba2df524bf0d9c94d36dbf7098c01414.zip
Version bump
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'x11-misc/dmenu')
-rw-r--r--x11-misc/dmenu/ChangeLog7
-rw-r--r--x11-misc/dmenu/Manifest14
-rw-r--r--x11-misc/dmenu/dmenu-4.0.ebuild62
3 files changed, 71 insertions, 12 deletions
diff --git a/x11-misc/dmenu/ChangeLog b/x11-misc/dmenu/ChangeLog
index f93b1a5dee01..d3dddf3873ea 100644
--- a/x11-misc/dmenu/ChangeLog
+++ b/x11-misc/dmenu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/dmenu
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.51 2009/03/21 21:37:04 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.52 2009/05/09 13:59:17 cedk Exp $
+
+*dmenu-4.0 (09 May 2009)
+
+ 09 May 2009; Cédric Krier <cedk@gentoo.org> +dmenu-4.0.ebuild:
+ Version bump
21 Mar 2009; Krzysiek Pawlik <nelchael@gentoo.org> -files/dmenu-3.7.patch,
-dmenu-3.7-r1.ebuild, -dmenu-3.8.ebuild:
diff --git a/x11-misc/dmenu/Manifest b/x11-misc/dmenu/Manifest
index e085bab5c5c4..da172c984949 100644
--- a/x11-misc/dmenu/Manifest
+++ b/x11-misc/dmenu/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST dmenu-3.9.tar.gz 8582 RMD160 76dae0e752f9ae9d24d15568aaf80ec927301414 SHA1 9575cf9225de45ae3eb180aaddff2f5e5a662942 SHA256 2370111e02c6a3863ea04376795fa72f9e41cdd2650b12f90e6a0c7d096e4b22
+DIST dmenu-4.0.tar.gz 8576 RMD160 9292c516397b578a753b1ba6a87ce68135a465b6 SHA1 6fb1ff6e414d5ef33d2f627b0ec563eaac19fbd8 SHA256 c04508285e21a1fc055b76890ec47e9956d8edc4d460dbcac59f96f061b2e862
EBUILD dmenu-3.9.ebuild 1632 RMD160 36debc9080048ce2a639a063594e6adb823027bf SHA1 a50e56e60c0c328fde27b41801e03c567482217c SHA256 950595154c1c9c65ce35b126f5f53d6b5e238447e942a183558477005a2eaa03
-MISC ChangeLog 5495 RMD160 5d87700cb8b38a7596eb09bf620718bdba96f4d2 SHA1 ed019e0acc906e97a1c81f6b44e8b216840e3f9f SHA256 1c94d4db3e87a0e2caeed371e754cbcf43875f18f42c99e2cb204f39f22942a4
+EBUILD dmenu-4.0.ebuild 1634 RMD160 5abbd9bf9d7fe23fd323bd2bd53fe802cf397c50 SHA1 c98d6b3e87de2835609316bfc5d8ed059a94ca85 SHA256 4768d39bf684064806ae0713a10153bb91624f1fb2e55413d441214e26bdf1d0
+MISC ChangeLog 5599 RMD160 f1f2346106d3dfbc746ecc1af056b1152f8d871b SHA1 0356567e7a9e137bd6c3136b93b418aecf5eb729 SHA256 0c689a84e25e4ab47ab30ef3a7b9272d8f93b45383db8d8813ba655527439a83
MISC metadata.xml 362 RMD160 5f550b91126dc9e09be2d8bbdc20eaca796bbc0f SHA1 ef592e4169ca16e31a24d264c480722112b740e2 SHA256 341ef52d92764d360158c96773c3d73939970d958b8dd066204741f43ee7dd92
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.10 (GNU/Linux)
-
-iEYEARECAAYFAknFXgYACgkQgo/w9rxVVVGWqgCgn4IqWhjFnJriplKboMEGqkDK
-dUkAoKAMlrJKmihvMmrmWZ6d4c1VEI/+
-=sHaS
------END PGP SIGNATURE-----
diff --git a/x11-misc/dmenu/dmenu-4.0.ebuild b/x11-misc/dmenu/dmenu-4.0.ebuild
new file mode 100644
index 000000000000..daf056ceffc8
--- /dev/null
+++ b/x11-misc/dmenu/dmenu-4.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/dmenu-4.0.ebuild,v 1.1 2009/05/09 13:59:17 cedk Exp $
+
+inherit toolchain-funcs savedconfig
+
+DESCRIPTION="a generic, highly customizable, and efficient menu for the X Window System"
+HOMEPAGE="http://www.suckless.org/programs/dmenu.html"
+SRC_URI="http://code.suckless.org/dl/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="xinerama"
+
+DEPEND="x11-libs/libX11
+ xinerama? ( x11-libs/libXinerama )"
+RDEPEND=${DEPEND}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e "s/CFLAGS = -std=c99 -pedantic -Wall -Os/CFLAGS += -std=c99 -pedantic -Wall -g/" \
+ -e "s/LDFLAGS = -s/LDFLAGS += -g/" \
+ -e "s/XINERAMALIBS =/XINERAMALIBS ?=/" \
+ -e "s/XINERAMAFLAGS =/XINERAMAFLAGS ?=/" \
+ config.mk || die "sed failed"
+
+ if use savedconfig; then
+ restore_config config.h
+ fi
+}
+
+src_compile() {
+ local msg
+ use savedconfig && msg=", please check the configfile"
+ if use xinerama; then
+ emake CC=$(tc-getCC) || die "emake failed${msg}"
+ else
+ emake CC=$(tc-getCC) XINERAMAFLAGS="" XINERAMALIBS="" \
+ || die "emake failed${msg}"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"
+
+ insinto /usr/share/${PN}
+ newins config.h ${PF}.config.h
+
+ dodoc README
+
+ save_config config.h
+}
+
+pkg_postinst() {
+ einfo "This ebuild has support for user defined configs"
+ einfo "Please read this ebuild for more details and re-emerge as needed"
+ einfo "if you want to add or remove functionality for ${PN}"
+}