add initial mp3splt-gtk exheres
This commit is contained in:
parent
3a69190595
commit
b3bfe89aa7
3 changed files with 79 additions and 0 deletions
|
@ -6,6 +6,7 @@ dev-libs
|
|||
dev-lua
|
||||
dev-util
|
||||
games-strategy
|
||||
media-sound
|
||||
net
|
||||
net-dns
|
||||
sys-apps
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
Reason: avoid unnecessary generation of documentation if not wanted
|
||||
Source: Daniel Mierswa <impulze@impulze.org>
|
||||
Upstream: no
|
||||
|
||||
diff -Naur mp3splt-gtk-0.7.orig/configure.ac mp3splt-gtk-0.7/configure.ac
|
||||
--- mp3splt-gtk-0.7.orig/configure.ac 2011-07-14 12:45:21.000000000 +0200
|
||||
+++ mp3splt-gtk-0.7/configure.ac 2011-08-28 00:15:07.000000000 +0200
|
||||
@@ -221,16 +221,31 @@
|
||||
# (but only if doxygen is installed)
|
||||
#################################################
|
||||
|
||||
+AC_ARG_ENABLE(doxygen, [AC_HELP_STRING([--disable-doxygen],[ Disable documentation generation. ]) ],
|
||||
+ [enable_doxygen=$enableval],[enable_doxygen="yes"])
|
||||
+
|
||||
# Check for doxygen, so we can decide if we add it to the "doc"
|
||||
# make target.
|
||||
+
|
||||
+if test "x$enable_doxygen" = xyes;then
|
||||
+
|
||||
AC_PATH_PROG([DOXYGEN],[doxygen])
|
||||
+
|
||||
+fi
|
||||
+
|
||||
AC_ARG_VAR(DOXYGEN,
|
||||
[Location of the 'doxygen' program; if found we can generate documentation for the C code])
|
||||
AM_CONDITIONAL(HAVE_DOXYGEN, [ test "x$DOXYGEN" != "x" ])
|
||||
|
||||
# Check for dot, the tool that makes the nice little caller graphs for the
|
||||
# doxygen documentation.
|
||||
+
|
||||
+if test "x$enable_doxygen" = xyes;then
|
||||
+
|
||||
AC_PATH_PROG([GRAPHVIZ],[dot])
|
||||
+
|
||||
+fi
|
||||
+
|
||||
AC_ARG_VAR(GRAPHVIZ,
|
||||
[Location of the 'dot' program from the graphviz suite; if found we can generate caller graphs for the documentation of the C code])
|
||||
AM_CONDITIONAL(HAVE_GRAPHVIZ, [ test "x$GRAPHVIZ" != "x" ])
|
39
packages/media-sound/mp3splt-gtk/mp3splt-gtk-0.7.exheres-0
Normal file
39
packages/media-sound/mp3splt-gtk/mp3splt-gtk-0.7.exheres-0
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Copyright 2011 Daniel Mierswa <impulze@impulze.org>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
AT_M4DIR=( m4 )
|
||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.11 ] ]
|
||||
require sourceforge [ project=mp3splt suffix=tar.gz ]
|
||||
|
||||
SUMMARY="A tactical role-playing game. Third game of the Jagged Alliance series."
|
||||
DESCRIPTION="GTK+ based mp3 and ogg splitter"
|
||||
LICENCES="GPL-2"
|
||||
SLOT="0"
|
||||
PLATFORMS="~x86"
|
||||
|
||||
MYOPTIONS="doc"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
app-doc/graphviz
|
||||
)
|
||||
build+run:
|
||||
media-libs/libmp3splt[>=0.7]
|
||||
x11-libs/gtk+:2[>=2.12.0]
|
||||
"
|
||||
|
||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||
"${FILES}"/mp3splt-gtk-0.7-make_doc_generation_optional.patch
|
||||
)
|
||||
|
||||
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( 'doc doxygen' )
|
||||
|
||||
DEFAULT_SRC_CONFIGURE_PARAMS=(
|
||||
'--disable-gnome'
|
||||
'--disable-audacious'
|
||||
'--disable-gstreamer'
|
||||
)
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue