[proaudio] [2303] media-sound/setbfree: bump 0.5.5 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 2303
Author: gavlee
Date: 2012-11-14 01:08:57 +0100 (Wed, 14 Nov 2012)
Log Message:
-----------
media-sound/setbfree: bump 0.5.5
Modified Paths:
--------------
trunk/overlays/proaudio/media-sound/setbfree/ChangeLog
trunk/overlays/proaudio/media-sound/setbfree/Manifest
trunk/overlays/proaudio/media-sound/setbfree/metadata.xml
trunk/overlays/proaudio/media-sound/setbfree/setbfree-9999.ebuild
Added Paths:
-----------
trunk/overlays/proaudio/media-sound/setbfree/files/setbfree-0.5.5/
trunk/overlays/proaudio/media-sound/setbfree/files/setbfree-0.5.5/0001-multilib-strict.patch
trunk/overlays/proaudio/media-sound/setbfree/files/setbfree-0.5.5/0002-respect-ldflags.patch
trunk/overlays/proaudio/media-sound/setbfree/files/setbfree-0.5.5/0003-cflags.patch
trunk/overlays/proaudio/media-sound/setbfree/setbfree-0.5.5.ebuild
Modified: trunk/overlays/proaudio/media-sound/setbfree/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/setbfree/ChangeLog 2012-11-13 22:49:42 UTC (rev 2302)
+++ trunk/overlays/proaudio/media-sound/setbfree/ChangeLog 2012-11-14 00:08:57 UTC (rev 2303)
@@ -2,6 +2,14 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*setbfree-0.5.5 (13 Nov 2012)
+
+ 13 Nov 2012; Gavin Pryke (gavlee) <gavinlee303@xxxxxxxxxxxxxx>
+ +setbfree-0.5.5.ebuild, +files/setbfree-0.5.5/0001-multilib-strict.patch,
+ +files/setbfree-0.5.5/0002-respect-ldflags.patch,
+ +files/setbfree-0.5.5/0003-cflags.patch, setbfree-9999.ebuild, metadata.xml:
+ bump. fix multilib-strict, obey toolchain env/flags.
+
17 Jul 2012; Dominique Michel <dominique_libre@xxxxxxxxxxxxxxx>
+setbfree-9999.ebuild: live git ebuild for setbfree
+setbfree-0.5.4.ebuild: version bump, removed outdated comment
Modified: trunk/overlays/proaudio/media-sound/setbfree/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/setbfree/Manifest 2012-11-13 22:49:42 UTC (rev 2302)
+++ trunk/overlays/proaudio/media-sound/setbfree/Manifest 2012-11-14 00:08:57 UTC (rev 2303)
@@ -1,6 +1,11 @@
+AUX setbfree-0.5.5/0001-multilib-strict.patch 838 SHA256 d099bc96dd7dcd7acc2c50f8e1b7187bd9410f52537fc7551000a143b79ecee4 SHA512 6c1c353cdcd53d91cd5f4faa54b4b031fd0f394580fab284e22a8813d6c46d589a818b14ac79301bd306abf66af5774c981ee3289e96b0d25d78fffeece34886 WHIRLPOOL 4113244cbb6ba3f976c7fe1017478d01f77430a1bd73a9633990441b8176aa80f31dd5a188cafe3d6cf3b7cf010279004d3ae0b77a3092535b34ee4b6c7e26f8
+AUX setbfree-0.5.5/0002-respect-ldflags.patch 2696 SHA256 b13cefd045b8e7a3b80b404ee8692db22f2f2fb1f31b1327f408f51507ba824f SHA512 2bc84425e5e54a55981c6c6af7c675775e885715a807c9412b1e2877ab82673177972e212398024230a58302ef7a44ddfb3b3ec51e268aa8994a002678982037 WHIRLPOOL 36ed448c5c83dc6d8546cee5c2024860d3cf7653f18f6af1ae3b83f9e7549e06cb88aad5447a85fcf3eb6f008c7fdfe66954181c0e58c88355f071ebee31f5ea
+AUX setbfree-0.5.5/0003-cflags.patch 875 SHA256 1886672f630c7af33ea35807a4cf1dcf69adcf5edd1fc9fc637f91a0407bb3e9 SHA512 23ab1b90f770acd3c85c52f26d826561cb876ba033ab138fa03a86ea102be0d381a3a384588da50457736849eb63cf11e303f7e41fbadef2c35b0629412a5b7f WHIRLPOOL 47ed7b74a6243b65c0e4de03af1ec7a043395e5ff02a9deadeaf2800b2213f8bbc329fa0e773b103977a0f448a700bbdb79aa31f0b91a86054de34fbbcbe641b
AUX setbfree.desktop 214 SHA256 f10e556b12206df81c331eeaa6400d74c1cbeb6bf75e7d6efbd7a194b601daab SHA512 a335fe83d48c196cc48392cc3ff290400b0fb05ab28f22a8542e9bf167c042b1ee1db7d4c817f5f604098c08d6899a9a6ca7501a8721e6616f4262a7a4078d6b WHIRLPOOL b7639870ff82fbe0b4a91d37df3c98d89793f3d53a9ea6fff58cb610f148e9916dff0c732c55130c62d68123e2747c5ff05983e950e36d442e2a54217e7636c4
DIST setbfree-0.5.4.tar.gz 548480 SHA256 f4b3487c03dc54d574555537de2a65fe5c839386bff67420a05928f6f0d999d6 SHA512 5dc5e44978bd1d896e1a4c43fd6ff9ccf252e494b4a3bdf7087758b0e077efaaedcc17fc2e69354335b9976491bb6bf32248d48b25c4cdba0a3931d66e6ae18c WHIRLPOOL fb2c76133f4d9872ccbe5b7d80290842800a9c541be6d2622971adb57b9fc92bdae60994ece8ef9727395e69386584be7f8ee486b8f660b32234d847b4495f3e
+DIST setbfree-0.5.5.tar.gz 547876 SHA256 adb65e19d69ef7e9cc6be05b8272fe35197f57de5bbfd4824c8ab91a3fbeeb41 SHA512 7bd854e1d7aadf7c839cd8dc41e544a9fc9ac8a57a82972d60c87c5153516cca23928981662c84aab56b3bb26b2732c440a8266a2bd661147825fb5576a08080 WHIRLPOOL ddfd8d407085c7304c643903dadbd1d8cfdecce1b0ba9eafbf5be2c95e7e6ebe8a9d00df91f10dbf7bec5691dfa705e55fa9db7ffc855593d1fd62b992a5ef78
EBUILD setbfree-0.5.4.ebuild 1286 SHA256 13e0a4d36a6dbf175d8de2e917da8e195fc6af9a3569dd813bcf915f162e0a0f SHA512 eca5294043e92b41308bb7b891304c8e42abd1380d606e4175e7c1b6ab68545d6316856f4cd9b267e700c03e08f2e0ef5fe249ba216b457a3c0948e95f9b15cc WHIRLPOOL 96994e6bb17998ccede4863a36978a15f28e3724f4057ae666a011ffbb0240cfddef019f8f4236fc382f70b4f380c465ae6e3e7b150dd4111cbe49be368b4f2b
-EBUILD setbfree-9999.ebuild 1269 SHA256 e43f5466ff2e04f87599a7352471cc7271e9f37bf9f40aa4f0e219bf6dbbec7c SHA512 4b7f77dd52a8396b923a95b400230b923e7429ba616f8fd558aa85f58e01d189f32dd308d596ea5237c52a4b60543d2a3f233f93939656e2707f9bbf7a8694c1 WHIRLPOOL 0a046a6594eb2c4f10611b9e44cd43d228deef441eaa0207c6c4d39bcd420946fda0b43ab9b6dbd58d1526c907b4fd794cd7c34efc5a0a14e8b63a2364c377e0
-MISC ChangeLog 493 SHA256 6921f1cb92e356d07eb212a6eb81fb5c7b9805f0873049f7c0f9994f51276f07 SHA512 a0d4d00289975d39549024d31b685806f7f198c60abab4de3d66dc04101519b8316513ae930bb30d437ebd238ab1c53d4a786b90e4fa276d3506ba4d63b6bbf6 WHIRLPOOL 30bfd8b9a4cc93c69463003b3872d4fd575baa49719fb190a44fac340831811a6f04e3e93ad9205edda2ae517036c7aec26f7929749100ae009d0a3ab7c72f36
-MISC metadata.xml 268 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89 SHA512 3d709a016692f887d642d19b2644c10a09f666133f1f035b8a4c10e5772fbb39fa84a856a496d392594ccf850739fbf46ffa78ecc74214e8342ee97676b375e9 WHIRLPOOL 17c886c5b97925bd9223c0210170a63e55a2c2a238ae81ebf8efa14109d790406f45d0773d63bea825c1e40b058bd9e20a5d9c264da4db7c8fd2e556ecd83b2a
+EBUILD setbfree-0.5.5.ebuild 1287 SHA256 83c10271554781eb044bd1e595b89d8c85479137f71697f0c72bebd034484314 SHA512 7a4791200e573cb58af1dac2f465c7146149fb394cc2f94cf0b64eb2e174f8ef757bdc6f286ec62e505601aeef4b509f80aafb731288c83a956474776cc55a44 WHIRLPOOL 351a4434ab7d8afe25a4078849a334f1f8521e10eaddacf1a02e21d201167cd4ab555318dc7889523aad1c5f4315ac4fc4b09e0fce90ff0a02427adcaeebf834
+EBUILD setbfree-9999.ebuild 1259 SHA256 b0eb51febfa5bec25d477c9688b63d9fa2ffad031619a2802d62542935cb2b20 SHA512 3f208c6b398a8a6891e7b7bad1fac054c820009ae0bf2b13ed4200036cfe092f080fd026dfc3861561fb4bc39fe335e4b29fd54b0ec4c4af7b89553dd21ee3e4 WHIRLPOOL 9176109a87749bb8fa851885a2bb8a0900c0bbe7610b087d5670f137b75fff796fae81ba5f14b5e2e3b4d11d96ba4e8b2fb8848c753bb0d4826dcddbda9ccfb0
+MISC ChangeLog 852 SHA256 06ae0f57188f7a6ab940d962ab87cdc2c0a346129f126f28aa2deee139e8e778 SHA512 e0cd68916815206704a2b730b56b0f2d2940fe6c083ce0d510546196dde08096bd814cb37912de9e150511fdf4b0fc752ebdc1a759003b1d2afdfe9669579a80 WHIRLPOOL d0429cac40ced4c9004abec2c0fc057186e23b3d6f579851955ad94152c4819c9ccb77072d2a74d618cca73e313312023717f81e283abd54253641341c8b0dbb
+MISC metadata.xml 378 SHA256 c69320a17c0c1bafb1e860b0c37fd60b53fc0e53164905de92d62d5b03d0b22e SHA512 59142d265a66de58fd7022b57944b59a07c72112df2b839d55956e552b309a645af60a20c3e18577c2bd8cb369df2d4261051fdd90c776b3b9a60ae43ef16024 WHIRLPOOL d23bef559dda2af070e17a89b06b4658b1a84bf54804987a05442686dd709f47d148e3075f7f2edd719e915115463c10833514bc695a59c10390f585f843bd5c
Added: trunk/overlays/proaudio/media-sound/setbfree/files/setbfree-0.5.5/0001-multilib-strict.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/setbfree/files/setbfree-0.5.5/0001-multilib-strict.patch (rev 0)
+++ trunk/overlays/proaudio/media-sound/setbfree/files/setbfree-0.5.5/0001-multilib-strict.patch 2012-11-14 00:08:57 UTC (rev 2303)
@@ -0,0 +1,31 @@
+From b41ed2e7c12198c512cd9a4b7e7806e5e177d1c6 Mon Sep 17 00:00:00 2001
+From: "Gavin Pryke (gavlee)" <gavinlee303@xxxxxxxxxxxxxx>
+Date: Tue, 13 Nov 2012 15:00:57 +0000
+Subject: [PATCH 1/3] multilib strict
+
+---
+ common.mak | 3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/common.mak b/common.mak
+index 9bb7071..dfa5563 100644
+--- a/common.mak
++++ b/common.mak
+@@ -1,12 +1,13 @@
+ # TODO include this only once and export variables
+
+ PREFIX ?= /usr/local
++LIBDIR ?= lib
+ OPTIMIZATIONS ?= -msse -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer -O3 -fno-finite-math-only
+ ENABLE_CONVOLUTION ?= no
+
+ bindir = $(PREFIX)/bin
+ sharedir = $(PREFIX)/share/setBfree
+-lv2dir = $(PREFIX)/lib/lv2
++lv2dir = $(PREFIX)/$(LIBDIR)/lv2
+
+ CFLAGS = $(OPTIMIZATIONS) -Wall -fPIC
+ CFLAGS+= -DVERSION="\"$(VERSION)\""
+--
+1.7.8.6
+
Added: trunk/overlays/proaudio/media-sound/setbfree/files/setbfree-0.5.5/0002-respect-ldflags.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/setbfree/files/setbfree-0.5.5/0002-respect-ldflags.patch (rev 0)
+++ trunk/overlays/proaudio/media-sound/setbfree/files/setbfree-0.5.5/0002-respect-ldflags.patch 2012-11-14 00:08:57 UTC (rev 2303)
@@ -0,0 +1,67 @@
+From f892b639a10c739c41654eab86ccb2363462e65e Mon Sep 17 00:00:00 2001
+From: "Gavin Pryke (gavlee)" <gavinlee303@xxxxxxxxxxxxxx>
+Date: Tue, 13 Nov 2012 15:15:06 +0000
+Subject: [PATCH 2/3] respect ldflags
+
+---
+ b_overdrive/Makefile | 2 +-
+ b_reverb/Makefile | 2 +-
+ b_synth/Makefile | 2 +-
+ b_whirl/Makefile | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/b_overdrive/Makefile b/b_overdrive/Makefile
+index 7554982..4caea09 100644
+--- a/b_overdrive/Makefile
++++ b/b_overdrive/Makefile
+@@ -37,7 +37,7 @@ manifest.ttl:
+ sed "s/@LV2NAME@/$(LV2NAME)/;s/@LIB_EXT@/$(LIB_EXT)/" manifest.ttl.in > manifest.ttl
+
+ $(LV2NAME)$(LIB_EXT): lv2.c overdrive.o
+- $(CC) -o $(LV2NAME)$(LIB_EXT) $(CFLAGS) -shared -Wl,-Bstatic -Wl,-Bdynamic lv2.c overdrive.o
++ $(CC) $(LDFLAGS) -o $(LV2NAME)$(LIB_EXT) $(CFLAGS) -shared -Wl,-Bstatic -Wl,-Bdynamic lv2.c overdrive.o
+
+ overdrive.o: overmaker overdrive.h ../src/cfgParser.h ../src/midi.h
+ ./overmaker > overdrive.c
+diff --git a/b_reverb/Makefile b/b_reverb/Makefile
+index 1f5d9cd..959c646 100644
+--- a/b_reverb/Makefile
++++ b/b_reverb/Makefile
+@@ -18,7 +18,7 @@ manifest.ttl:
+ sed "s/@LV2NAME@/$(LV2NAME)/;s/@LIB_EXT@/$(LIB_EXT)/" manifest.ttl.in > manifest.ttl
+
+ $(LV2NAME)$(LIB_EXT): lv2.c reverb.o
+- $(CC) -o $(LV2NAME)$(LIB_EXT) $(CFLAGS) -shared -Wl,-Bstatic -Wl,-Bdynamic lv2.c reverb.o
++ $(CC) $(LDFLAGS) -o $(LV2NAME)$(LIB_EXT) $(CFLAGS) -shared -Wl,-Bstatic -Wl,-Bdynamic lv2.c reverb.o
+
+ %.o: %c %.h ../src/cfgParser.h
+
+diff --git a/b_synth/Makefile b/b_synth/Makefile
+index 1690ca0..734280c 100644
+--- a/b_synth/Makefile
++++ b/b_synth/Makefile
+@@ -33,7 +33,7 @@ manifest.ttl: manifest.ttl.in
+ sed "s/@LV2NAME@/$(LV2NAME)/;s/@LIB_EXT@/$(LIB_EXT)/" manifest.ttl.in > manifest.ttl
+
+ $(LV2NAME)$(LIB_EXT): lv2.c $(OBJ) ../src/cfgParser.h ../src/midi.h
+- $(CC) -o $(LV2NAME)$(LIB_EXT) $(CFLAGS) -shared -Wl,-Bstatic -Wl,-Bdynamic lv2.c $(OBJ)
++ $(CC) $(LDFLAGS) -o $(LV2NAME)$(LIB_EXT) $(CFLAGS) -shared -Wl,-Bstatic -Wl,-Bdynamic lv2.c $(OBJ)
+
+ %.o: %.c %.h
+ +$(MAKE) -C ../src $(subst ../src/,,$@)
+diff --git a/b_whirl/Makefile b/b_whirl/Makefile
+index c2a82e1..225b2b6 100644
+--- a/b_whirl/Makefile
++++ b/b_whirl/Makefile
+@@ -18,7 +18,7 @@ manifest.ttl:
+ sed "s/@LV2NAME@/$(LV2NAME)/;s/@LIB_EXT@/$(LIB_EXT)/" manifest.ttl.in > manifest.ttl
+
+ $(LV2NAME)$(LIB_EXT): lv2.c whirl.o eqcomp.o whirl.h eqcomp.h ../src/cfgParser.h
+- $(CC) -o $(LV2NAME)$(LIB_EXT) $(CFLAGS) -shared -Wl,-Bstatic -Wl,-Bdynamic lv2.c whirl.o eqcomp.o
++ $(CC) $(LDFLAGS) -o $(LV2NAME)$(LIB_EXT) $(CFLAGS) -shared -Wl,-Bstatic -Wl,-Bdynamic lv2.c whirl.o eqcomp.o
+
+ install: $(targets)
+ ifneq ($(strip $(LV2NAME)),)
+--
+1.7.8.6
+
Added: trunk/overlays/proaudio/media-sound/setbfree/files/setbfree-0.5.5/0003-cflags.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/setbfree/files/setbfree-0.5.5/0003-cflags.patch (rev 0)
+++ trunk/overlays/proaudio/media-sound/setbfree/files/setbfree-0.5.5/0003-cflags.patch 2012-11-14 00:08:57 UTC (rev 2303)
@@ -0,0 +1,36 @@
+From d77b6b533b7cb2e0441853a31ede7965e6755101 Mon Sep 17 00:00:00 2001
+From: "Gavin Pryke (gavlee)" <gavinlee303@xxxxxxxxxxxxxx>
+Date: Tue, 13 Nov 2012 22:00:34 +0000
+Subject: [PATCH 3/3] cflags
+
+---
+ common.mak | 5 ++---
+ 1 files changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/common.mak b/common.mak
+index dfa5563..421f813 100644
+--- a/common.mak
++++ b/common.mak
+@@ -2,17 +2,16 @@
+
+ PREFIX ?= /usr/local
+ LIBDIR ?= lib
+-OPTIMIZATIONS ?= -msse -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer -O3 -fno-finite-math-only
+ ENABLE_CONVOLUTION ?= no
+
+ bindir = $(PREFIX)/bin
+ sharedir = $(PREFIX)/share/setBfree
+ lv2dir = $(PREFIX)/$(LIBDIR)/lv2
+
+-CFLAGS = $(OPTIMIZATIONS) -Wall -fPIC
++CFLAGS+= -Wall -fPIC
+ CFLAGS+= -DVERSION="\"$(VERSION)\""
+
+-CXXFLAGS = $(OPTIMIZATIONS) -Wall
++CXXFLAGS += -Wall
+
+ # detect Tcl/Tk
+ TCLPREFIX=/usr /usr/local
+--
+1.7.8.6
+
Modified: trunk/overlays/proaudio/media-sound/setbfree/metadata.xml
===================================================================
(Binary files differ)
Added: trunk/overlays/proaudio/media-sound/setbfree/setbfree-0.5.5.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/setbfree/setbfree-0.5.5.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-sound/setbfree/setbfree-0.5.5.ebuild 2012-11-14 00:08:57 UTC (rev 2303)
@@ -0,0 +1,58 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit base toolchain-funcs multilib
+
+DESCRIPTION="MIDI controlled DSP tonewheel organ"
+HOMEPAGE="http://setbfree.org"
+SRC_URI="http://github.com/downloads/pantherb/setBfree/${P}.tar.gz"
+
+LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="convolution"
+
+RDEPEND="dev-lang/tcl
+ dev-lang/tk
+ media-sound/jack-audio-connection-kit
+ >=media-libs/alsa-lib-1.0.0
+ media-libs/liblo
+ media-libs/lv2
+ convolution? ( media-libs/libsndfile
+ >=media-libs/zita-convolver-3.1.0 )"
+DEPEND="${RDEPEND}
+ sys-apps/help2man
+ virtual/pkgconfig"
+
+RESTRICT="mirror"
+
+DOCS=(ChangeLog README.md)
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}/*.patch
+ base_src_prepare
+}
+
+src_compile() {
+ tc-export CC CXX
+ base_src_make PREFIX="${EPREFIX}"/usr \
+ $(use convolution && echo "ENABLE_CONVOLUTION=yes")
+}
+
+src_install() {
+ base_src_install $(use convolution && echo "ENABLE_CONVOLUTION=yes") \
+ PREFIX="${EPREFIX}"/usr LIBDIR="$(get_libdir)"
+
+ doman doc/*.1
+
+ insinto /usr/share/pixmaps
+ doins doc/setBfree.png
+
+ make_desktop_entry setBfree-start setBfree setBfree "AudioVideo;Audio;"
+}
+
+pkg_postinst() {
+ einfo "Use setBfree-start to run setBfree"
+}
Modified: trunk/overlays/proaudio/media-sound/setbfree/setbfree-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/setbfree/setbfree-9999.ebuild 2012-11-13 22:49:42 UTC (rev 2302)
+++ trunk/overlays/proaudio/media-sound/setbfree/setbfree-9999.ebuild 2012-11-14 00:08:57 UTC (rev 2303)
@@ -1,59 +1,56 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/bristol/bristol-0.60.10.ebuild,v 1.1 2012/06/30 05:54:41 radhermit Exp $
+# $Header: $
-EAPI="4"
+EAPI=4
+inherit base toolchain-funcs multilib git-2
-inherit eutils git-2
-
DESCRIPTION="MIDI controlled DSP tonewheel organ"
HOMEPAGE="http://setbfree.org"
EGIT_REPO_URI="https://github.com/pantherb/setBfree.git"
-LICENSE="GPL-2
- CCPL-Attribution-ShareAlike-3.0"
+LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
KEYWORDS=""
-IUSE="-convolution -custom-cflags"
+IUSE="convolution"
-RDEPEND="media-sound/jack-audio-connection-kit
+RDEPEND="dev-lang/tcl
+ dev-lang/tk
+ media-sound/jack-audio-connection-kit
>=media-libs/alsa-lib-1.0.0
media-libs/liblo
media-libs/lv2
convolution? ( media-libs/libsndfile
- media-libs/zita-convolver )
- dev-lang/tcl
- dev-lang/tk"
-DEPEND="${RDEPEND}"
+ >=media-libs/zita-convolver-3.1.0 )"
+DEPEND="${RDEPEND}
+ sys-apps/help2man
+ virtual/pkgconfig"
-DOCS=( ChangeLog README.md )
+DOCS=(ChangeLog README.md)
-my_conf=""
-if use convolution ; then
- my_conf="ENABLE_CONVOLUTION=yes"
-fi
-
src_prepare() {
- emake clean
+ epatch "${FILESDIR}"/${PN}-0.5.5/*.patch
+ base_src_prepare
}
src_compile() {
- if ! use custom-cflags ; then
- my_opts="OPTIMIZATIONS=${CFLAGS}"
- fi
-
- make ${my_conf} PREFIX=/usr "${my_opts}"
+ tc-export CC CXX
+ base_src_make PREFIX="${EPREFIX}"/usr \
+ $(use convolution && echo "ENABLE_CONVOLUTION=yes")
}
src_install() {
- make install ${my_conf} DESTDIR=${D} PREFIX=/usr
+ base_src_install $(use convolution && echo "ENABLE_CONVOLUTION=yes") \
+ PREFIX="${EPREFIX}"/usr LIBDIR="$(get_libdir)"
+
doman doc/*.1
- insinto /usr/share/applications
- doins "$FILESDIR"/setbfree.desktop
+
insinto /usr/share/pixmaps
doins doc/setBfree.png
+
+ make_desktop_entry setBfree-start setBfree setBfree "AudioVideo;Audio;"
}
pkg_postinst() {
-einfo "Use setBfree-start to run setBfree"
+ einfo "Use setBfree-start to run setBfree"
}