Skip to content

Commit

Permalink
midipp: Prepare for the desktop world.
Browse files Browse the repository at this point in the history
  • Loading branch information
hselasky committed Jun 21, 2011
1 parent df18bbd commit 9210daf
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 0 deletions.
59 changes: 59 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#
# Copyright (c) 2011 Hans Petter Selasky. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
#
# Makefile for MIDI Player Pro
#

VERSION=1.0.0

help:
@echo "Targets are: all, install, clean, package, help"

all:
qmake-qt4 -spec freebsd-g++ -o Makefile.unix midipp.pro

make -f Makefile.unix -j2 all

install:
make -f Makefile.unix install

clean:
make -f Makefile.unix clean || echo -n

package: clean

tar -cvf temp.tar --exclude="*~" --exclude="*#" \
--exclude=".svn" --exclude="*.orig" --exclude="*.rej" \
Makefile midipp*.cpp midipp*.h midipp*.png midipp*.desktop

rm -rf midipp-${VERSION}

mkdir midipp-${VERSION}

tar -xvf temp.tar -C midipp-${VERSION}

rm -rf temp.tar

tar -jcvf midipp-${VERSION}.tar.bz2 midipp-${VERSION}
9 changes: 9 additions & 0 deletions midipp.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Name=MIDI Player Pro
Comment=MIDI playback and recording software
Exec=midipp
Icon=midipp
Categories=AudioVideo;Audio;Midi;
Terminal=false
Type=Application

Binary file added midipp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9210daf

Please sign in to comment.