From c48c4b68226bba6f79fdbad07ea850a615a559ec Mon Sep 17 00:00:00 2001 From: Cédric Krier Date: Wed, 6 Sep 2006 10:28:07 +0000 Subject: net-p2p/mute: New Ebuild for bug #60392 thanks to Sébastien Cérèze MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/sunrise/; revision=1156 --- net-p2p/mute/files/MUTE | 21 ++++++++++++++++ net-p2p/mute/files/digest-mute-0.5 | 3 +++ net-p2p/mute/files/mute-0.5-configure.patch | 29 ++++++++++++++++++++++ net-p2p/mute/files/mute-0.5-makefile.patch | 38 +++++++++++++++++++++++++++++ 4 files changed, 91 insertions(+) create mode 100644 net-p2p/mute/files/MUTE create mode 100644 net-p2p/mute/files/digest-mute-0.5 create mode 100644 net-p2p/mute/files/mute-0.5-configure.patch create mode 100644 net-p2p/mute/files/mute-0.5-makefile.patch (limited to 'net-p2p/mute/files') diff --git a/net-p2p/mute/files/MUTE b/net-p2p/mute/files/MUTE new file mode 100644 index 000000000..0ef4c47f7 --- /dev/null +++ b/net-p2p/mute/files/MUTE @@ -0,0 +1,21 @@ +#!/bin/sh + +if [ ! -d "$HOME/.mute" ]; then + mkdir -p "${HOME}/.mute" + cp -r /etc/mute/settings "${HOME}/.mute" + ln -s /etc/mute/languages "${HOME}/.mute" + mkdir -p "${HOME}/.mute/files" +fi + +cd "${HOME}/.mute" +DIR=`dirname $0` +FILE=${0#${DIR}/} + +case "${FILE}" in + "MUTE") + /usr/share/mute/textFileSharingMUTE $@ + ;; + "wxMUTE") + /usr/share/mute/fileSharingMUTE $@ + ;; +esac diff --git a/net-p2p/mute/files/digest-mute-0.5 b/net-p2p/mute/files/digest-mute-0.5 new file mode 100644 index 000000000..b99083079 --- /dev/null +++ b/net-p2p/mute/files/digest-mute-0.5 @@ -0,0 +1,3 @@ +MD5 34e65407b42d67626642124f50e13687 MUTE_fileSharing-0.5_UnixSource.tar.gz 717833 +RMD160 5c0f534d80c1c38551d715597a2b76602552563e MUTE_fileSharing-0.5_UnixSource.tar.gz 717833 +SHA256 13091fb3899549f5f4fd7cc2382c53b6560762025b25df858aca37e96b2646b3 MUTE_fileSharing-0.5_UnixSource.tar.gz 717833 diff --git a/net-p2p/mute/files/mute-0.5-configure.patch b/net-p2p/mute/files/mute-0.5-configure.patch new file mode 100644 index 000000000..44084321a --- /dev/null +++ b/net-p2p/mute/files/mute-0.5-configure.patch @@ -0,0 +1,29 @@ +--- MUTE_fileSharing-0.5_UnixSource~/MUTE/configure 2006-09-04 11:54:51.000000000 +0200 ++++ MUTE_fileSharing-0.5_UnixSource/MUTE/configure 2006-09-04 11:56:24.000000000 +0200 +@@ -41,7 +41,6 @@ + # templates. + # + +- + while [ -z "$userEntry" ] + do + echo "select platform:" +@@ -57,7 +56,8 @@ + echo "" + echo -n "> " + +- read userEntry ++# read userEntry ++ userEntry=1 + + + if [ "$userEntry" = "q" ] +@@ -359,7 +359,7 @@ + echo "" + echo -n "> " + +-read userEntry ++#read userEntry + + + if [ "$userEntry" = "" ] diff --git a/net-p2p/mute/files/mute-0.5-makefile.patch b/net-p2p/mute/files/mute-0.5-makefile.patch new file mode 100644 index 000000000..2682d57ae --- /dev/null +++ b/net-p2p/mute/files/mute-0.5-makefile.patch @@ -0,0 +1,38 @@ +diff -ru MUTE_fileSharing-0.5_UnixSource~/MUTE/Makefile.common MUTE_fileSharing-0.5_UnixSource/MUTE/Makefile.common +--- MUTE_fileSharing-0.5_UnixSource~/MUTE/Makefile.common 2006-09-04 11:54:51.000000000 +0200 ++++ MUTE_fileSharing-0.5_UnixSource/MUTE/Makefile.common 2006-09-04 19:32:46.000000000 +0200 +@@ -37,8 +37,9 @@ + + + ++CXXFLAGS ?= ++COMPILE_FLAGS = -Wall ${CXXFLAGS} ${DEBUG_FLAG} ${PLATFORM_COMPILE_FLAGS} ${PROFILE_FLAG} + +-COMPILE_FLAGS = -Wall ${DEBUG_FLAG} ${PLATFORM_COMPILE_FLAGS} ${PROFILE_FLAG} + + + COMPILE = ${GXX} ${COMPILE_FLAGS} -c +diff -ru MUTE_fileSharing-0.5_UnixSource~/MUTE/Makefile.GnuLinuxX86 MUTE_fileSharing-0.5_UnixSource/MUTE/Makefile.GnuLinuxX86 +--- MUTE_fileSharing-0.5_UnixSource~/MUTE/Makefile.GnuLinuxX86 2006-09-04 11:54:51.000000000 +0200 ++++ MUTE_fileSharing-0.5_UnixSource/MUTE/Makefile.GnuLinuxX86 2006-09-04 12:02:50.000000000 +0200 +@@ -22,7 +22,7 @@ + + + # All platforms but OSX support g++ and need no linker hacks +-GXX=g++ ++GXX?=g++ + LINK_FLAGS = + + +diff -ru MUTE_fileSharing-0.5_UnixSource~/MUTE/otherApps/fileSharing/userInterface/wxWindows/Makefile.all MUTE_fileSharing-0.5_UnixSource/MUTE/otherApps/fileSharing/userInterface/wxWindows/Makefile.all +--- MUTE_fileSharing-0.5_UnixSource~/MUTE/otherApps/fileSharing/userInterface/wxWindows/Makefile.all 2006-09-04 11:54:51.000000000 +0200 ++++ MUTE_fileSharing-0.5_UnixSource/MUTE/otherApps/fileSharing/userInterface/wxWindows/Makefile.all 2006-09-04 20:23:38.000000000 +0200 +@@ -47,6 +47,8 @@ + + ROOT_PATH = ../../../../.. + ++WX_CONFIG?="/usr/bin/wx-config" ++WX_CONFIG_LOCATION=${WX_CONFIG} + WX_LIBS = $(shell ${WX_CONFIG_LOCATION} --libs) + WX_COMPILE_FLAGS = $(shell ${WX_CONFIG_LOCATION} --cxxflags) + -- cgit v1.2.3-65-gdbad