[proaudio] [1020] fix glashctl, wmaker optional |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 1020
Author: gimpel
Date: 2007-12-13 14:50:05 +0000 (Thu, 13 Dec 2007)
Log Message:
-----------
fix glashctl, wmaker optional
Modified Paths:
--------------
trunk/overlays/proaudio/media-sound/glashctl/Manifest
trunk/overlays/proaudio/media-sound/glashctl/glashctl-0.4.3.ebuild
Modified: trunk/overlays/proaudio/media-sound/glashctl/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/glashctl/Manifest 2007-12-13 14:20:42 UTC (rev 1019)
+++ trunk/overlays/proaudio/media-sound/glashctl/Manifest 2007-12-13 14:50:05 UTC (rev 1020)
@@ -9,10 +9,10 @@
MD5 7d9aae161aebfb1ce5428846e7855876 glashctl-0.4.2.ebuild 840
RMD160 c931e537d96cd1b8cc4ec6ef98e2fdda925d1bf5 glashctl-0.4.2.ebuild 840
SHA256 ef2c27b78a749a16da51a09481a405bb1683910c5b9855f8113755d16c75b889 glashctl-0.4.2.ebuild 840
-EBUILD glashctl-0.4.3.ebuild 913 RMD160 5e39a0e61dccf2fa10ef3535f515e3ced4405337 SHA1 24f6c80bed083c69ba25e5d7266a011daac34be0 SHA256 88664a6c147bd34bfd45c30db35f8c5e89bbf62cbda82cc5cfe0b6cc3a1b2fe6
-MD5 b92960807ee5b31fcfe1d9652e5e4dd9 glashctl-0.4.3.ebuild 913
-RMD160 5e39a0e61dccf2fa10ef3535f515e3ced4405337 glashctl-0.4.3.ebuild 913
-SHA256 88664a6c147bd34bfd45c30db35f8c5e89bbf62cbda82cc5cfe0b6cc3a1b2fe6 glashctl-0.4.3.ebuild 913
+EBUILD glashctl-0.4.3.ebuild 1125 RMD160 fceba76f0fa78170c55e18de715556d0b2502855 SHA1 3fc0b840ea227a63504175d70e9847acc01ea451 SHA256 f9917149cf50a2e18306dfc451f0064decc977931561f404b6ff6b6a03a7e6bb
+MD5 d7ecaad6491074e49eb40e83fc2cf2f2 glashctl-0.4.3.ebuild 1125
+RMD160 fceba76f0fa78170c55e18de715556d0b2502855 glashctl-0.4.3.ebuild 1125
+SHA256 f9917149cf50a2e18306dfc451f0064decc977931561f404b6ff6b6a03a7e6bb glashctl-0.4.3.ebuild 1125
MD5 66a8036597ff1bc306710a1b008b73d1 files/digest-glashctl-0.2.0 244
RMD160 74ad6ed359c32b806fc00cff244dd11c7e277f26 files/digest-glashctl-0.2.0 244
SHA256 d272fabad2932c85be046c79e7b7a2328c9f17f6ccea418090400c3b2a00baec files/digest-glashctl-0.2.0 244
Modified: trunk/overlays/proaudio/media-sound/glashctl/glashctl-0.4.3.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/glashctl/glashctl-0.4.3.ebuild 2007-12-13 14:20:42 UTC (rev 1019)
+++ trunk/overlays/proaudio/media-sound/glashctl/glashctl-0.4.3.ebuild 2007-12-13 14:50:05 UTC (rev 1020)
@@ -11,30 +11,39 @@
LICENSE="GPL"
SLOT="0"
KEYWORDS="~x86 ~amd64"
-IUSE=""
+IUSE="wmaker"
DEPEND=">=media-sound/lash-0.5.1
- >=x11-libs/vte-0.11.15
- >=dev-cpp/gtkmm-2.10.1"
-RDEPEND=""
+ >=dev-cpp/gtkmm-2.10.1
+ media-sound/jack-audio-connection-kit"
+RDEPEND="${DEPEND}"
src_unpack() {
- unpack "${A}"
+ unpack ${A}
cd "${S}"
- esed_check -i -e 's:ar rcs $$@ $$^ $(LDFLAGS) $$($(2)_LDFLAGS):ar rcs $$@ $$^ $($(2)_LDFLAGS):g' \
- Makefile.template
+ use wmaker || \
+ sed -i -e 's@PROGRAMS = glashctl wmglashctl@PROGRAMS = glashctl@' \
+ Makefile
}
src_compile(){
+ # those break ar, crappy build system
+ unset LDFLAGS
econf \
--prefix=/usr \
--CFLAGS="${CFLAGS}" \
- --LDFLAGS="${LDFLAGS}" \
|| die "econf failed"
+ # those break ar ...
+ # --LDFLAGS="${LDFLAGS}" \
emake || die "emake failed"
}
src_install(){
- make DESTDIR="${D}" install || die "einstall failed"
- prepalldocs
+ # damnit, really
+ #make DESTDIR="${D}" install || die "install failed"
+ dobin glashctl
+ use wmaker && dobin wmglashctl
+ insinto /usr/share/${PN}
+ doins *.xpm *.png
+ dodoc README AUTHORS ChangeLog
}