aboutsummaryrefslogtreecommitdiff
path: root/media/libs
diff options
context:
space:
mode:
authorrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2008-09-03 03:48:23 +0000
committerrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2008-09-03 03:48:23 +0000
commitf067192c38e4af6208b1f35a76f0c952266869f8 (patch)
treed9c6bd428c3bb07de33ec0679d9b25d26d7fd202 /media/libs
parent36765ff8fda0ca2f697346e2df6992cd418a1638 (diff)
downloadmkbuilds-f067192c38e4af6208b1f35a76f0c952266869f8.tar.gz
mkbuilds-f067192c38e4af6208b1f35a76f0c952266869f8.tar.bz2
merging with changes made since 21th May
git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@233 18ef50b8-d735-4ccd-97c1-689132df3dd9
Diffstat (limited to 'media/libs')
-rw-r--r--media/libs/aubio/aubio.mkbuild96
-rw-r--r--media/libs/edje/edje.mkbuild117
-rw-r--r--media/libs/efreet/efreet.mkbuild117
-rw-r--r--media/libs/embryo/embryo.mkbuild117
-rw-r--r--media/libs/emotion/emotion.mkbuild117
-rw-r--r--media/libs/faad2/faad2-2.0.diff25
-rw-r--r--media/libs/faad2/faad2-2.6.1.diff1040
-rw-r--r--media/libs/faad2/faad2.mkbuild102
-rw-r--r--media/libs/glitz/glitz.mkbuild92
-rw-r--r--media/libs/gst-ffmpeg/gst-ffmpeg.mkbuild175
-rw-r--r--media/libs/gst-plugins-bad/gst-plugins-bad.mkbuild169
-rw-r--r--media/libs/gst-plugins-base/gst-plugins-base.mkbuild169
-rw-r--r--media/libs/gst-plugins-good/gst-plugins-good.mkbuild169
-rw-r--r--media/libs/gst-plugins-ugly/gst-plugins-ugly.mkbuild169
-rw-r--r--media/libs/gstreamer/gstreamer.mkbuild169
-rw-r--r--media/libs/ilmbase/ilmbase.mkbuild92
-rw-r--r--media/libs/imlib2/imlib2.mkbuild167
-rw-r--r--media/libs/ladspa/ladspa.mkbuild144
-rw-r--r--media/libs/libdv/libdv-0.104.diff1383
-rw-r--r--media/libs/libdv/libdv.mkbuild92
-rw-r--r--media/libs/libdvbpsi/libdvbpsi.mkbuild169
-rw-r--r--media/libs/libexif-gtk/libexif-gtk.mkbuild95
-rw-r--r--media/libs/libiec61883/libiec61883.mkbuild101
-rw-r--r--media/libs/libjackasyn/libjackasyn.mkbuild95
-rw-r--r--media/libs/liblo/liblo.mkbuild92
-rw-r--r--media/libs/liblrdf/liblrdf.mkbuild95
-rw-r--r--media/libs/libquicktime/libquicktime-0.9.10.diff30
-rw-r--r--media/libs/libquicktime/libquicktime.mkbuild98
-rw-r--r--media/libs/libsamplerate/libsamplerate.mkbuild92
-rw-r--r--media/libs/libsndfile/libsndfile.mkbuild97
-rw-r--r--media/libs/libx264/libx264.mkbuild122
-rw-r--r--media/libs/openexr/openexr.mkbuild98
-rw-r--r--media/libs/raptor/raptor.mkbuild98
-rw-r--r--media/libs/speex/speex.mkbuild92
-rw-r--r--media/libs/unicap/unicap.mkbuild169
-rw-r--r--media/libs/xine-lib/xine-lib.mkbuild160
-rw-r--r--media/libs/zvbi/zvbi.mkbuild167
37 files changed, 6591 insertions, 0 deletions
diff --git a/media/libs/aubio/aubio.mkbuild b/media/libs/aubio/aubio.mkbuild
new file mode 100644
index 0000000..5770112
--- /dev/null
+++ b/media/libs/aubio/aubio.mkbuild
@@ -0,0 +1,96 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://aubio.org/pub/aubio-0.3.2.tar.gz"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]=""
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/aubio"
+
+# Dependency list
+# Lash and PureData are optional dependencies
+[[SLACK REQUIRED]]="fftw: jack: swig: libsamplerate"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+aubio: aubio (library for audio labelling)
+aubio:
+aubio: aubio is a library for audio labelling. Its features include
+aubio: segmenting a sound file before each of its attacks, performing pitch
+aubio: detection, tapping the beat and producing midi streams from live audio.
+aubio: The name aubio comes from 'audio' with a typo: several transcription
+aubio: errors are likely to be found in the results too.
+aubio:
+aubio:
+aubio:
+aubio:
+#<slackdesc
diff --git a/media/libs/edje/edje.mkbuild b/media/libs/edje/edje.mkbuild
new file mode 100644
index 0000000..4726932
--- /dev/null
+++ b/media/libs/edje/edje.mkbuild
@@ -0,0 +1,117 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://svn.enlightenment.org/svn/e/trunk/edje"
+
+# Package name
+[[PACKAGE NAME]]="edje"
+
+# Source base name
+[[SOURCE NAME]]="edje"
+
+#
+# PKG_NAME version
+[[VERSION]]="svn_version"
+
+#
+# Dependency list input
+[[SLACK REQUIRED]]="eet: evas: ecore: efreet: embryo"
+
+#
+# Documentation files
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO BUGS"
+
+#
+# Other configure arguments
+[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/edje"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+off: download_source
+ on: svn_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+off: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+edje: edje
+edje:
+edje: A graphical layout and animation library for animated resizable,
+edje: compressed and scalable themes.
+edje:
+edje:
+edje:
+edje:
+edje:
+edje:
+edje:
+#<slackdesc
+
+#p>
+ # Configure
++./autogen.sh || exit $ERROR_CONF
+#p<
diff --git a/media/libs/efreet/efreet.mkbuild b/media/libs/efreet/efreet.mkbuild
new file mode 100644
index 0000000..7617341
--- /dev/null
+++ b/media/libs/efreet/efreet.mkbuild
@@ -0,0 +1,117 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://svn.enlightenment.org/svn/e/trunk/efreet"
+
+# Package name
+[[PACKAGE NAME]]="efreet"
+
+# Source base name
+[[SOURCE NAME]]="efreet"
+
+#
+# PKG_NAME version
+[[VERSION]]="svn_version"
+
+#
+# Dependency list input
+[[SLACK REQUIRED]]="eet: evas: ecore"
+
+#
+# Documentation files
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO BUGS"
+
+#
+# Other configure arguments
+[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/efreet"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+off: download_source
+ on: svn_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+off: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+efreet: efreet
+efreet:
+efreet: library for handling of freedesktop.org specs.
+efreet:
+efreet:
+efreet:
+efreet:
+efreet:
+efreet:
+efreet:
+efreet:
+#<slackdesc
+
+#p>
+ # Configure
++./autogen.sh || exit $ERROR_CONF
+#p<
diff --git a/media/libs/embryo/embryo.mkbuild b/media/libs/embryo/embryo.mkbuild
new file mode 100644
index 0000000..b4692ad
--- /dev/null
+++ b/media/libs/embryo/embryo.mkbuild
@@ -0,0 +1,117 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://svn.enlightenment.org/svn/e/trunk/embryo"
+
+# Package name
+[[PACKAGE NAME]]="embryo"
+
+# Source base name
+[[SOURCE NAME]]="embryo"
+
+#
+# PKG_NAME version
+[[VERSION]]="svn_version"
+
+#
+# Dependency list input
+[[SLACK REQUIRED]]="eet: evas: ecore: efreet"
+
+#
+# Documentation files
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO BUGS"
+
+#
+# Other configure arguments
+[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/embryo"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+off: download_source
+ on: svn_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+off: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+embryo: embryo
+embryo:
+embryo: Embryo is primarily a shared library that gives you an API to load and control
+embryo: interpreted programs compiled into an abstract machine bytecode that it
+embryo: understands. This abstract (or virtual) machine is similar to a real machine
+embryo: with a CPU, but it is emulated in software.
+embryo:
+embryo:
+embryo:
+embryo:
+embryo:
+#<slackdesc
+
+#p>
+ # Configure
++./autogen.sh || exit $ERROR_CONF
+#p<
diff --git a/media/libs/emotion/emotion.mkbuild b/media/libs/emotion/emotion.mkbuild
new file mode 100644
index 0000000..509d3a8
--- /dev/null
+++ b/media/libs/emotion/emotion.mkbuild
@@ -0,0 +1,117 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://svn.enlightenment.org/svn/e/trunk/emotion"
+
+# Package name
+[[PACKAGE NAME]]="emotion"
+
+# Source base name
+[[SOURCE NAME]]="emotion"
+
+#
+# PKG_NAME version
+[[VERSION]]="svn_version"
+
+#
+# Dependency list input
+[[SLACK REQUIRED]]="ecore"
+
+#
+# Documentation files
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO BUGS"
+
+#
+# Other configure arguments
+[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/emotion"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+off: download_source
+ on: svn_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+off: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+emotion: emotion
+emotion:
+emotion: A media object library for Evas and Ecore
+emotion:
+emotion:
+emotion:
+emotion:
+emotion:
+emotion:
+emotion:
+emotion:
+#<slackdesc
+
+#p>
+ # Configure
++./autogen.sh || exit $ERROR_CONF
+#p<
diff --git a/media/libs/faad2/faad2-2.0.diff b/media/libs/faad2/faad2-2.0.diff
new file mode 100644
index 0000000..56012ff
--- /dev/null
+++ b/media/libs/faad2/faad2-2.0.diff
@@ -0,0 +1,25 @@
+--- Makefile.orig 2006-10-05 04:47:27.000000000 -0300
++++ Makefile 2006-10-05 04:47:57.000000000 -0300
+@@ -624,10 +624,6 @@
+ tags tags-recursive uninstall uninstall-am uninstall-info-am
+
+
+-rpm: Makefile
+- make dist
+- $(RPMBUILD) -ta $(PACKAGE)-$(VERSION).tar.gz
+- rm $(PACKAGE)-$(VERSION).tar.gz
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+
+--- common/mp4ff/mp4ffint.h 2005-02-12 23:38:28.828890793 -0500
++++ common/mp4ff/mp4ffint.h 2005-02-12 23:41:01.618473068 -0500
+@@ -301,7 +301,7 @@
+ mp4ff_t *mp4ff_open_edit(mp4ff_callback_t *f);
+ #endif
+ void mp4ff_close(mp4ff_t *ff);
+-void mp4ff_track_add(mp4ff_t *f);
++static void mp4ff_track_add(mp4ff_t *f);
+ int32_t parse_sub_atoms(mp4ff_t *f, const uint64_t total_size);
+ int32_t parse_atoms(mp4ff_t *f);
+
diff --git a/media/libs/faad2/faad2-2.6.1.diff b/media/libs/faad2/faad2-2.6.1.diff
new file mode 100644
index 0000000..bb24616
--- /dev/null
+++ b/media/libs/faad2/faad2-2.6.1.diff
@@ -0,0 +1,1040 @@
+diff -urNad faad2-svn~/include/neaacdec.h faad2-svn/include/neaacdec.h
+--- faad2-svn~/include/neaacdec.h 2007-11-28 23:28:14.000000000 +0000
++++ faad2-svn/include/neaacdec.h 2007-11-28 23:29:27.000000000 +0000
+@@ -35,6 +35,7 @@
+ extern "C" {
+ #endif /* __cplusplus */
+
++#include <stdint.h>
+
+ #if 1
+ /* MACROS FOR BACKWARDS COMPATIBILITY */
+@@ -197,51 +198,51 @@
+ unsigned char ps;
+ } NeAACDecFrameInfo;
+
+-char* NEAACDECAPI NeAACDecGetErrorMessage(unsigned char errcode);
++int8_t* NEAACDECAPI NeAACDecGetErrorMessage(uint8_t errcode);
+
+-unsigned long NEAACDECAPI NeAACDecGetCapabilities(void);
++uint32_t NEAACDECAPI NeAACDecGetCapabilities(void);
+
+ NeAACDecHandle NEAACDECAPI NeAACDecOpen(void);
+
+ NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder);
+
+-unsigned char NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hDecoder,
++uint8_t NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hDecoder,
+ NeAACDecConfigurationPtr config);
+
+ /* Init the library based on info from the AAC file (ADTS/ADIF) */
+-long NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder,
+- unsigned char *buffer,
+- unsigned long buffer_size,
+- unsigned long *samplerate,
+- unsigned char *channels);
++int32_t NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder,
++ uint8_t *buffer,
++ uint32_t buffer_size,
++ uint32_t *samplerate,
++ uint8_t *channels);
+
+ /* Init the library using a DecoderSpecificInfo */
+-char NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, unsigned char *pBuffer,
+- unsigned long SizeOfDecoderSpecificInfo,
+- unsigned long *samplerate, unsigned char *channels);
++int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, unsigned char *pBuffer,
++ uint32_t SizeOfDecoderSpecificInfo,
++ uint32_t *samplerate, uint8_t *channels);
+
+ /* Init the library for DRM */
+-char NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, unsigned long samplerate,
+- unsigned char channels);
++int8_t NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, uint32_t samplerate,
++ uint8_t channels);
+
+-void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, long frame);
++void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, int32_t frame);
+
+ void NEAACDECAPI NeAACDecClose(NeAACDecHandle hDecoder);
+
+ void* NEAACDECAPI NeAACDecDecode(NeAACDecHandle hDecoder,
+ NeAACDecFrameInfo *hInfo,
+- unsigned char *buffer,
+- unsigned long buffer_size);
++ uint8_t *buffer,
++ uint32_t buffer_size);
+
+ void* NEAACDECAPI NeAACDecDecode2(NeAACDecHandle hDecoder,
+ NeAACDecFrameInfo *hInfo,
+- unsigned char *buffer,
+- unsigned long buffer_size,
++ uint8_t *buffer,
++ uint32_t buffer_size,
+ void **sample_buffer,
+- unsigned long sample_buffer_size);
++ uint32_t sample_buffer_size);
+
+-char NEAACDECAPI NeAACDecAudioSpecificConfig(unsigned char *pBuffer,
+- unsigned long buffer_size,
++int8_t NEAACDECAPI NeAACDecAudioSpecificConfig(uint8_t *pBuffer,
++ uint32_t buffer_size,
+ mp4AudioSpecificConfig *mp4ASC);
+
+ #ifdef _WIN32
+diff -urNad faad2-svn~/libfaad/Makefile.am faad2-svn/libfaad/Makefile.am
+--- faad2-svn~/libfaad/Makefile.am 2007-11-28 23:28:14.000000000 +0000
++++ faad2-svn/libfaad/Makefile.am 2007-11-28 23:31:03.000000000 +0000
+@@ -1,28 +1,29 @@
+ lib_LTLIBRARIES = libfaad.la
+
++AM_CFLAGS = -iquote $(top_srcdir)/include
+ include_HEADERS = $(top_srcdir)/include/faad.h \
+- $(top_srcdir)/include/neaacdec.h
++ $(top_srcdir)/include/neaacdec.h
+
+ libfaad_la_LDFLAGS = -lm
+
+ libfaad_la_SOURCES = bits.c cfft.c decoder.c drc.c \
+-drm_dec.c error.c filtbank.c \
+-ic_predict.c is.c lt_predict.c mdct.c mp4.c ms.c output.c pns.c \
+-ps_dec.c ps_syntax.c \
+-pulse.c specrec.c syntax.c tns.c hcr.c huffman.c \
+-rvlc.c ssr.c ssr_fb.c ssr_ipqf.c common.c \
+-sbr_dct.c sbr_e_nf.c sbr_fbt.c sbr_hfadj.c sbr_hfgen.c \
+-sbr_huff.c sbr_qmf.c sbr_syntax.c sbr_tf_grid.c sbr_dec.c \
+-analysis.h bits.h cfft.h cfft_tab.h common.h \
+-decoder.h drc.h drm_dec.h error.h fixed.h filtbank.h \
+-huffman.h ic_predict.h iq_table.h is.h kbd_win.h lt_predict.h \
+-mdct.h mdct_tab.h mp4.h ms.h output.h pns.h ps_dec.h ps_tables.h \
+-pulse.h rvlc.h \
+-sbr_dct.h sbr_dec.h sbr_e_nf.h sbr_fbt.h sbr_hfadj.h sbr_hfgen.h \
+-sbr_huff.h sbr_noise.h sbr_qmf.h sbr_syntax.h sbr_tf_grid.h \
+-sine_win.h specrec.h ssr.h ssr_fb.h ssr_ipqf.h \
+-ssr_win.h syntax.h structs.h tns.h \
+-sbr_qmf_c.h codebook/hcb.h \
+-codebook/hcb_1.h codebook/hcb_2.h codebook/hcb_3.h codebook/hcb_4.h \
+-codebook/hcb_5.h codebook/hcb_6.h codebook/hcb_7.h codebook/hcb_8.h \
+-codebook/hcb_9.h codebook/hcb_10.h codebook/hcb_11.h codebook/hcb_sf.h
+\ No newline at end of file
++ drm_dec.c error.c filtbank.c \
++ ic_predict.c is.c lt_predict.c mdct.c mp4.c ms.c output.c pns.c \
++ ps_dec.c ps_syntax.c \
++ pulse.c specrec.c syntax.c tns.c hcr.c huffman.c \
++ rvlc.c ssr.c ssr_fb.c ssr_ipqf.c common.c \
++ sbr_dct.c sbr_e_nf.c sbr_fbt.c sbr_hfadj.c sbr_hfgen.c \
++ sbr_huff.c sbr_qmf.c sbr_syntax.c sbr_tf_grid.c sbr_dec.c \
++ analysis.h bits.h cfft.h cfft_tab.h common.h \
++ decoder.h drc.h drm_dec.h error.h fixed.h filtbank.h \
++ huffman.h ic_predict.h iq_table.h is.h kbd_win.h lt_predict.h \
++ mdct.h mdct_tab.h mp4.h ms.h output.h pns.h ps_dec.h ps_tables.h \
++ pulse.h rvlc.h \
++ sbr_dct.h sbr_dec.h sbr_e_nf.h sbr_fbt.h sbr_hfadj.h sbr_hfgen.h \
++ sbr_huff.h sbr_noise.h sbr_qmf.h sbr_syntax.h sbr_tf_grid.h \
++ sine_win.h specrec.h ssr.h ssr_fb.h ssr_ipqf.h \
++ ssr_win.h syntax.h structs.h tns.h \
++ sbr_qmf_c.h codebook/hcb.h \
++ codebook/hcb_1.h codebook/hcb_2.h codebook/hcb_3.h codebook/hcb_4.h \
++ codebook/hcb_5.h codebook/hcb_6.h codebook/hcb_7.h codebook/hcb_8.h \
++ codebook/hcb_9.h codebook/hcb_10.h codebook/hcb_11.h codebook/hcb_sf.h
+diff -urNad faad2-svn~/libfaad/common.h faad2-svn/libfaad/common.h
+--- faad2-svn~/libfaad/common.h 2007-11-28 23:28:14.000000000 +0000
++++ faad2-svn/libfaad/common.h 2007-11-28 23:29:27.000000000 +0000
+@@ -39,6 +39,8 @@
+ # include "../config.h"
+ #endif
+
++#include "neaacdec.h"
++
+ #if 1
+ #define INLINE __inline
+ #else
+@@ -210,7 +212,7 @@
+ #else
+ # if HAVE_STDINT_H
+ # include <stdint.h>
+-# else
++# else /* !HAVE_STDINT_H */
+ /* we need these... */
+ #ifndef __TCS__
+ typedef unsigned long long uint64_t;
+@@ -225,7 +227,7 @@
+ typedef long int32_t;
+ typedef short int16_t;
+ typedef char int8_t;
+-# endif
++# endif /* !HAVE_STDINT_H */
+ #endif
+ #if HAVE_UNISTD_H
+ //# include <unistd.h>
+diff -urNad faad2-svn~/libfaad/decoder.c faad2-svn/libfaad/decoder.c
+--- faad2-svn~/libfaad/decoder.c 2007-11-28 23:28:14.000000000 +0000
++++ faad2-svn/libfaad/decoder.c 2007-11-28 23:29:27.000000000 +0000
+@@ -34,7 +34,6 @@
+ #include <stdlib.h>
+ #include <string.h>
+
+-#include "decoder.h"
+ #include "mp4.h"
+ #include "syntax.h"
+ #include "error.h"
+@@ -54,13 +53,13 @@
+ #endif
+
+ /* static function declarations */
+-static void* aac_frame_decode(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo,
++static void* aac_frame_decode(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo,
+ uint8_t *buffer, uint32_t buffer_size,
+ void **sample_buffer, uint32_t sample_buffer_size);
+-static void create_channel_config(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo);
++static void create_channel_config(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo);
+
+
+-char* NEAACDECAPI NeAACDecGetErrorMessage(uint8_t errcode)
++int8_t* NEAACDECAPI NeAACDecGetErrorMessage(uint8_t errcode)
+ {
+ if (errcode >= NUM_ERROR_MESSAGES)
+ return NULL;
+@@ -97,9 +96,9 @@
+ NeAACDecHandle NEAACDECAPI NeAACDecOpen(void)
+ {
+ uint8_t i;
+- NeAACDecHandle hDecoder = NULL;
++ NeAACDecStruct* hDecoder = NULL;
+
+- if ((hDecoder = (NeAACDecHandle)faad_malloc(sizeof(NeAACDecStruct))) == NULL)
++ if ((hDecoder = (NeAACDecStruct*)faad_malloc(sizeof(NeAACDecStruct))) == NULL)
+ return NULL;
+
+ memset(hDecoder, 0, sizeof(NeAACDecStruct));
+@@ -154,8 +153,9 @@
+ return hDecoder;
+ }
+
+-NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder)
++NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hpDecoder)
+ {
++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
+ if (hDecoder)
+ {
+ NeAACDecConfigurationPtr config = &(hDecoder->config);
+@@ -166,9 +166,10 @@
+ return NULL;
+ }
+
+-uint8_t NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hDecoder,
++uint8_t NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hpDecoder,
+ NeAACDecConfigurationPtr config)
+ {
++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
+ if (hDecoder && config)
+ {
+ /* check if we can decode this object type */
+@@ -203,7 +204,7 @@
+ }
+
+
+-int32_t NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder, uint8_t *buffer,
++int32_t NEAACDECAPI NeAACDecInit(NeAACDecHandle hpDecoder, uint8_t *buffer,
+ uint32_t buffer_size,
+ uint32_t *samplerate, uint8_t *channels)
+ {
+@@ -211,7 +212,7 @@
+ bitfile ld;
+ adif_header adif;
+ adts_header adts;
+-
++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
+
+ if ((hDecoder == NULL) || (samplerate == NULL) || (channels == NULL))
+ return -1;
+@@ -310,12 +311,13 @@
+ }
+
+ /* Init the library using a DecoderSpecificInfo */
+-int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, uint8_t *pBuffer,
++int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hpDecoder, uint8_t *pBuffer,
+ uint32_t SizeOfDecoderSpecificInfo,
+ uint32_t *samplerate, uint8_t *channels)
+ {
+ int8_t rc;
+ mp4AudioSpecificConfig mp4ASC;
++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
+
+ if((hDecoder == NULL)
+ || (pBuffer == NULL)
+@@ -401,9 +403,11 @@
+ }
+
+ #ifdef DRM
+-int8_t NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, uint32_t samplerate,
++int8_t NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hpDecoder, uint32_t samplerate,
+ uint8_t channels)
+ {
++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
++
+ if (hDecoder == NULL)
+ return 1; /* error */
+
+@@ -442,9 +446,10 @@
+ }
+ #endif
+
+-void NEAACDECAPI NeAACDecClose(NeAACDecHandle hDecoder)
++void NEAACDECAPI NeAACDecClose(NeAACDecHandle hpDecoder)
+ {
+ uint8_t i;
++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
+
+ if (hDecoder == NULL)
+ return;
+@@ -495,8 +500,10 @@
+ if (hDecoder) faad_free(hDecoder);
+ }
+
+-void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, int32_t frame)
++void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hpDecoder, int32_t frame)
+ {
++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
++
+ if (hDecoder)
+ {
+ hDecoder->postSeekResetFlag = 1;
+@@ -506,7 +513,7 @@
+ }
+ }
+
+-static void create_channel_config(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo)
++static void create_channel_config(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo)
+ {
+ hInfo->num_front_channels = 0;
+ hInfo->num_side_channels = 0;
+@@ -724,18 +731,22 @@
+ }
+ }
+
+-void* NEAACDECAPI NeAACDecDecode(NeAACDecHandle hDecoder,
++void* NEAACDECAPI NeAACDecDecode(NeAACDecHandle hpDecoder,
+ NeAACDecFrameInfo *hInfo,
+ uint8_t *buffer, uint32_t buffer_size)
+ {
++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
++
+ return aac_frame_decode(hDecoder, hInfo, buffer, buffer_size, NULL, 0);
+ }
+
+-void* NEAACDECAPI NeAACDecDecode2(NeAACDecHandle hDecoder,
++void* NEAACDECAPI NeAACDecDecode2(NeAACDecHandle hpDecoder,
+ NeAACDecFrameInfo *hInfo,
+ uint8_t *buffer, uint32_t buffer_size,
+ void **sample_buffer, uint32_t sample_buffer_size)
+ {
++ NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
++
+ if ((sample_buffer == NULL) || (sample_buffer_size == 0))
+ {
+ hInfo->error = 27;
+@@ -750,14 +761,14 @@
+
+ #define ERROR_STATE_INIT 6
+
+-static void conceal_output(NeAACDecHandle hDecoder, uint16_t frame_len,
++static void conceal_output(NeAACDecStruct* hDecoder, uint16_t frame_len,
+ uint8_t out_ch, void *sample_buffer)
+ {
+ return;
+ }
+ #endif
+
+-static void* aac_frame_decode(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo,
++static void* aac_frame_decode(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo,
+ uint8_t *buffer, uint32_t buffer_size,
+ void **sample_buffer2, uint32_t sample_buffer_size)
+ {
+diff -urNad faad2-svn~/libfaad/decoder.h faad2-svn/libfaad/decoder.h
+--- faad2-svn~/libfaad/decoder.h 2007-11-28 23:28:14.000000000 +0000
++++ faad2-svn/libfaad/decoder.h 1970-01-01 01:00:00.000000000 +0100
+@@ -1,124 +0,0 @@
+-/*
+-** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
+-** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com
+-**
+-** This program is free software; you can redistribute it and/or modify
+-** it under the terms of the GNU General Public License as published by
+-** the Free Software Foundation; either version 2 of the License, or
+-** (at your option) any later version.
+-**
+-** This program is distributed in the hope that it will be useful,
+-** but WITHOUT ANY WARRANTY; without even the implied warranty of
+-** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-** GNU General Public License for more details.
+-**
+-** You should have received a copy of the GNU General Public License
+-** along with this program; if not, write to the Free Software
+-** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+-**
+-** Any non-GPL usage of this software or parts of this software is strictly
+-** forbidden.
+-**
+-** The "appropriate copyright message" mentioned in section 2c of the GPLv2
+-** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com"
+-**
+-** Commercial non-GPL licensing of this software is possible.
+-** For more info contact Nero AG through Mpeg4AAClicense@nero.com.
+-**
+-** $Id: decoder.h,v 1.48 2007/11/01 12:33:30 menno Exp $
+-**/
+-
+-#ifndef __DECODER_H__
+-#define __DECODER_H__
+-
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
+-
+-#ifdef _WIN32
+- #pragma pack(push, 8)
+- #ifndef NEAACDECAPI
+- #define NEAACDECAPI __cdecl
+- #endif
+-#else
+- #ifndef NEAACDECAPI
+- #define NEAACDECAPI
+- #endif
+-#endif
+-
+-
+-/* library output formats */
+-#define FAAD_FMT_16BIT 1
+-#define FAAD_FMT_24BIT 2
+-#define FAAD_FMT_32BIT 3
+-#define FAAD_FMT_FLOAT 4
+-#define FAAD_FMT_FIXED FAAD_FMT_FLOAT
+-#define FAAD_FMT_DOUBLE 5
+-
+-#define LC_DEC_CAP (1<<0)
+-#define MAIN_DEC_CAP (1<<1)
+-#define LTP_DEC_CAP (1<<2)
+-#define LD_DEC_CAP (1<<3)
+-#define ERROR_RESILIENCE_CAP (1<<4)
+-#define FIXED_POINT_CAP (1<<5)
+-
+-#define FRONT_CHANNEL_CENTER (1)
+-#define FRONT_CHANNEL_LEFT (2)
+-#define FRONT_CHANNEL_RIGHT (3)
+-#define SIDE_CHANNEL_LEFT (4)
+-#define SIDE_CHANNEL_RIGHT (5)
+-#define BACK_CHANNEL_LEFT (6)
+-#define BACK_CHANNEL_RIGHT (7)
+-#define BACK_CHANNEL_CENTER (8)
+-#define LFE_CHANNEL (9)
+-#define UNKNOWN_CHANNEL (0)
+-
+-char* NEAACDECAPI NeAACDecGetErrorMessage(uint8_t errcode);
+-
+-uint32_t NEAACDECAPI NeAACDecGetCapabilities(void);
+-
+-NeAACDecHandle NEAACDECAPI NeAACDecOpen(void);
+-
+-NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder);
+-
+-uint8_t NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hDecoder,
+- NeAACDecConfigurationPtr config);
+-
+-/* Init the library based on info from the AAC file (ADTS/ADIF) */
+-int32_t NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder,
+- uint8_t *buffer,
+- uint32_t buffer_size,
+- uint32_t *samplerate,
+- uint8_t *channels);
+-
+-/* Init the library using a DecoderSpecificInfo */
+-int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, uint8_t *pBuffer,
+- uint32_t SizeOfDecoderSpecificInfo,
+- uint32_t *samplerate, uint8_t *channels);
+-
+-/* Init the library for DRM */
+-int8_t NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, uint32_t samplerate,
+- uint8_t channels);
+-
+-void NEAACDECAPI NeAACDecClose(NeAACDecHandle hDecoder);
+-
+-void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, int32_t frame);
+-
+-void* NEAACDECAPI NeAACDecDecode(NeAACDecHandle hDecoder,
+- NeAACDecFrameInfo *hInfo,
+- uint8_t *buffer,
+- uint32_t buffer_size);
+-
+-void* NEAACDECAPI NeAACDecDecode2(NeAACDecHandle hDecoder,
+- NeAACDecFrameInfo *hInfo,
+- uint8_t *buffer, uint32_t buffer_size,
+- void **sample_buffer, uint32_t sample_buffer_size);
+-
+-#ifdef _WIN32
+- #pragma pack(pop)
+-#endif
+-
+-#ifdef __cplusplus
+-}
+-#endif
+-#endif
+diff -urNad faad2-svn~/libfaad/filtbank.c faad2-svn/libfaad/filtbank.c
+--- faad2-svn~/libfaad/filtbank.c 2007-11-28 23:28:14.000000000 +0000
++++ faad2-svn/libfaad/filtbank.c 2007-11-28 23:29:27.000000000 +0000
+@@ -40,7 +40,6 @@
+ #endif
+
+ #include "filtbank.h"
+-#include "decoder.h"
+ #include "syntax.h"
+ #include "kbd_win.h"
+ #include "sine_win.h"
+diff -urNad faad2-svn~/libfaad/hcr.c faad2-svn/libfaad/hcr.c
+--- faad2-svn~/libfaad/hcr.c 2007-11-28 23:28:14.000000000 +0000
++++ faad2-svn/libfaad/hcr.c 2007-11-28 23:29:27.000000000 +0000
+@@ -214,7 +214,7 @@
+ codeword[index].bits.len = 0;
+ }
+
+-uint8_t reordered_spectral_data(NeAACDecHandle hDecoder, ic_stream *ics,
++uint8_t reordered_spectral_data(NeAACDecStruct* hDecoder, ic_stream *ics,
+ bitfile *ld, int16_t *spectral_data)
+ {
+ uint16_t PCWs_done;
+diff -urNad faad2-svn~/libfaad/mp4.h faad2-svn/libfaad/mp4.h
+--- faad2-svn~/libfaad/mp4.h 2007-11-28 23:28:14.000000000 +0000
++++ faad2-svn/libfaad/mp4.h 2007-11-28 23:29:27.000000000 +0000
+@@ -35,11 +35,7 @@
+ extern "C" {
+ #endif
+
+-#include "decoder.h"
+-
+-int8_t NEAACDECAPI NeAACDecAudioSpecificConfig(uint8_t *pBuffer,
+- uint32_t buffer_size,
+- mp4AudioSpecificConfig *mp4ASC);
++#include "neaacdec.h"
+
+ int8_t AudioSpecificConfig2(uint8_t *pBuffer,
+ uint32_t buffer_size,
+diff -urNad faad2-svn~/libfaad/output.c faad2-svn/libfaad/output.c
+--- faad2-svn~/libfaad/output.c 2007-11-28 23:28:14.000000000 +0000
++++ faad2-svn/libfaad/output.c 2007-11-28 23:29:27.000000000 +0000
+@@ -32,7 +32,6 @@
+ #include "structs.h"
+
+ #include "output.h"
+-#include "decoder.h"
+
+ #ifndef FIXED_POINT
+
+@@ -87,7 +86,7 @@
+
+ #define CONV(a,b) ((a<<1)|(b&0x1))
+
+-static void to_PCM_16bit(NeAACDecHandle hDecoder, real_t **input,
++static void to_PCM_16bit(NeAACDecStruct* hDecoder, real_t **input,
+ uint8_t channels, uint16_t frame_len,
+ int16_t **sample_buffer)
+ {
+@@ -152,7 +151,7 @@
+ }
+ }
+
+-static void to_PCM_24bit(NeAACDecHandle hDecoder, real_t **input,
++static void to_PCM_24bit(NeAACDecStruct* hDecoder, real_t **input,
+ uint8_t channels, uint16_t frame_len,
+ int32_t **sample_buffer)
+ {
+@@ -222,7 +221,7 @@
+ }
+ }
+
+-static void to_PCM_32bit(NeAACDecHandle hDecoder, real_t **input,
++static void to_PCM_32bit(NeAACDecStruct* hDecoder, real_t **input,
+ uint8_t channels, uint16_t frame_len,
+ int32_t **sample_buffer)
+ {
+@@ -292,7 +291,7 @@
+ }
+ }
+
+-static void to_PCM_float(NeAACDecHandle hDecoder, real_t **input,
++static void to_PCM_float(NeAACDecStruct* hDecoder, real_t **input,
+ uint8_t channels, uint16_t frame_len,
+ float32_t **sample_buffer)
+ {
+@@ -344,7 +343,7 @@
+ }
+ }
+
+-static void to_PCM_double(NeAACDecHandle hDecoder, real_t **input,
++static void to_PCM_double(NeAACDecStruct* hDecoder, real_t **input,
+ uint8_t channels, uint16_t frame_len,
+ double **sample_buffer)
+ {
+@@ -396,7 +395,7 @@
+ }
+ }
+
+-void *output_to_PCM(NeAACDecHandle hDecoder,
++void *output_to_PCM(NeAACDecStruct* hDecoder,
+ real_t **input, void *sample_buffer, uint8_t channels,
+ uint16_t frame_len, uint8_t format)
+ {
+@@ -466,7 +465,7 @@
+ }
+ }
+
+-void* output_to_PCM(NeAACDecHandle hDecoder,
++void* output_to_PCM(NeAACDecStruct* hDecoder,
+ real_t **input, void *sample_buffer, uint8_t channels,
+ uint16_t frame_len, uint8_t format)
+ {
+diff -urNad faad2-svn~/libfaad/output.h faad2-svn/libfaad/output.h
+--- faad2-svn~/libfaad/output.h 2007-11-28 23:28:14.000000000 +0000
++++ faad2-svn/libfaad/output.h 2007-11-28 23:29:27.000000000 +0000
+@@ -35,7 +35,7 @@
+ extern "C" {
+ #endif
+
+-void* output_to_PCM(NeAACDecHandle hDecoder,
++void* output_to_PCM(NeAACDecStruct* hDecoder,
+ real_t **input,
+ void *samplebuffer,
+ uint8_t channels,
+diff -urNad faad2-svn~/libfaad/specrec.c faad2-svn/libfaad/specrec.c
+--- faad2-svn~/libfaad/specrec.c 2007-11-28 23:28:14.000000000 +0000
++++ faad2-svn/libfaad/specrec.c 2007-11-28 23:29:27.000000000 +0000
+@@ -58,7 +58,7 @@
+
+
+ /* static function declarations */
+-static uint8_t quant_to_spec(NeAACDecHandle hDecoder,
++static uint8_t quant_to_spec(NeAACDecStruct* hDecoder,
+ ic_stream *ics, int16_t *quant_data,
+ real_t *spec_data, uint16_t frame_len);
+
+@@ -300,10 +300,9 @@
+ in section named section. This offset depends on window_sequence and
+ scale_factor_grouping and is needed to decode the spectral_data().
+ */
+-uint8_t window_grouping_info(NeAACDecHandle hDecoder, ic_stream *ics)
++uint8_t window_grouping_info(NeAACDecStruct* hDecoder, ic_stream *ics)
+ {
+ uint8_t i, g;
+-
+ uint8_t sf_index = hDecoder->sf_index;
+
+ switch (ics->window_sequence) {
+@@ -546,7 +545,7 @@
+ - Within a scalefactor window band, the coefficients are in ascending
+ spectral order.
+ */
+-static uint8_t quant_to_spec(NeAACDecHandle hDecoder,
++static uint8_t quant_to_spec(NeAACDecStruct* hDecoder,
+ ic_stream *ics, int16_t *quant_data,
+ real_t *spec_data, uint16_t frame_len)
+ {
+@@ -680,7 +679,7 @@
+ return error;
+ }
+
+-static uint8_t allocate_single_channel(NeAACDecHandle hDecoder, uint8_t channel,
++static uint8_t allocate_single_channel(NeAACDecStruct* hDecoder, uint8_t channel,
+ uint8_t output_channels)
+ {
+ int mul = 1;
+@@ -781,7 +780,7 @@
+ return 0;
+ }
+
+-static uint8_t allocate_channel_pair(NeAACDecHandle hDecoder,
++static uint8_t allocate_channel_pair(NeAACDecStruct* hDecoder,
+ uint8_t channel, uint8_t paired_channel)
+ {
+ int mul = 1;
+@@ -886,7 +885,7 @@
+ return 0;
+ }
+
+-uint8_t reconstruct_single_channel(NeAACDecHandle hDecoder, ic_stream *ics,
++uint8_t reconstruct_single_channel(NeAACDecStruct* hDecoder, ic_stream *ics,
+ element *sce, int16_t *spec_data)
+ {
+ uint8_t retval;
+@@ -1096,7 +1095,7 @@
+ return 0;
+ }
+
+-uint8_t reconstruct_channel_pair(NeAACDecHandle hDecoder, ic_stream *ics1, ic_stream *ics2,
++uint8_t reconstruct_channel_pair(NeAACDecStruct* hDecoder, ic_stream *ics1, ic_stream *ics2,
+ element *cpe, int16_t *spec_data1, int16_t *spec_data2)
+ {
+ uint8_t retval;
+@@ -1106,6 +1105,7 @@
+ #ifdef PROFILE
+ int64_t count = faad_get_ts();
+ #endif
++
+ if (hDecoder->element_alloced[hDecoder->fr_ch_ele] == 0)
+ {
+ retval = allocate_channel_pair(hDecoder, cpe->channel, (uint8_t)cpe->paired_channel);
+diff -urNad faad2-svn~/libfaad/specrec.h faad2-svn/libfaad/specrec.h
+--- faad2-svn~/libfaad/specrec.h 2007-11-28 23:28:14.000000000 +0000
++++ faad2-svn/libfaad/specrec.h 2007-11-28 23:29:27.000000000 +0000
+@@ -37,10 +37,10 @@
+
+ #include "syntax.h"
+
+-uint8_t window_grouping_info(NeAACDecHandle hDecoder, ic_stream *ics);
+-uint8_t reconstruct_channel_pair(NeAACDecHandle hDecoder, ic_stream *ics1, ic_stream *ics2,
++uint8_t window_grouping_info(NeAACDecStruct* hDecoder, ic_stream *ics);
++uint8_t reconstruct_channel_pair(NeAACDecStruct* hDecoder, ic_stream *ics1, ic_stream *ics2,
+ element *cpe, int16_t *spec_data1, int16_t *spec_data2);
+-uint8_t reconstruct_single_channel(NeAACDecHandle hDecoder, ic_stream *ics, element *sce,
++uint8_t reconstruct_single_channel(NeAACDecStruct* hDecoder, ic_stream *ics, element *sce,
+ int16_t *spec_data);
+
+ #ifdef __cplusplus
+diff -urNad faad2-svn~/libfaad/structs.h faad2-svn/libfaad/structs.h
+--- faad2-svn~/libfaad/structs.h 2007-11-28 23:28:14.000000000 +0000
++++ faad2-svn/libfaad/structs.h 2007-11-28 23:29:27.000000000 +0000
+@@ -312,67 +312,6 @@
+ ic_stream ics2;
+ } element; /* syntax element (SCE, CPE, LFE) */
+
+-typedef struct mp4AudioSpecificConfig
+-{
+- /* Audio Specific Info */
+- /*uint8_t*/ unsigned char objectTypeIndex;
+- /*uint8_t*/ unsigned char samplingFrequencyIndex;
+- /*uint32_t*/ unsigned long samplingFrequency;
+- /*uint8_t*/ unsigned char channelsConfiguration;
+-
+- /* GA Specific Info */
+- /*uint8_t*/ unsigned char frameLengthFlag;
+- /*uint8_t*/ unsigned char dependsOnCoreCoder;
+- /*uint16_t*/ unsigned short coreCoderDelay;
+- /*uint8_t*/ unsigned char extensionFlag;
+- /*uint8_t*/ unsigned char aacSectionDataResilienceFlag;
+- /*uint8_t*/ unsigned char aacScalefactorDataResilienceFlag;
+- /*uint8_t*/ unsigned char aacSpectralDataResilienceFlag;
+- /*uint8_t*/ unsigned char epConfig;
+-
+- /*uint8_t*/ char sbr_present_flag;
+- /*uint8_t*/ char forceUpSampling;
+- /*uint8_t*/ char downSampledSBR;
+-} mp4AudioSpecificConfig;
+-
+-typedef struct NeAACDecConfiguration
+-{
+- /*uint8_t*/ unsigned char defObjectType;
+- /*uint32_t*/ unsigned long defSampleRate;
+- /*uint8_t*/ unsigned char outputFormat;
+- /*uint8_t*/ unsigned char downMatrix;
+- /*uint8_t*/ unsigned char useOldADTSFormat;
+- /*uint8_t*/ unsigned char dontUpSampleImplicitSBR;
+-} NeAACDecConfiguration, *NeAACDecConfigurationPtr;
+-
+-typedef struct NeAACDecFrameInfo
+-{
+- /*uint32_t*/ unsigned long bytesconsumed;
+- /*uint32_t*/ unsigned long samples;
+- /*uint8_t*/ unsigned char channels;
+- /*uint8_t*/ unsigned char error;
+- /*uint32_t*/ unsigned long samplerate;
+-
+- /* SBR: 0: off, 1: on; normal, 2: on; downsampled */
+- /*uint8_t*/ unsigned char sbr;
+-
+- /* MPEG-4 ObjectType */
+- /*uint8_t*/ unsigned char object_type;
+-
+- /* AAC header type; MP4 will be signalled as RAW also */
+- /*uint8_t*/ unsigned char header_type;
+-
+- /* multichannel configuration */
+- /*uint8_t*/ unsigned char num_front_channels;
+- /*uint8_t*/ unsigned char num_side_channels;
+- /*uint8_t*/ unsigned char num_back_channels;
+- /*uint8_t*/ unsigned char num_lfe_channels;
+- /*uint8_t*/ unsigned char channel_position[MAX_CHANNELS];
+-
+- /* PS: 0: off, 1: on */
+- /*uint8_t*/ unsigned char ps;
+-} NeAACDecFrameInfo;
+-
+ typedef struct
+ {
+ uint8_t adts_header_present;
+@@ -477,9 +416,7 @@
+ int64_t requant_cycles;
+ #endif
+ const unsigned char *cmes;
+-} NeAACDecStruct, *NeAACDecHandle;
+-
+-
++} NeAACDecStruct;
+
+ #ifdef __cplusplus
+ }
+diff -urNad faad2-svn~/libfaad/syntax.c faad2-svn/libfaad/syntax.c
+--- faad2-svn~/libfaad/syntax.c 2007-11-28 23:28:14.000000000 +0000
++++ faad2-svn/libfaad/syntax.c 2007-11-28 23:29:27.000000000 +0000
+@@ -38,7 +38,6 @@
+ #include <stdlib.h>
+ #include <string.h>
+
+-#include "decoder.h"
+ #include "syntax.h"
+ #include "specrec.h"
+ #include "huffman.h"
+@@ -55,51 +54,51 @@
+
+
+ /* static function declarations */
+-static void decode_sce_lfe(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld,
++static void decode_sce_lfe(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld,
+ uint8_t id_syn_ele);
+-static void decode_cpe(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld,
++static void decode_cpe(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld,
+ uint8_t id_syn_ele);
+-static uint8_t single_lfe_channel_element(NeAACDecHandle hDecoder, bitfile *ld,
++static uint8_t single_lfe_channel_element(NeAACDecStruct* hDecoder, bitfile *ld,
+ uint8_t channel, uint8_t *tag);
+-static uint8_t channel_pair_element(NeAACDecHandle hDecoder, bitfile *ld,
++static uint8_t channel_pair_element(NeAACDecStruct* hDecoder, bitfile *ld,
+ uint8_t channel, uint8_t *tag);
+ #ifdef COUPLING_DEC
+-static uint8_t coupling_channel_element(NeAACDecHandle hDecoder, bitfile *ld);
++static uint8_t coupling_channel_element(NeAACDecStruct* hDecoder, bitfile *ld);
+ #endif
+-static uint16_t data_stream_element(NeAACDecHandle hDecoder, bitfile *ld);
++static uint16_t data_stream_element(NeAACDecStruct* hDecoder, bitfile *ld);
+ static uint8_t program_config_element(program_config *pce, bitfile *ld);
+-static uint8_t fill_element(NeAACDecHandle hDecoder, bitfile *ld, drc_info *drc
++static uint8_t fill_element(NeAACDecStruct* hDecoder, bitfile *ld, drc_info *drc
+ #ifdef SBR_DEC
+ ,uint8_t sbr_ele
+ #endif
+ );
+-static uint8_t individual_channel_stream(NeAACDecHandle hDecoder, element *ele,
++static uint8_t individual_channel_stream(NeAACDecStruct* hDecoder, element *ele,
+ bitfile *ld, ic_stream *ics, uint8_t scal_flag,
+ int16_t *spec_data);
+-static uint8_t ics_info(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld,
++static uint8_t ics_info(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld,
+ uint8_t common_window);
+-static uint8_t section_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld);
+-static uint8_t scale_factor_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld);
++static uint8_t section_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld);
++static uint8_t scale_factor_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld);
+ #ifdef SSR_DEC
+ static void gain_control_data(bitfile *ld, ic_stream *ics);
+ #endif
+-static uint8_t spectral_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld,
++static uint8_t spectral_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld,
+ int16_t *spectral_data);
+ static uint16_t extension_payload(bitfile *ld, drc_info *drc, uint16_t count);
+ static uint8_t pulse_data(ic_stream *ics, pulse_info *pul, bitfile *ld);
+ static void tns_data(ic_stream *ics, tns_info *tns, bitfile *ld);
+ #ifdef LTP_DEC
+-static uint8_t ltp_data(NeAACDecHandle hDecoder, ic_stream *ics, ltp_info *ltp, bitfile *ld);
++static uint8_t ltp_data(NeAACDecStruct* hDecoder, ic_stream *ics, ltp_info *ltp, bitfile *ld);
+ #endif
+ static uint8_t adts_fixed_header(adts_header *adts, bitfile *ld);
+ static void adts_variable_header(adts_header *adts, bitfile *ld);
+ static void adts_error_check(adts_header *adts, bitfile *ld);
+ static uint8_t dynamic_range_info(bitfile *ld, drc_info *drc);
+ static uint8_t excluded_channels(bitfile *ld, drc_info *drc);
+-static uint8_t side_info(NeAACDecHandle hDecoder, element *ele,
++static uint8_t side_info(NeAACDecStruct* hDecoder, element *ele,
+ bitfile *ld, ic_stream *ics, uint8_t scal_flag);
+ #ifdef DRM
+-static int8_t DRM_aac_scalable_main_header(NeAACDecHandle hDecoder, ic_stream *ics1, ic_stream *ics2,
++static int8_t DRM_aac_scalable_main_header(NeAACDecStruct* hDecoder, ic_stream *ics1, ic_stream *ics2,
+ bitfile *ld, uint8_t this_layer_stereo);
+ #endif
+
+@@ -321,7 +320,7 @@
+ return 0;
+ }
+
+-static void decode_sce_lfe(NeAACDecHandle hDecoder,
++static void decode_sce_lfe(NeAACDecStruct* hDecoder,
+ NeAACDecFrameInfo *hInfo, bitfile *ld,
+ uint8_t id_syn_ele)
+ {
+@@ -366,7 +365,7 @@
+ hDecoder->fr_ch_ele++;
+ }
+
+-static void decode_cpe(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld,
++static void decode_cpe(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld,
+ uint8_t id_syn_ele)
+ {
+ uint8_t channels = hDecoder->fr_channels;
+@@ -414,7 +413,7 @@
+ hDecoder->fr_ch_ele++;
+ }
+
+-void raw_data_block(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo,
++void raw_data_block(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo,
+ bitfile *ld, program_config *pce, drc_info *drc)
+ {
+ uint8_t id_syn_ele;
+@@ -584,7 +583,7 @@
+
+ /* Table 4.4.4 and */
+ /* Table 4.4.9 */
+-static uint8_t single_lfe_channel_element(NeAACDecHandle hDecoder, bitfile *ld,
++static uint8_t single_lfe_channel_element(NeAACDecStruct* hDecoder, bitfile *ld,
+ uint8_t channel, uint8_t *tag)
+ {
+ uint8_t retval = 0;
+@@ -631,7 +630,7 @@
+ }
+
+ /* Table 4.4.5 */
+-static uint8_t channel_pair_element(NeAACDecHandle hDecoder, bitfile *ld,
++static uint8_t channel_pair_element(NeAACDecStruct* hDecoder, bitfile *ld,
+ uint8_t channels, uint8_t *tag)
+ {
+ ALIGN int16_t spec_data1[1024] = {0};
+@@ -761,7 +760,7 @@
+ }
+
+ /* Table 4.4.6 */
+-static uint8_t ics_info(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld,
++static uint8_t ics_info(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld,
+ uint8_t common_window)
+ {
+ uint8_t retval = 0;
+@@ -912,7 +911,7 @@
+
+ #ifdef COUPLING_DEC
+ /* Table 4.4.8: Currently just for skipping the bits... */
+-static uint8_t coupling_channel_element(NeAACDecHandle hDecoder, bitfile *ld)
++static uint8_t coupling_channel_element(NeAACDecStruct* hDecoder, bitfile *ld)
+ {
+ uint8_t c, result = 0;
+ uint8_t ind_sw_cce_flag = 0;
+@@ -1005,7 +1004,7 @@
+ #endif
+
+ /* Table 4.4.10 */
+-static uint16_t data_stream_element(NeAACDecHandle hDecoder, bitfile *ld)
++static uint16_t data_stream_element(NeAACDecStruct* hDecoder, bitfile *ld)
+ {
+ uint8_t byte_aligned;
+ uint16_t i, count;
+@@ -1034,7 +1033,7 @@
+ }
+
+ /* Table 4.4.11 */
+-static uint8_t fill_element(NeAACDecHandle hDecoder, bitfile *ld, drc_info *drc
++static uint8_t fill_element(NeAACDecStruct* hDecoder, bitfile *ld, drc_info *drc
+ #ifdef SBR_DEC
+ ,uint8_t sbr_ele
+ #endif
+@@ -1213,7 +1212,7 @@
+
+ #ifdef DRM
+ /* Table 4.4.13 ASME */
+-void DRM_aac_scalable_main_element(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo,
++void DRM_aac_scalable_main_element(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo,
+ bitfile *ld, program_config *pce, drc_info *drc)
+ {
+ uint8_t retval = 0;
+@@ -1423,7 +1422,7 @@
+ }
+
+ /* Table 4.4.15 */
+-static int8_t DRM_aac_scalable_main_header(NeAACDecHandle hDecoder, ic_stream *ics1, ic_stream *ics2,
++static int8_t DRM_aac_scalable_main_header(NeAACDecStruct* hDecoder, ic_stream *ics1, ic_stream *ics2,
+ bitfile *ld, uint8_t this_layer_stereo)
+ {
+ uint8_t retval = 0;
+@@ -1491,7 +1490,7 @@
+ }
+ #endif
+
+-static uint8_t side_info(NeAACDecHandle hDecoder, element *ele,
++static uint8_t side_info(NeAACDecStruct* hDecoder, element *ele,
+ bitfile *ld, ic_stream *ics, uint8_t scal_flag)
+ {
+ uint8_t result;
+@@ -1584,7 +1583,7 @@
+ }
+
+ /* Table 4.4.24 */
+-static uint8_t individual_channel_stream(NeAACDecHandle hDecoder, element *ele,
++static uint8_t individual_channel_stream(NeAACDecStruct* hDecoder, element *ele,
+ bitfile *ld, ic_stream *ics, uint8_t scal_flag,
+ int16_t *spec_data)
+ {
+@@ -1644,7 +1643,7 @@
+ }
+
+ /* Table 4.4.25 */
+-static uint8_t section_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld)
++static uint8_t section_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld)
+ {
+ uint8_t g;
+ uint8_t sect_esc_val, sect_bits;
+@@ -1891,7 +1890,7 @@
+ }
+
+ /* Table 4.4.26 */
+-static uint8_t scale_factor_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld)
++static uint8_t scale_factor_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld)
+ {
+ uint8_t ret = 0;
+ #ifdef PROFILE
+@@ -1999,7 +1998,7 @@
+
+ #ifdef LTP_DEC
+ /* Table 4.4.28 */
+-static uint8_t ltp_data(NeAACDecHandle hDecoder, ic_stream *ics, ltp_info *ltp, bitfile *ld)
++static uint8_t ltp_data(NeAACDecStruct* hDecoder, ic_stream *ics, ltp_info *ltp, bitfile *ld)
+ {
+ uint8_t sfb, w;
+
+@@ -2062,7 +2061,7 @@
+ #endif
+
+ /* Table 4.4.29 */
+-static uint8_t spectral_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld,
++static uint8_t spectral_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld,
+ int16_t *spectral_data)
+ {
+ int8_t i;
+diff -urNad faad2-svn~/libfaad/syntax.h faad2-svn/libfaad/syntax.h
+--- faad2-svn~/libfaad/syntax.h 2007-11-28 23:28:14.000000000 +0000
++++ faad2-svn/libfaad/syntax.h 2007-11-28 23:29:27.000000000 +0000
+@@ -35,7 +35,6 @@
+ extern "C" {
+ #endif
+
+-#include "decoder.h"
+ #include "bits.h"
+
+ #define MAIN 1
+@@ -113,12 +112,12 @@
+
+ uint8_t adts_frame(adts_header *adts, bitfile *ld);
+ void get_adif_header(adif_header *adif, bitfile *ld);
+-void raw_data_block(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo,
++void raw_data_block(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo,
+ bitfile *ld, program_config *pce, drc_info *drc);
+-uint8_t reordered_spectral_data(NeAACDecHandle hDecoder, ic_stream *ics, bitfile *ld,
++uint8_t reordered_spectral_data(NeAACDecStruct* hDecoder, ic_stream *ics, bitfile *ld,
+ int16_t *spectral_data);
+ #ifdef DRM
+-void DRM_aac_scalable_main_element(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo,
++void DRM_aac_scalable_main_element(NeAACDecStruct* hDecoder, NeAACDecFrameInfo *hInfo,
+ bitfile *ld, program_config *pce, drc_info *drc);
+ #endif
+
diff --git a/media/libs/faad2/faad2.mkbuild b/media/libs/faad2/faad2.mkbuild
new file mode 100644
index 0000000..a369a1d
--- /dev/null
+++ b/media/libs/faad2/faad2.mkbuild
@@ -0,0 +1,102 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/faac/faad2-2.6.1.tar.gz"
+
+#
+# Other configure arguments
+[[OTHER CONFIGURE ARGS]]="--with-docdir=/usr/doc/$PKG_NAME-$VERSION"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/faad2"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+faad2: faad2 (faad2 is a free Advanced Audio Decoder)
+faad2:
+faad2: Faad2 is a free Advanced Audio Decoder.
+faad2:
+faad2:
+faad2:
+faad2:
+faad2:
+faad2:
+faad2: http://www.audiocoding.com/
+faad2:
+#<slackdesc
+
+#p>
+ # Configure
++autoreconf -vif
+#p<
+
diff --git a/media/libs/glitz/glitz.mkbuild b/media/libs/glitz/glitz.mkbuild
new file mode 100644
index 0000000..827441c
--- /dev/null
+++ b/media/libs/glitz/glitz.mkbuild
@@ -0,0 +1,92 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://cairographics.org/snapshots/glitz-0.5.6.tar.gz"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/glitz"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+glitz: glitz
+glitz:
+glitz: Glitz is an OpenGL image compositing library. Glitz provides
+glitz: Porter/Duff compositing of images and implicit mask generation for
+glitz: geometric primitives including trapezoids, triangles, and rectangles.
+glitz:
+glitz:
+glitz:
+glitz:
+glitz:
+glitz:
+#<slackdesc
diff --git a/media/libs/gst-ffmpeg/gst-ffmpeg.mkbuild b/media/libs/gst-ffmpeg/gst-ffmpeg.mkbuild
new file mode 100644
index 0000000..c75f8c8
--- /dev/null
+++ b/media/libs/gst-ffmpeg/gst-ffmpeg.mkbuild
@@ -0,0 +1,175 @@
+#################################################################
+## Generic template for Mkbuild
+##
+## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+#################################################################
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Rafael Diniz"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rd"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-0.10.4.tar.gz"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]=""
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]=""
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]=""
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]="gstreamer: gst-plugins-base: ffmpeg"
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]=""
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc --with-docdir=/usr/doc/$PKG_NAME-$PKG_VERSION"
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]="-j3"
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+#[[SIGNING KEY ID]]=""
+#[[SIGNING URL]]=""
+#[[CONFIG FILES]]=""
+#[[PATCH URLS]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="others/unclassified/[[PKG NAME]]"
+[[SLACKBUILD PATH]]="media/libs/gst-ffmpeg"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: svn_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>configure
+
+./configure --prefix="$PREFIX" --libdir="$LIBDIR" || exit $ERROR_CONF
+
+#<configure
+
+#>slackdesc
+gst-ffmpeg: gst-ffmpeg (ffmpeg plugin for gstreamer)
+gst-ffmpeg:
+gst-ffmpeg: FFmpeg plugin for gstreamer.
+gst-ffmpeg:
+gst-ffmpeg:
+gst-ffmpeg:
+gst-ffmpeg:
+gst-ffmpeg:
+gst-ffmpeg:
+gst-ffmpeg: http://gstreamer.freedesktop.org/
+gst-ffmpeg:
+#<slackdesc
diff --git a/media/libs/gst-plugins-bad/gst-plugins-bad.mkbuild b/media/libs/gst-plugins-bad/gst-plugins-bad.mkbuild
new file mode 100644
index 0000000..06b3d82
--- /dev/null
+++ b/media/libs/gst-plugins-bad/gst-plugins-bad.mkbuild
@@ -0,0 +1,169 @@
+#################################################################
+## Generic template for Mkbuild
+##
+## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+#################################################################
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Rafael Diniz"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rd"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-0.10.7.tar.gz"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]=""
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]=""
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]=""
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]="gstreamer: gst-plugins-base"
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]=""
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc --with-docdir=/usr/doc/$PKG_NAME-$PKG_VERSION"
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]="-j3"
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+#[[SIGNING KEY ID]]=""
+#[[SIGNING URL]]=""
+#[[CONFIG FILES]]=""
+#[[PATCH URLS]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="others/unclassified/[[PKG NAME]]"
+[[SLACKBUILD PATH]]="media/libs/gst-plugins-bad"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: svn_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+gst-plugins-bad: gst-plugins-bad (plugins for gstreamer)
+gst-plugins-bad:
+gst-plugins-bad: Free Software plugins for gstreamer with problems
+gst-plugins-bad: related to quality.
+gst-plugins-bad:
+gst-plugins-bad:
+gst-plugins-bad:
+gst-plugins-bad:
+gst-plugins-bad:
+gst-plugins-bad: http://gstreamer.freedesktop.org/
+gst-plugins-bad:
+#<slackdesc
diff --git a/media/libs/gst-plugins-base/gst-plugins-base.mkbuild b/media/libs/gst-plugins-base/gst-plugins-base.mkbuild
new file mode 100644
index 0000000..70a7cb4
--- /dev/null
+++ b/media/libs/gst-plugins-base/gst-plugins-base.mkbuild
@@ -0,0 +1,169 @@
+#################################################################
+## Generic template for Mkbuild
+##
+## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+#################################################################
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Rafael Diniz"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rd"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.10.19.tar.gz"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]=""
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]=""
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]=""
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]="gstreamer"
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]=""
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc --with-docdir=/usr/doc/$PKG_NAME-$PKG_VERSION"
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]="-j3"
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+#[[SIGNING KEY ID]]=""
+#[[SIGNING URL]]=""
+#[[CONFIG FILES]]=""
+#[[PATCH URLS]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="others/unclassified/[[PKG NAME]]"
+[[SLACKBUILD PATH]]="media/libs/gst-plugins-base"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: svn_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+gst-plugins-base: gst-plugins-base (plugins for gstreamer)
+gst-plugins-base:
+gst-plugins-base: Base plugins for gstreamer, you need this to get gstreamer
+gst-plugins-base: working.
+gst-plugins-base:
+gst-plugins-base:
+gst-plugins-base:
+gst-plugins-base:
+gst-plugins-base:
+gst-plugins-base: http://gstreamer.freedesktop.org/
+gst-plugins-base:
+#<slackdesc
diff --git a/media/libs/gst-plugins-good/gst-plugins-good.mkbuild b/media/libs/gst-plugins-good/gst-plugins-good.mkbuild
new file mode 100644
index 0000000..8d3ae49
--- /dev/null
+++ b/media/libs/gst-plugins-good/gst-plugins-good.mkbuild
@@ -0,0 +1,169 @@
+#################################################################
+## Generic template for Mkbuild
+##
+## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+#################################################################
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Rafael Diniz"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rd"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-0.10.8.tar.gz"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]=""
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]=""
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]=""
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]="gstreamer: gst-plugins-base"
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]=""
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc --with-docdir=/usr/doc/$PKG_NAME-$PKG_VERSION"
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]="-j3"
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+#[[SIGNING KEY ID]]=""
+#[[SIGNING URL]]=""
+#[[CONFIG FILES]]=""
+#[[PATCH URLS]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="others/unclassified/[[PKG NAME]]"
+[[SLACKBUILD PATH]]="media/libs/gst-plugins-good"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: svn_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+gst-plugins-good: gst-plugins-good (plugins for gstreamer)
+gst-plugins-good:
+gst-plugins-good: Free Software plugins for gstreamer with no problems
+gst-plugins-good: related to patents.
+gst-plugins-good:
+gst-plugins-good:
+gst-plugins-good:
+gst-plugins-good:
+gst-plugins-good:
+gst-plugins-good: http://gstreamer.freedesktop.org/
+gst-plugins-good:
+#<slackdesc
diff --git a/media/libs/gst-plugins-ugly/gst-plugins-ugly.mkbuild b/media/libs/gst-plugins-ugly/gst-plugins-ugly.mkbuild
new file mode 100644
index 0000000..2c62e3b
--- /dev/null
+++ b/media/libs/gst-plugins-ugly/gst-plugins-ugly.mkbuild
@@ -0,0 +1,169 @@
+#################################################################
+## Generic template for Mkbuild
+##
+## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+#################################################################
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Rafael Diniz"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rd"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-0.10.8.tar.gz"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]=""
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]=""
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]=""
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]="gstreamer: gst-plugins-base"
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]=""
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc --with-docdir=/usr/doc/$PKG_NAME-$PKG_VERSION"
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]="-j3"
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+#[[SIGNING KEY ID]]=""
+#[[SIGNING URL]]=""
+#[[CONFIG FILES]]=""
+#[[PATCH URLS]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="others/unclassified/[[PKG NAME]]"
+[[SLACKBUILD PATH]]="media/libs/gst-plugins-ugly"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: svn_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+gst-plugins-ugly: gst-plugins-ugly (plugins for gstreamer)
+gst-plugins-ugly:
+gst-plugins-ugly: Free Software plugins for gstreamer with problems
+gst-plugins-ugly: related to patents.
+gst-plugins-ugly:
+gst-plugins-ugly:
+gst-plugins-ugly:
+gst-plugins-ugly:
+gst-plugins-ugly:
+gst-plugins-ugly: http://gstreamer.freedesktop.org/
+gst-plugins-ugly:
+#<slackdesc
diff --git a/media/libs/gstreamer/gstreamer.mkbuild b/media/libs/gstreamer/gstreamer.mkbuild
new file mode 100644
index 0000000..2b54b22
--- /dev/null
+++ b/media/libs/gstreamer/gstreamer.mkbuild
@@ -0,0 +1,169 @@
+#################################################################
+## Generic template for Mkbuild
+##
+## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+#################################################################
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Rafael Diniz"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rd"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.19.tar.gz"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]=""
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]=""
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]=""
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]=""
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]=""
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc --with-docdir=/usr/doc/$PKG_NAME-$PKG_VERSION"
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]="-j3"
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+#[[SIGNING KEY ID]]=""
+#[[SIGNING URL]]=""
+#[[CONFIG FILES]]=""
+#[[PATCH URLS]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="others/unclassified/[[PKG NAME]]"
+[[SLACKBUILD PATH]]="media/libs/gstreamer"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: svn_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+gstreamer: gstreamer (gstreamer is a multimedia library)
+gstreamer:
+gstreamer: GStreamer is a library for constructing of graphs of media-handling
+gstreamer: components. The use cases it covers range from simple Ogg/Vorbis
+gstreamer: playback, audio/video streaming to complex audio (mixing) and video
+gstreamer: (non-linear editing) processing.
+gstreamer:
+gstreamer:
+gstreamer:
+gstreamer: http://gstreamer.freedesktop.org/
+gstreamer:
+#<slackdesc
diff --git a/media/libs/ilmbase/ilmbase.mkbuild b/media/libs/ilmbase/ilmbase.mkbuild
new file mode 100644
index 0000000..e1926af
--- /dev/null
+++ b/media/libs/ilmbase/ilmbase.mkbuild
@@ -0,0 +1,92 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://download.savannah.nongnu.org/releases/openexr/ilmbase-1.0.1.tar.gz"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog LICENSE NEWS README"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/openexr"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+ilmbase: ilmbase
+ilmbase:
+ilmbase: OpenEXR ILM Base libraries
+ilmbase:
+ilmbase:
+ilmbase:
+ilmbase:
+ilmbase:
+ilmbase:
+ilmbase:
+ilmbase:
+#<slackdesc
diff --git a/media/libs/imlib2/imlib2.mkbuild b/media/libs/imlib2/imlib2.mkbuild
new file mode 100644
index 0000000..1508bda
--- /dev/null
+++ b/media/libs/imlib2/imlib2.mkbuild
@@ -0,0 +1,167 @@
+#################################################################
+## Generic template for Mkbuild
+##
+## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+#################################################################
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Alexandre Vieira de Souza"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="avs"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://prdownloads.sourceforge.net/enlightenment/imlib2-1.4.1.tar.gz"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]=""
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]=""
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]=""
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]=""
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]=""
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]=""
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]="-j4"
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+#[[SIGNING KEY ID]]=""
+#[[CONFIG FILES]]=""
+#[[PATCH URLS]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="others/unclassified/imlib2"
+[[SLACKBUILD PATH]]="media/libs/imlib2"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: svn_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+imlib2: imlib2 by Slack.Sarava
+imlib2:
+imlib2: This is the Imlib 2 library - a library that does image file loading
+imlib2: and saving as well as rendering, manipulation, arbitrary polygon
+imlib2: support, etc.
+imlib2:
+imlib2:
+imlib2:
+imlib2: by avs
+imlib2:
+imlib2:
+#<slackdesc
diff --git a/media/libs/ladspa/ladspa.mkbuild b/media/libs/ladspa/ladspa.mkbuild
new file mode 100644
index 0000000..533548c
--- /dev/null
+++ b/media/libs/ladspa/ladspa.mkbuild
@@ -0,0 +1,144 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://www.ladspa.org/download/ladspa_sdk_1.13.tgz"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]="ladspa_sdk"
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]="ladspa"
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]="1.13"
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]="tgz"
+
+#
+# Decompressor
+[[DECOMPRESSOR]]="gzip"
+
+#
+# Decompressor test flag
+[[DECOMPRESSOR TEST FLAG]]="-t"
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME"_"$VERSION.$EXTENSION"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="README doc/*"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/ladspa"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+ladspa: ladspa (linux audio developer's plugin API)
+ladspa:
+ladspa: The Linux Audio Developer's Simple Plugin API (LADSPA) attempts to
+ladspa: give programmers the ability to write simple 'plugin' audio
+ladspa: processors in C/C++ and link them dynamically against a range of
+ladspa: host applications.
+ladspa:
+ladspa:
+ladspa:
+ladspa:
+ladspa:
+#<slackdesc
+
+#>configure
+# Configure
+cd src
+export PATH="$PATH:/usr/X11R6/bin/" # for mkdirhier
+
+sed -e 's/\/usr\/local\/lib\/ladspa\//\/usr\/lib\/ladspa\//' \
+ -e 's/\/usr\/local\/bin\//\/usr\/bin\//' makefile > makefile.tmp || exit $ERROR_CONF
+
+echo "PREFIX = $PKG" >> makefile.tmp || exit $ERROR_CONF
+
+sed -e 's/$(INSTALL_PLUGINS_DIR)/$(PREFIX)\/$(INSTALL_PLUGINS_DIR)/g' \
+ -e 's/$(INSTALL_INCLUDE_DIR)/$(PREFIX)\/$(INSTALL_INCLUDE_DIR)/g' \
+ -e 's/$(INSTALL_BINARY_DIR)/$(PREFIX)\/$(INSTALL_BINARY_DIR)/g' makefile.tmp > makefile || exit $ERROR_CONF
+#<configure
+
+#>install_package
+# Install
+make install DESTDIR="$PKG" || exit $ERROR_INSTALL
+cd ..
+#<install_package
diff --git a/media/libs/libdv/libdv-0.104.diff b/media/libs/libdv/libdv-0.104.diff
new file mode 100644
index 0000000..6d1ef4e
--- /dev/null
+++ b/media/libs/libdv/libdv-0.104.diff
@@ -0,0 +1,1383 @@
+--- libdv-0.104.orig/debian/copyright
++++ libdv-0.104/debian/copyright
+@@ -0,0 +1,34 @@
++This package was debianized by Daniel Kobras <kobras@debian.org> on
++Sat, 10 Feb 2001 17:54:56 +0100.
++
++It was downloaded from
++
++ http://download.sourceforge.net/libdv/
++
++Upstream Authors:
++ Erik Walthinsen <omega@cse.ogi.edu>
++ Charles 'Buck' Krasic <krasic@acm.org>
++
++Copyright:
++
++ (c) 1999-2001
++ Erik Walthinsen <omega@cse.ogi.edu>
++ Charles 'Buck' Krasic <krasic@acm.org>
++
++ Individual files also contain material subject to the following
++ copyrights:
++
++ (c) 2000-2004 James Bowman
++ (c) 2001-2004 Peter Schlaile, Dan Dennedy
++ (c) 1999 Aaron Holtzman
++ (c) 2001 Daniel Maas
++ (c) 1999,2000 Sebastien Rougeaux
++ (c) 2000 Oregon Graduate Institute of Science & Technology
++
++ All program source code is distributed under the terms of the
++ GNU Lesser General Public License, Version 2.1 or later,
++ see /usr/share/common-licenses/LGPL-2.1.
++
++ The man pages are distributed under the terms of the GNU General
++ Public License, Version 2 or later, see
++ /usr/share/common-licenses/GPL.
+--- libdv-0.104.orig/debian/libdv-bin.install
++++ libdv-0.104/debian/libdv-bin.install
+@@ -0,0 +1,2 @@
++/usr/bin/*
++/usr/share/man/*/*
+--- libdv-0.104.orig/debian/libdv-bin.links
++++ libdv-0.104/debian/libdv-bin.links
+@@ -0,0 +1 @@
++usr/share/doc/libdv4 usr/share/doc/libdv-bin
+--- libdv-0.104.orig/debian/libdv-bin.manpages
++++ libdv-0.104/debian/libdv-bin.manpages
+@@ -0,0 +1,4 @@
++playdv/playdv.1
++encodedv/encodedv.1
++encodedv/dvconnect.1
++encodedv/dubdv.1
+--- libdv-0.104.orig/debian/libdv4-dev.NEWS
++++ libdv-0.104/debian/libdv4-dev.NEWS
+@@ -0,0 +1,15 @@
++libdv (0.103-1) unstable; urgency=low
++
++ Earlier versions of libdv had deprecated the use of header file dv1394.h
++ provided here. Starting with version 0.103, the libdv developers have
++ removed the header file entirely from their package. Compiling software
++ that still includes the deprecated header shall fail now, therefore.
++
++ Note that the dv1394.h has never been part of the libdv programming interface
++ and has been provided as a (historical) courtesy only. dv1394.h defines
++ solely a kernel interface. Therefore, in order to compile for a certain
++ kernel version, the kernel headers, and only the kernel headers contain the
++ authoritative header file. All application software should be modified
++ accordingly.
++
++ -- Daniel Kobras <kobras@debian.org> Thu, 15 Jul 2004 17:52:38 +0200
+--- libdv-0.104.orig/debian/libdv4-dev.install
++++ libdv-0.104/debian/libdv4-dev.install
+@@ -0,0 +1,5 @@
++/usr/lib/*.a
++/usr/lib/*.la
++/usr/lib/*.so
++/usr/lib/pkgconfig/*.pc
++/usr/include/*
+--- libdv-0.104.orig/debian/libdv4.docs
++++ libdv-0.104/debian/libdv4.docs
+@@ -0,0 +1,6 @@
++AUTHORS
++NEWS
++README
++README.encoder
++README.dvconnect
++TODO
+--- libdv-0.104.orig/debian/libdv4.install
++++ libdv-0.104/debian/libdv4.install
+@@ -0,0 +1 @@
++/usr/lib/*.so.*
+--- libdv-0.104.orig/debian/rules
++++ libdv-0.104/debian/rules
+@@ -0,0 +1,122 @@
++#!/usr/bin/make -f
++# Sample debian/rules that uses debhelper.
++# GNU copyright 1997 to 1999 by Joey Hess.
++
++# Uncomment this to turn on verbose mode.
++#export DH_VERBOSE=1
++
++# This is the debhelper compatability version to use.
++export DH_COMPAT=4
++
++include /usr/share/dpatch/dpatch.make
++
++# shared library versions, option 1
++#version=2.0.5
++#major=2
++# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
++#version=`ls libdv/.libs/lib*.so.* | \
++# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
++#major=`ls libdv/.libs/lib*.so.* | \
++# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
++
++export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
++export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
++ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
++ libdv_confflags += --build $(DEB_HOST_GNU_TYPE)
++else
++ libdv_confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
++endif
++
++
++CFLAGS ?= -Wall -g
++ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
++CFLAGS += -O0
++else
++CFLAGS += -O2
++endif
++
++configure: configure-stamp
++configure-stamp:
++ dh_testdir
++ # Make sure we use the latest autotools helpers.
++ if test -f config.sub; then \
++ mv config.sub config.sub.debsave; \
++ fi
++ if test -f config.guess; then \
++ mv config.guess config.guess.debsave; \
++ fi
++
++ ln -sf /usr/share/misc/config.sub .
++ ln -sf /usr/share/misc/config.guess .
++
++ CFLAGS="$(CFLAGS)" ./configure $(libdv_confflags) \
++ --prefix=/usr --mandir=\$${prefix}/share/man \
++ --infodir=\$${prefix}/share/info --enable-sdl
++
++ touch configure-stamp
++
++build: patch-stamp configure-stamp build-stamp
++build-stamp:
++ dh_testdir
++
++ $(MAKE)
++
++ touch build-stamp
++
++clean: do-clean unpatch
++do-clean:
++ dh_testdir
++ dh_testroot
++ rm -f build-stamp configure-stamp
++
++ -$(MAKE) distclean
++
++ if test -L config.sub -a -e config.sub.debsave; then \
++ rm config.sub; \
++ if test -e config.sub.debsave; then \
++ mv config.sub.debsave config.sub; \
++ fi; \
++ fi
++ if test -L config.guess -a -e config.guess.debsave; then \
++ rm config.guess; \
++ if test -e config.guess.debsave; then \
++ mv config.guess.debsave config.guess; \
++ fi; \
++ fi
++
++ dh_clean
++
++install: build
++ dh_testdir
++ dh_testroot
++ dh_clean -k
++ dh_installdirs
++
++ $(MAKE) install DESTDIR=`pwd`/debian/tmp/
++
++
++# Build architecture-independent files here.
++binary-indep: build install
++# We have nothing to do by default.
++
++# Build architecture-dependent files here.
++binary-arch: build install
++ dh_testdir
++ dh_testroot
++ dh_install -A --sourcedir=debian/tmp # --list-missing
++ dh_installman
++ dh_link -A
++ dh_installdocs -plibdv4 -plibdv4-dev
++ dh_installchangelogs ChangeLog
++ dh_strip
++ dh_compress
++ dh_fixperms
++ dh_makeshlibs
++ dh_installdeb
++ dh_shlibdeps -L libdv4 -l debian/libdv4/usr/lib
++ dh_gencontrol
++ dh_md5sums
++ dh_builddeb
++
++binary: binary-indep binary-arch
++.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch do-clean
+--- libdv-0.104.orig/debian/changelog
++++ libdv-0.104/debian/changelog
+@@ -0,0 +1,315 @@
++libdv (0.104-1ubuntu2) dapper; urgency=low
++
++ * Remove build-dependency on gcc-3.4 [amd64], not used anymore.
++
++ -- Matthias Klose <doko@ubuntu.com> Thu, 16 Feb 2006 12:37:12 +0000
++
++libdv (0.104-1ubuntu1) dapper; urgency=low
++
++ * Resynchronise with Debian.
++
++ -- Tollef Fog Heen <tfheen@ubuntu.com> Mon, 14 Nov 2005 17:00:34 +0100
++
++libdv (0.104-1) unstable; urgency=low
++
++ * New upstream version. Closes: #298366
++ * Picks up new libsdl1.2 version to complete various library
++ transitions. Closes: #318237, #320882, #321549
++ * Added patches:
++ + [01_changelog_update_CVS] New, from upstream CVS.
++ Add 0.104 changelog entry that is not part of the released 0.104
++ tarball, so subsequent patches from upstream CVS can be applied
++ without modification.
++ + [10_amd64_linkage_fix_CVS] New, from upstream CVS.
++ Fix linker compatibility problems in amd64 assembly.
++ + [10_inline_fixes_CVS] New, from upstream CVS.
++ Fix build problems when compiler does not honour the inline hint.
++ + [20_no_exec_stack_CVS] New, from upstream CVS.
++ Add linker magic so assembly functions do no longer require an
++ executable stack.
++ * Updated patches:
++ + [10_zap_config_h]
++ Extend to take care of amd64 optimisations.
++ * debian/control: Complies with standards version 3.6.2.
++ * debian/rules: Export overridden CFLAGS. Closes: #306488
++
++ -- Daniel Kobras <kobras@debian.org> Wed, 17 Aug 2005 17:23:18 +0200
++
++libdv (0.103-2ubuntu1) breezy; urgency=low
++
++ * debian/control: added gcc-3.4 to build-depends for compiling issues on
++ amd64.
++
++ -- Stephan Hermann <sh@sourcecode.de> Thu, 25 Aug 2005 08:34:55 +0200
++
++libdv (0.103-2build1) breezy; urgency=low
++
++ * Rebuild for slang2 transition
++
++ -- Stephan Hermann <sh@sourcecode.de> Wed, 24 Aug 2005 20:56:34 +0200
++
++libdv (0.103-2) unstable; urgency=low
++
++ * debian/rules: Provide separate doc directory for libdv4-dev.
++ * debian/libdv4-dev.links: No longer symlink doc dir to the one
++ from libdv4.
++ * debian/NEWS: Only install into libdv4-dev. Closes: #259694
++
++ -- Daniel Kobras <kobras@debian.org> Mon, 19 Jul 2004 12:19:44 +0200
++
++libdv (0.103-1) unstable; urgency=low
++
++ * New upstream version.
++ * Removed patches:
++ + [10_dvconnect_disable_swap] Merged upstream.
++ + [10_no_gtk_deps] Merged upstream.
++ + [10_fix_wide_format] Merged upstream.
++ * debian/NEWS: Notify about removal of previously deprecated header
++ file dv1394.h.
++ * debian/control: Adjust build dependencies following the xlibs split.
++
++ -- Daniel Kobras <kobras@debian.org> Thu, 15 Jul 2004 17:53:16 +0200
++
++libdv (0.102-4) unstable; urgency=low
++
++ * Added patches:
++ + [10_fix_wide_format] New.
++ Fix detection of 16:9 (wide) format in non-SMPTE streams.
++ Closes: #248660
++
++ -- Daniel Kobras <kobras@debian.org> Thu, 13 May 2004 17:51:59 +0200
++
++libdv (0.102-3) unstable; urgency=low
++
++ * Added patches:
++ + [10_no_gtk_deps] New.
++ Remove glib and gtk dependencies from the pkgconfig file.
++ Closes: #245037
++
++ -- Daniel Kobras <kobras@debian.org> Wed, 21 Apr 2004 09:51:55 +0200
++
++libdv (0.102-2) unstable; urgency=low
++
++ * Upload to unstable.
++
++ -- Daniel Kobras <kobras@debian.org> Tue, 20 Apr 2004 09:34:20 +0200
++
++libdv (0.102-1) experimental; urgency=low
++
++ * New upstream version.
++ + Bumps library soname because of binary incompatibility. Still
++ source-level compatible, though.
++ + New API functions dv_format_letterbox(), and dv_is_normal_speed().
++ * debian/*: Rename library packages libdv2 -> libdv4, and
++ libdv2-dev -> libdv4-dev, following the soname change.
++ * debian/rules: Remove shlibs version as we're changing the package name
++ anyway.
++
++ -- Daniel Kobras <kobras@debian.org> Sun, 28 Mar 2004 23:52:01 +0200
++
++libdv (0.101-1) unstable; urgency=low
++
++ * New upstream version.
++ * Added patches:
++ + [10_zap_config_h] New.
++ Remove dependency of dv_types.h on config.h. Replace with standard
++ guesses that will do for the scope of the Debian package.
++ Closes: #199878
++ + [11_move_config_h_to_apps] New.
++ As a consequence of the above patch, a couple of source files now need
++ to include config.h themselves.
++ + [10_dvconnect_disable_swap] New.
++ In dvconnect, keep all pages in resident memory if possible because
++ swapping kills performance. Closes: #222498
++ * debian/control: Remove leading "A" from short description.
++ * debian/control: Bump standards version.
++ * debian/control: Build depend on dpatch.
++ * debian/copyright: Updated copyright assignments.
++ * debian/libdv-bin.manpages: dvconnect.1 now available upstream, new man
++ page dubdv.1.
++ * debian/NEWS: Warn about dv1394.h update.
++ * debian/rules: Bump shlibs to >= 0.101 as this version introduces new
++ API functions.
++ * debian/rules: Convert build system to dpatch.
++ * debian/rules: Improved config.guess/config.sub backup logic.
++
++ -- Daniel Kobras <kobras@debian.org> Tue, 20 Jan 2004 00:13:07 +0100
++
++libdv (0.99-3) unstable; urgency=low
++
++ * debian/control: Oops. Priority for -dev and -bin package back to extra.
++
++ -- Daniel Kobras <kobras@debian.org> Sun, 13 Apr 2003 15:24:02 +0200
++
++libdv (0.99-2) unstable; urgency=low
++
++ * debian/control: Adjust priority to optional. Build depend on file.
++ * configure: Change deplibs check to pass_all on mips and mipsel.
++ Closes: #188682.
++
++ -- Daniel Kobras <kobras@debian.org> Sun, 13 Apr 2003 14:25:31 +0200
++
++libdv (0.99-1) unstable; urgency=low
++
++ * New upstream version
++ * libdv/audio.c: Fix typo in audio emphasis handling. [From upstream CVS]
++ * libdv/enc_output.c: Fix aaux header in encoder output. [From upstream CVS]
++ * debian/rules: Add versioned shlibs dependency because of new audio
++ sample calculator.
++ * debian/rules: Drop debug from DEB_BUILD_OPTIONS, support noopt.
++ * debian/rules: Supply configure with proper build target.
++ * debian/control: Remove full stop from short description.
++ * debian/control: Bump standards version.
++ * debian/control: libdv2-dev now lives in section libdevel.
++ * debian/*: New binary dvconnect.
++ * debian/dvconnect.1: Quick man page for dvconnect.
++
++ -- Daniel Kobras <kobras@debian.org> Tue, 1 Apr 2003 16:58:18 +0200
++
++libdv (0.98-6) unstable; urgency=low
++
++ * Namespace cleanup:
++ + libdv/*.c: Mark a batch of local symbols as static.
++ + libdv/*.[hcS]: Prefix intra-lib symbols with _dv_.
++ + encodedv/*.c: Honour internal name changes.
++
++ -- Daniel Kobras <kobras@debian.org> Tue, 10 Dec 2002 01:34:29 +0100
++
++libdv (0.98-5) unstable; urgency=low
++
++ * debian/control: Need to tighten debhelper build dep for dh_shlibdeps -L
++ flag. Closes: #170993
++ * debian/control: Complies with standards version 3.5.8.
++
++ -- Daniel Kobras <kobras@debian.org> Thu, 28 Nov 2002 10:02:20 +0100
++
++libdv (0.98-4) unstable; urgency=low
++
++ * configure.ac, */Makefile.am: Do not push any lib into LIBS. Define
++ separate macros instead, and only add to the appropriate targets.
++ Closes: #167098
++ * configure.ac: While libdv pulls a types from libpopt, it does not
++ reference any libpopt function. Adding -lpopt to REQUIRES_NOPKGCONFIG was
++ nonsense therefore--it's a purely optional feature. (The dependency on
++ libpopt-dev must be retained, however, because dv_types.h includes
++ popt.h.)
++ * Update auto-generated files because of the above.
++
++ -- Daniel Kobras <kobras@debian.org> Wed, 30 Oct 2002 18:41:48 +0100
++
++libdv (0.98-3) unstable; urgency=low
++
++ * ChangeLog, libdv/dv1394.h, libdv/encode.c, libdv/enc_audio_input.[hc]:
++ Sync with upstream CVS as of 2002-10-27. Solely adds a more complete fix
++ to the PAL overflow issue. The previously included change alone caused
++ occiasional crashes still.
++ * debian/README.Debian: YUY bug turned out to be an Xv bug really, that is
++ now fixed. Nothing to document any longer, file removed.
++ * debian/rules: Tell dh_shlibdeps to use generated libdv2 shlibs file.
++
++ -- Daniel Kobras <kobras@debian.org> Sun, 27 Oct 2002 14:11:58 +0100
++
++libdv (0.98-2) unstable; urgency=low
++
++ * libdv/dv_types.h: Fix potential overflow in audio buffer with PAL
++ frames. (From upstream CVS.)
++
++ -- Daniel Kobras <kobras@debian.org> Sun, 11 Aug 2002 23:40:57 +0200
++
++libdv (0.98-1) unstable; urgency=low
++
++ * New upstream release.
++ * Build a shared lib now--PIC issues seem to be resolved.
++ * debian/control: Split into separate packages for runtime lib, devel
++ files, and sample binaries. Name of the devel package now includes
++ major version. Provides libdv-dev for compatibility. Suggest to move
++ source package from devel to section graphics.
++ * debian/copyright: Updated copyright entries. Rename encode to
++ encodedv.
++ * debian/rules: Move to debhelper v4. Honour package split. Build a
++ shared lib now. Add support for 'debug' in DEB_BUILD_OPTIONS.
++ * debian/README.Debian: Document YUY bug on some big-endian hardware.
++ Remove obsolete comment about absence to shared libs.
++
++ -- Daniel Kobras <kobras@debian.org> Thu, 1 Aug 2002 10:23:20 +0200
++
++libdv (0.9.5-3) unstable; urgency=low
++
++ * libdv.pc.in: Remove obsolete dependencies on glib and gtk. Hack in
++ library dependency on popt. Closes: #149901
++ * debian/control: Depend on libpopt-dev.
++
++ -- Daniel Kobras <kobras@debian.org> Thu, 27 Jun 2002 11:02:56 +0200
++
++libdv (0.9.5-2) unstable; urgency=low
++
++ * dv.c: Tell C version of dv_macroblock_yuv() about additional arguments
++ to YUY2 functions.
++ * idct_248.c: Fix types in C version of fixed_multiply().
++ * enc_input.c: Purge remaining glib types from C versions of f2b() and
++ f2sb.
++ * All of the above fix compile errors on non-x86. Closes: #142770
++
++ -- Daniel Kobras <kobras@debian.org> Sun, 14 Apr 2002 14:05:05 +0200
++
++libdv (0.9.5-1) unstable; urgency=low
++
++ * New upstream version.
++ This version is supposed to also work as a shared lib, but let's
++ keep the package static-only until woody is released, and we have
++ time to properly test this change.
++
++ -- Daniel Kobras <kobras@debian.org> Sat, 13 Apr 2002 17:35:34 +0200
++
++libdv (0.9-2) unstable; urgency=low
++
++ * Rebuild with libsdl1.2debian. (No code changes necessary.)
++ * Do not clobber upstream config.guess/config.sub.
++ * Configure with explicit host and build architecture as suggested in
++ autotools-dev README.
++ * Added note to package description explaining why there is no shared
++ version of the lib.
++ * Increased standards version.
++
++ -- Daniel Kobras <kobras@debian.org> Wed, 17 Oct 2001 14:12:46 +0200
++
++libdv (0.9-1) unstable; urgency=low
++
++ * New upstream version.
++ * Include auto-generated dependencies in control (doh!). Closes: #103016
++ * Always use latest autotools helpers.
++ * Versioned build dependency on libsdl1.2-dev. Autobuilders would choke
++ on earlier versions.
++
++ -- Daniel Kobras <kobras@debian.org> Tue, 31 Jul 2001 17:23:28 +0200
++
++libdv (0.8-2) unstable; urgency=low
++
++ * Fix compilation in non-asm mode. Closes: #96804
++
++ -- Daniel Kobras <kobras@debian.org> Wed, 9 May 2001 09:20:49 +0200
++
++libdv (0.8-1) unstable; urgency=low
++
++ * New upstream version.
++
++ -- Daniel Kobras <kobras@debian.org> Fri, 4 May 2001 19:55:35 +0200
++
++libdv (0.7-2) unstable; urgency=low
++
++ * Some MMX code in encode.c wasn't wrapped in ARCH_X86 conditionals.
++ Closes: #94521
++ * Build with SDL support.
++
++ -- Daniel Kobras <kobras@debian.org> Fri, 20 Apr 2001 09:42:53 +0200
++
++libdv (0.7-1) unstable; urgency=low
++
++ * Initial Release. Closes: #89510
++ * Renamed encode to encodedv.
++ * Added man pages for playdv and encodedv.
++ * Fixed bogus space in dv option string.
++ * Fixed missing time.h include in headers.c.
++
++ -- Daniel Kobras <kobras@debian.org> Thu, 12 Apr 2001 20:48:56 +0200
++
+--- libdv-0.104.orig/debian/patches/00list
++++ libdv-0.104/debian/patches/00list
+@@ -0,0 +1,6 @@
++01_changelog_update_CVS
++10_amd64_linkage_fix_CVS
++10_inline_fixes_CVS
++10_zap_config_h
++11_move_config_h_to_apps
++20_no_exec_stack_CVS
+--- libdv-0.104.orig/debian/patches/10_zap_config_h.dpatch
++++ libdv-0.104/debian/patches/10_zap_config_h.dpatch
+@@ -0,0 +1,103 @@
++#!/bin/sh -e
++## 10_zap_config_h.dpatch by Daniel Kobras <kobras@debian.org>
++##
++## All lines beginning with `## DP:' are a description of the patch.
++## DP: dv_types.h is part of the libdv API that has to be included
++## DP: in application code. Therefore, it may not reference libdv's
++## DP: private config.h.
++## DP: Of course, config.h was included for a reason, and this patch
++## DP: tries to cover it up, because at least in the scope of the
++## DP: Debian package we can reliably guess at the contents of config.h.
++
++if [ $# -lt 1 ]; then
++ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
++ exit 1
++fi
++
++[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
++patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
++
++case "$1" in
++ -patch) patch $patch_opts -p1 < $0;;
++ -unpatch) patch $patch_opts -p1 -R < $0;;
++ *)
++ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
++ exit 1;;
++esac
++
++exit 0
++
++@DPATCH@
++diff -urNad --exclude=CVS --exclude=.svn ./libdv/dv_types.h /tmp/dpep-work.X4gSie/libdv/libdv/dv_types.h
++--- ./libdv/dv_types.h 2005-07-10 19:31:16.000000000 +0200
+++++ /tmp/dpep-work.X4gSie/libdv/libdv/dv_types.h 2005-07-10 19:58:28.000000000 +0200
++@@ -26,10 +26,11 @@
++ #ifndef DV_TYPES_H
++ #define DV_TYPES_H
++
++-#if HAVE_CONFIG_H
++-# include <config.h>
++-#endif
++-
+++/* The Debian package is always compiled with popt support, but using it
+++ * in an application is optional. Declare HAVE_LIBPOPT before including
+++ * the libdv headers in order to access popt-specific entries in the
+++ * libdv API.
+++ */
++ #if HAVE_LIBPOPT
++ #include <popt.h>
++ #endif // HAVE_LIBPOPT
++@@ -38,11 +39,11 @@
++ #include <inttypes.h>
++ #include <stdio.h>
++ #include <time.h>
++-#if HAVE_ENDIAN_H
+++/* FIXME Some systems use machine/endian.h instead. We probably ought to
+++ * AC_SUBST the correct value in here. (Or use a namespace-clean dvconfig.h.)
+++ * This quick fix should do for glibc-based systems.
+++ */
++ #include <endian.h>
++-#elif HAVE_MACHINE_ENDIAN_H
++-#include <machine/endian.h>
++-#endif
++
++ /* please tell me these are defined somewhere standard??? */
++ #ifndef FALSE
++@@ -61,16 +62,33 @@
++ #define CLAMP(a,x,b) (MIN(b,MAX(a,x)))
++ #endif
++
+++/* FIXME These values indicate whether libdv was built with asm optimizations.
+++ * It had better be AC_SUBSTed, but for the purpose of the Debian package, we
+++ * can easily guess the correct value from standard compiler macros.
+++ */
+++#if !defined(ARCH_X86) && !defined(ARCH_X86_64)
+++# if defined (__x86_64)
+++# define ARCH_X86 0
+++# define ARCH_X86_64 1
+++# elif defined(i386)
+++# define ARCH_X86 1
+++# define ARCH_X86_64 0
+++# else
+++# define ARCH_X86 0
+++# define ARCH_X86_64 0
+++# endif
+++#endif
+++
++ // For now assume ARCH_X86 means GCC with hints.
++ #ifdef ARCH_X86
++-#define HAVE_GCC 1
+++#define LIBDV_HAVE_GCC 1
++ #endif
++ #ifdef ARCH_X86_64
++-#define HAVE_GCC 1
+++#define LIBDV_HAVE_GCC 1
++ #endif
++-//#define HAVE_GCC 0
+++//#define LIBDV_HAVE_GCC 0
++
++-#if HAVE_GCC
+++#if LIBDV_HAVE_GCC
++ #define ALIGN64 __attribute__ ((aligned (64)))
++ #define ALIGN32 __attribute__ ((aligned (32)))
++ #define ALIGN8 __attribute__ ((aligned (8)))
+--- libdv-0.104.orig/debian/patches/11_move_config_h_to_apps.dpatch
++++ libdv-0.104/debian/patches/11_move_config_h_to_apps.dpatch
+@@ -0,0 +1,54 @@
++#!/bin/sh -e
++## 11_move_config_h_to_apps.dpatch by Daniel Kobras <kobras@debian.org>
++##
++## All lines beginning with `## DP:' are a description of the patch.
++## DP: Removing inclusion of config.h from dv_types.h revealed two
++## DP: files that should include it themselves.
++
++if [ $# -lt 1 ]; then
++ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
++ exit 1
++fi
++
++[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
++patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
++
++case "$1" in
++ -patch) patch $patch_opts -p1 < $0;;
++ -unpatch) patch $patch_opts -p1 -R < $0;;
++ *)
++ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
++ exit 1;;
++esac
++
++exit 0
++
++@DPATCH@
++diff -urNad /home/kobras/src/debian/libdv/encodedv/encodedv.c libdv/encodedv/encodedv.c
++--- /home/kobras/src/debian/libdv/encodedv/encodedv.c 2004-01-19 13:06:49.000000000 +0100
+++++ libdv/encodedv/encodedv.c 2004-01-19 23:58:45.000000000 +0100
++@@ -24,6 +24,10 @@
++ * The libdv homepage is http://libdv.sourceforge.net/.
++ */
++
+++#ifdef HAVE_CONFIG_H
+++#include <config.h>
+++#endif
+++
++ #include <string.h>
++ #include "libdv/dv_types.h"
++ #include "libdv/dv.h"
++diff -urNad /home/kobras/src/debian/libdv/encodedv/insert_audio.c libdv/encodedv/insert_audio.c
++--- /home/kobras/src/debian/libdv/encodedv/insert_audio.c 2004-01-19 13:06:49.000000000 +0100
+++++ libdv/encodedv/insert_audio.c 2004-01-19 23:59:22.000000000 +0100
++@@ -23,6 +23,10 @@
++ * The libdv homepage is http://libdv.sourceforge.net/.
++ */
++
+++#ifdef HAVE_CONFIG_H
+++#include <config.h>
+++#endif
+++
++ #include "libdv/dv_types.h"
++
++ #include <stdio.h>
+--- libdv-0.104.orig/debian/patches/01_changelog_update_CVS.dpatch
++++ libdv-0.104/debian/patches/01_changelog_update_CVS.dpatch
+@@ -0,0 +1,35 @@
++#! /bin/sh /usr/share/dpatch/dpatch-run
++## 01_changelog_update_CVS.dpatch by Daniel Kobras <kobras@debian.org>
++##
++## All lines beginning with `## DP:' are a description of the patch.
++## DP: Include 0.104 changelog entry that is not part of released 0.104
++## DP: tarball. This is done so we can apply subsequent patches pristine
++## DP: from CVS without failing hunks because of the missing changelog
++## DP: entry.
++## DP: (Part of patch set 286 from upstream CVS. Unneeded updates to
++## DP: autogenerated files have been omitted.)
++
++@DPATCH@
++---------------------
++PatchSet 286
++Date: 2004/11/30 03:39:35
++Author: krasic
++Branch: HEAD
++Tag: libdv_0_104
++Log:
++0.104 release build
++
++Members:
++ ChangeLog:1.108->1.109
++
++Index: libdv/ChangeLog
++diff -u libdv/ChangeLog:1.108 libdv/ChangeLog:1.109
++--- libdv/ChangeLog:1.108 Mon Nov 29 17:44:55 2004
+++++ libdv/ChangeLog Mon Nov 29 19:39:35 2004
++@@ -1,3 +1,6 @@
+++2004-11-29 Charles "Buck" Krasic <krasic@acm.org>
+++ * libdv 0.104 release
+++
++ 2004-11-29 Dan Dennedy <dan@dennedy.org>
++ * libdv.pc: added -lm to make build more portable.
++
+--- libdv-0.104.orig/debian/patches/10_amd64_linkage_fix_CVS.dpatch
++++ libdv-0.104/debian/patches/10_amd64_linkage_fix_CVS.dpatch
+@@ -0,0 +1,302 @@
++#! /bin/sh /usr/share/dpatch/dpatch-run
++## 10_amd64_linkage_fix_CVS.dpatch by Daniel Kobras <kobras@debian.org>
++##
++## All lines beginning with `## DP:' are a description of the patch.
++## DP: Fix linker compatibility issues with amd64 assembly. (Dean Kolosiek)
++## DP: (Patch set 287 from upstream CVS.)
++
++@DPATCH@
++---------------------
++PatchSet 287
++Date: 2004/12/13 01:48:50
++Author: ddennedy
++Branch: HEAD
++Tag: (none)
++Log:
++fix linkage problems in x86_64 asm code
++
++Members:
++ ChangeLog:1.109->1.110
++ libdv/encode_x86_64.S:1.2->1.3
++ libdv/idct_block_mmx_x86_64.S:1.1->1.2
++ libdv/quant_x86_64.S:1.2->1.3
++ libdv/vlc_x86_64.S:1.1->1.2
++
++Index: libdv/ChangeLog
++diff -u libdv/ChangeLog:1.109 libdv/ChangeLog:1.110
++--- libdv/ChangeLog:1.109 Mon Nov 29 19:39:35 2004
+++++ libdv/ChangeLog Sun Dec 12 17:48:50 2004
++@@ -1,3 +1,7 @@
+++2004-12-12 Dan Dennedy <dan@dennedy.org>
+++ * *_x86_64.S: apply patch from Dean Kolosiek to fix linker
+++ compatibility.
+++
++ 2004-11-29 Charles "Buck" Krasic <krasic@acm.org>
++ * libdv 0.104 release
++
++Index: libdv/libdv/encode_x86_64.S
++diff -u libdv/libdv/encode_x86_64.S:1.2 libdv/libdv/encode_x86_64.S:1.3
++--- libdv/libdv/encode_x86_64.S:1.2 Tue Nov 16 19:36:30 2004
+++++ libdv/libdv/encode_x86_64.S Sun Dec 12 17:48:51 2004
++@@ -47,7 +47,8 @@
++
++ mov $63, %rcx # loop counter
++
++- mov vlc_encode_lookup(%rip), %r11
+++ mov vlc_encode_lookup@GOTPCREL(%rip), %r11
+++ mov (%r11),%r11
++
++ pxor %mm0, %mm0
++ pxor %mm2, %mm2
++@@ -129,7 +130,8 @@
++ add $2, %rdi /* skip the DC coefficient */
++ mov $63, %rcx
++
++- mov vlc_num_bits_lookup(%rip), %r11
+++ mov vlc_num_bits_lookup@GOTPCREL(%rip), %r11
+++ mov (%r11),%r11
++
++ vlc_num_bits_block_x86_loop:
++ movw (%rdi), %ax /* get the next coeffiecient */
++Index: libdv/libdv/idct_block_mmx_x86_64.S
++diff -u libdv/libdv/idct_block_mmx_x86_64.S:1.1 libdv/libdv/idct_block_mmx_x86_64.S:1.2
++--- libdv/libdv/idct_block_mmx_x86_64.S:1.1 Tue Oct 19 20:49:24 2004
+++++ libdv/libdv/idct_block_mmx_x86_64.S Sun Dec 12 17:48:51 2004
++@@ -22,7 +22,7 @@
++ /* void _dv_idct_88(dv_coeff_t *block) */
++ /* argument block=rdi */
++
++- lea preSC(%rip), %r11
+++ mov preSC@GOTPCREL(%rip), %r11
++
++ /*
++ * column 0: even part
++Index: libdv/libdv/quant_x86_64.S
++diff -u libdv/libdv/quant_x86_64.S:1.2 libdv/libdv/quant_x86_64.S:1.3
++--- libdv/libdv/quant_x86_64.S:1.2 Tue Nov 16 19:36:30 2004
+++++ libdv/libdv/quant_x86_64.S Sun Dec 12 17:48:51 2004
++@@ -73,10 +73,10 @@
++ /* pq = dv_quant_shifts[qno + dv_quant_offset[class]]; */
++ mov %rsi,%rax /* qno */
++ mov %rdx,%r12 /* class */
++- lea dv_quant_offset(%rip),%rcx
+++ mov dv_quant_offset@GOTPCREL(%rip),%rcx
++ movzbq (%rcx,%r12,1),%rcx /* dv_quant_offset[class] */
++ add %rcx,%rax /* qno + */
++- lea dv_quant_shifts(%rip),%r11
+++ mov dv_quant_shifts@GOTPCREL(%rip),%r11
++ lea (%r11,%rax,4),%r11 /* r11 is pq = dv_quant_shifts[...] */
++
++ /* extra = (class == 3); */
++@@ -217,10 +217,10 @@
++ mov %rsi,%rax /* qno */
++ mov %rdx,%r12 /* class */
++
++- lea dv_quant_offset(%rip),%rcx
+++ mov dv_quant_offset@GOTPCREL(%rip),%rcx
++ movzbq (%rcx,%r12,1),%rcx
++ add %rcx,%rax
++- lea dv_quant_shifts(%rip),%r11
+++ mov dv_quant_shifts@GOTPCREL(%rip),%r11
++ lea (%r11,%rax,4),%r11 /* r11 is pq */
++
++ /* extra = (class == 3); */
++Index: libdv/libdv/vlc_x86_64.S
++diff -u libdv/libdv/vlc_x86_64.S:1.1 libdv/libdv/vlc_x86_64.S:1.2
++--- libdv/libdv/vlc_x86_64.S:1.1 Tue Oct 19 20:49:24 2004
+++++ libdv/libdv/vlc_x86_64.S Sun Dec 12 17:48:51 2004
++@@ -16,28 +16,28 @@
++ /* klass = dv_vlc_classes[maxbits][(bits & (dv_vlc_class_index_mask[maxbits])) >> */
++ /* (dv_vlc_class_index_rshift[maxbits])]; */
++ /* xor %rbp,%rbp */
++- lea dv_vlc_class_index_mask(%rip),%r11 /* use %rip for PIC code */
+++ mov dv_vlc_class_index_mask@GOTPCREL(%rip),%r11 /* use %rip for PIC code */
++ mov (%r11,%rbx,4),%ebp /* int32 */ /* dv_vlc_class_index_mask[maxbits] */
++ and %eax,%ebp /* bits & */
++- lea dv_vlc_class_index_rshift(%rip),%rcx
+++ mov dv_vlc_class_index_rshift@GOTPCREL(%rip),%rcx
++ mov (%rcx,%rbx,4),%ecx /* int32 */ /* dv_vlc_class_index_rshift[maxbits] */
++ sar %cl,%ebp /* >> */
++- lea dv_vlc_classes(%rip),%rcx
+++ mov dv_vlc_classes@GOTPCREL(%rip),%rcx
++ mov (%rcx,%rbx,8),%rcx /* ptr */ /* dv_vlc_classes[maxbits], a pointer */
++ movsbq (%rcx,%rbp,1),%rbp /* int8 */ /* klass = */
++
++ /* *result = dv_vlc_lookups[klass][(bits & (dv_vlc_index_mask[klass])) >> */
++ /* (dv_vlc_index_rshift[klass])]; */
++ /* xor %rbx,%rbx */
++- lea dv_vlc_index_mask(%rip),%r11
+++ mov dv_vlc_index_mask@GOTPCREL(%rip),%r11
++ mov (%r11,%rbp,4),%ebx /* int32 */ /* (dv_vlc_index_mask[klass]) */
++ /* xor %rcx,%rcx */
++- lea dv_vlc_index_rshift(%rip),%r11
+++ mov dv_vlc_index_rshift@GOTPCREL(%rip),%r11
++ mov (%r11,%rbp,4),%ecx /* int32 */ /* dv_vlc_index_rshift[klass] */
++ and %eax,%ebx /* bits & */
++ sar %cl,%ebx /* >> */
++
++- lea dv_vlc_lookups(%rip),%r11
+++ mov dv_vlc_lookups@GOTPCREL(%rip),%r11
++ mov (%r11,%rbp,8),%rbp /* ptr */ /* dv_vlc_lookups[klass] */
++ mov (%rbp,%rbx,4),%ebp /* int32 */ /* *result = */
++
++@@ -57,7 +57,7 @@
++ mov %ebp,%ecx
++ sar $8,%ecx
++ and $0xff,%ecx /* result->len */
++- lea sign_mask(%rip),%rbx
+++ mov sign_mask@GOTPCREL(%rip),%rbx
++ mov (%rbx,%rcx,4),%ebx /* int32 */
++ and %ebx,%eax
++ neg %eax
++@@ -109,17 +109,17 @@
++ mov %rax,%rbp
++ and $0xfe00,%ebp
++ sar $9,%ebp
++- lea dv_vlc_class_lookup5(%rip),%r11
+++ mov dv_vlc_class_lookup5@GOTPCREL(%rip),%r11
++ movsbq (%r11,%rbp),%rbp /* int8 klass */
++
++- lea dv_vlc_index_mask(%rip),%rbx
+++ mov dv_vlc_index_mask@GOTPCREL(%rip),%rbx
++ mov (%rbx,%rbp,4),%ebx /* int32 */
++- lea dv_vlc_index_rshift(%rip),%rcx
+++ mov dv_vlc_index_rshift@GOTPCREL(%rip),%rcx
++ mov (%rcx,%rbp,4),%ecx /* int32 */
++ and %eax,%ebx
++ sar %cl,%ebx /* %rbx is klass */
++
++- lea dv_vlc_lookups(%rip),%r11
+++ mov dv_vlc_lookups@GOTPCREL(%rip),%r11
++ mov (%r11,%rbp,8),%rbp /* ptr */
++ mov (%rbp,%rbx,4),%ebp /* int32 */
++
++@@ -138,7 +138,7 @@
++ mov %ebp,%ecx
++ sar $8,%ecx
++ and $0xff,%ecx
++- lea sign_mask(%rip),%r11
+++ mov sign_mask@GOTPCREL(%rip),%r11
++ mov (%r11,%rcx,4),%ecx /* int32 */
++ and %ecx,%eax
++ neg %eax
++@@ -253,7 +253,7 @@
++
++ /* Attempt to use the shortcut first. If it hits, then
++ this vlc term has been decoded. */
++- lea dv_vlc_class1_shortcut(%rip),%r10
+++ mov dv_vlc_class1_shortcut@GOTPCREL(%rip),%r10
++ mov (%r10,%rcx,4),%r11d /* record32 dv_vlc_tab_t */
++ test $0x80,%r11d
++
++@@ -267,17 +267,17 @@
++
++ /* %rax is bits */
++
++- lea dv_vlc_class_lookup5(%rip),%r10
+++ mov dv_vlc_class_lookup5@GOTPCREL(%rip),%r10
++ movsbq (%r10,%rcx,1),%rcx /* int8 */
++
++ /* xor %r12,%r12 */
++- lea dv_vlc_index_mask(%rip),%r10
+++ mov dv_vlc_index_mask@GOTPCREL(%rip),%r10
++ mov (%r10,%rcx,4),%r12d /* int32 */
++
++- lea dv_vlc_lookups(%rip),%r10
+++ mov dv_vlc_lookups@GOTPCREL(%rip),%r10
++ mov (%r10,%rcx,8),%r11 /* ptr->record32 */
++
++- lea dv_vlc_index_rshift(%rip),%r10
+++ mov dv_vlc_index_rshift@GOTPCREL(%rip),%r10
++ mov (%r10,%rcx,4),%ecx /* int32 */
++
++ and %eax,%r12d
++@@ -303,7 +303,7 @@
++ mov %r11d,%ecx
++ sar $8,%ecx
++ and $0xff,%ecx
++- lea sign_mask(%rip),%r10
+++ mov sign_mask@GOTPCREL(%rip),%r10
++ mov (%r10,%rcx,4),%ecx /* int32 */
++ and %ecx,%eax
++ neg %eax
++@@ -388,7 +388,8 @@
++ mov %r11,%rsi /* bits */
++ mov %rax,%rdi /* bits_left */
++ lea vlc(%rip),%rdx /* *vlc */
++- call dv_decode_vlc
+++ mov dv_decode_vlc@GOTPCREL(%rip),%r11
+++ call *%r11
++ pop %rdx
++ pop %rsi
++ pop %rdi
++@@ -473,7 +474,7 @@
++ movl %r11d,dv_macroblock_t_eob_count(%r13) /* int32 */
++
++ /* mb->i = (seg->i + dv_super_map_vertical[m]) % (seg->isPAL?12:10); */
++- lea dv_super_map_vertical(%rip),%r11
+++ mov dv_super_map_vertical@GOTPCREL(%rip),%r11
++ movl (%r11,%rax,4),%r11d /* int32 */
++ /* xor %rcx,%rcx */
++ movl dv_videosegment_t_i(%r12),%ecx /* int32 */
++@@ -493,7 +494,7 @@
++ movl %r11d,dv_macroblock_t_i(%r13) /* int32 */
++
++ /* mb->j = dv_super_map_horizontal[m]; */
++- lea dv_super_map_horizontal(%rip),%r11
+++ mov dv_super_map_horizontal@GOTPCREL(%rip),%r11
++ movl (%r11,%rax,4),%r11d /* int32 */
++ movl %r11d,dv_macroblock_t_j(%r13) /* int32 */
++
++@@ -546,7 +547,8 @@
++
++ /* bl->reorder = &dv_reorder[bl->dct_mode][1]; */
++ shl $6,%rax /* *64 */
++- lea (dv_reorder+1)(%rip),%rcx
+++ mov dv_reorder@GOTPCREL(%rip),%rcx
+++ add $1,%rcx
++ add %rcx,%rax
++ mov %rax,dv_block_t_reorder(%r15) /* ptr */
++
++@@ -557,13 +559,13 @@
++ /* bl->offset= mb_start + dv_parse_bit_start[b]; */
++ /* xor %rcx,%rcx */
++ movl mb_start(%rip),%ecx /* int32 */
++- lea dv_parse_bit_start(%rip),%rax
+++ mov dv_parse_bit_start@GOTPCREL(%rip),%rax
++ mov (%rax,%r12,4),%eax /* int32 */
++ add %rcx,%rax
++ movl %eax,dv_block_t_offset(%r15) /* int32 */
++
++ /* bl->end= mb_start + dv_parse_bit_end[b]; */
++- lea dv_parse_bit_end(%rip),%rax
+++ mov dv_parse_bit_end@GOTPCREL(%rip),%rax
++ mov (%rax,%r12,4),%eax /* int32 */
++ add %ecx,%eax
++ mov %eax,dv_block_t_end(%r15) /* int32 */
++@@ -603,7 +605,8 @@
++ mov dv_videosegment_t_bs(%rdi),%rdi /* passed in rdi was seg, now passing seg->bs */
++ mov %r13,%rsi /* mb */
++ mov %r15,%rdx /* bl */
++- call dv_parse_ac_coeffs_pass0
+++ mov dv_parse_ac_coeffs_pass0@GOTPCREL(%rip),%r11
+++ call *%r11
++ pop %rdi
++ pop %rsi
++ pop %rdx
++@@ -635,10 +638,12 @@
++ mov %rsi,%rax /* quality */
++ and $DV_QUALITY_AC_MASK,%rax
++ cmp $DV_QUALITY_AC_2,%rax
+++
+++ jne done
+++ mov dv_parse_ac_coeffs@GOTPCREL(%rip),%r11
+++ jmp *%r11
++
++- jz dv_parse_ac_coeffs
++-
++- mov $0,%rax
+++done: mov $0,%rax
++
++ ret
++
+--- libdv-0.104.orig/debian/patches/10_inline_fixes_CVS.dpatch
++++ libdv-0.104/debian/patches/10_inline_fixes_CVS.dpatch
+@@ -0,0 +1,69 @@
++#! /bin/sh /usr/share/dpatch/dpatch-run
++## 10_inline_fixes_CVS.dpatch by Daniel Kobras <kobras@debian.org>
++##
++## All lines beginning with `## DP:' are a description of the patch.
++## DP: Fix build problems when compiler does not honour the inline hint.
++## DP: (Patch set 288 from upstream CVS.)
++
++@DPATCH@
++---------------------
++PatchSet 288
++Date: 2004/12/21 05:08:02
++Author: ddennedy
++Branch: HEAD
++Tag: (none)
++Log:
++convert extern inline to static inline
++
++Members:
++ ChangeLog:1.110->1.111
++ libdv/mmx.h:1.2->1.3
++ libdv/vlc.h:1.6->1.7
++
++Index: libdv/ChangeLog
++diff -u libdv/ChangeLog:1.110 libdv/ChangeLog:1.111
++--- libdv/ChangeLog:1.110 Sun Dec 12 17:48:50 2004
+++++ libdv/ChangeLog Mon Dec 20 21:08:02 2004
++@@ -1,3 +1,7 @@
+++2004-12-20 Dan Dennedy <dan@dennedy.org>
+++ * vlc.h, mmx.h: apply patch from Daniel Kobras to improve
+++ compile compatibillity by making extern inlinei, static inline..
+++
++ 2004-12-12 Dan Dennedy <dan@dennedy.org>
++ * *_x86_64.S: apply patch from Dean Kolosiek to fix linker
++ compatibility.
++Index: libdv/libdv/mmx.h
++diff -u libdv/libdv/mmx.h:1.2 libdv/libdv/mmx.h:1.3
++--- libdv/libdv/mmx.h:1.2 Sat Oct 27 20:23:57 2001
+++++ libdv/libdv/mmx.h Mon Dec 20 21:08:03 2004
++@@ -59,7 +59,7 @@
++
++ /* Function to test if multimedia instructions are supported...
++ */
++-inline extern int
+++inline static int
++ mm_support(void)
++ {
++ /* Returns 1 if MMX instructions are supported,
++@@ -223,7 +223,7 @@
++
++ /* Function to test if mmx instructions are supported...
++ */
++-inline extern int
+++inline static int
++ mmx_ok(void)
++ {
++ /* Returns 1 if MMX instructions are supported, 0 otherwise */
++Index: libdv/libdv/vlc.h
++diff -u libdv/libdv/vlc.h:1.6 libdv/libdv/vlc.h:1.7
++--- libdv/libdv/vlc.h:1.6 Mon Oct 20 12:46:50 2003
+++++ libdv/libdv/vlc.h Mon Dec 20 21:08:04 2004
++@@ -69,7 +69,7 @@
++ extern void dv_decode_vlc(int bits,int maxbits, dv_vlc_t *result);
++ extern void __dv_decode_vlc(int bits, dv_vlc_t *result);
++
++-extern __inline__ void dv_peek_vlc(bitstream_t *bs,int maxbits, dv_vlc_t *result) {
+++static inline void dv_peek_vlc(bitstream_t *bs,int maxbits, dv_vlc_t *result) {
++ if(maxbits < 16)
++ dv_decode_vlc(bitstream_show(bs,16),maxbits,result);
++ else
+--- libdv-0.104.orig/debian/patches/20_no_exec_stack_CVS.dpatch
++++ libdv-0.104/debian/patches/20_no_exec_stack_CVS.dpatch
+@@ -0,0 +1,207 @@
++#! /bin/sh /usr/share/dpatch/dpatch-run
++## 20_no_exec_stack_CVS.dpatch by Daniel Kobras <kobras@debian.org>
++##
++## All lines beginning with `## DP:' are a description of the patch.
++## DP: Alter assembler functions to not require an executable stack.
++## DP: (Nicholas Miell)
++## DP: (Part of patch set 289 from upstream CVS. Removed unrelated
++## DP: changes to libtool in same patch set.)
++
++@DPATCH@
++---------------------
++PatchSet 289
++Date: 2005/01/31 13:27:53
++Author: ddennedy
++Branch: HEAD
++Tag: (none)
++Log:
++remove execution stack from assembler functions
++
++Members:
++ ChangeLog:1.111->1.112
++ libdv/dct_block_mmx.S:1.3->1.4
++ libdv/dct_block_mmx_x86_64.S:1.1->1.2
++ libdv/encode_x86.S:1.3->1.4
++ libdv/encode_x86_64.S:1.3->1.4
++ libdv/idct_block_mmx.S:1.2->1.3
++ libdv/idct_block_mmx_x86_64.S:1.2->1.3
++ libdv/quant_x86.S:1.3->1.4
++ libdv/quant_x86_64.S:1.3->1.4
++ libdv/rgbtoyuv.S:1.5->1.6
++ libdv/rgbtoyuv_x86_64.S:1.1->1.2
++ libdv/transpose_x86.S:1.2->1.3
++ libdv/transpose_x86_64.S:1.1->1.2
++ libdv/vlc_x86.S:1.2->1.3
++ libdv/vlc_x86_64.S:1.2->1.3
++
++Index: libdv/ChangeLog
++diff -u libdv/ChangeLog:1.111 libdv/ChangeLog:1.112
++--- libdv/ChangeLog:1.111 Mon Dec 20 21:08:02 2004
+++++ libdv/ChangeLog Mon Jan 31 05:27:53 2005
++@@ -1,3 +1,7 @@
+++2005-01-31 Dan Dennedy <dan@dennedy.org>
+++ * *.S: apply patch from Nicholas Miell <nmiell@gmail.com>
+++ to not require execution stack for assembler functions.
+++
++ 2004-12-20 Dan Dennedy <dan@dennedy.org>
++ * vlc.h, mmx.h: apply patch from Daniel Kobras to improve
++ compile compatibillity by making extern inlinei, static inline..
++Index: libdv/libdv/dct_block_mmx_x86_64.S
++diff -u libdv/libdv/dct_block_mmx_x86_64.S:1.1 libdv/libdv/dct_block_mmx_x86_64.S:1.2
++--- libdv/libdv/dct_block_mmx_x86_64.S:1.1 Tue Oct 19 20:49:24 2004
+++++ libdv/libdv/dct_block_mmx_x86_64.S Mon Jan 31 05:27:54 2005
++@@ -53,6 +53,8 @@
++ scratch3: .quad 0
++ scratch4: .quad 0
++
+++.section .note.GNU-stack, "", @progbits
+++
++ .text
++
++ .align 8
++Index: libdv/libdv/encode_x86.S
++diff -u libdv/libdv/encode_x86.S:1.3 libdv/libdv/encode_x86.S:1.4
++--- libdv/libdv/encode_x86.S:1.3 Mon Oct 20 12:46:50 2003
+++++ libdv/libdv/encode_x86.S Mon Jan 31 05:27:54 2005
++@@ -27,6 +27,9 @@
++ ALLONE: .word 1,1,1,1
++ VLCADDMASK: .byte 255,0,0,0,255,0,0,0
++
+++
+++.section .note.GNU-stack, "", @progbits
+++
++ .text
++
++ .global _dv_vlc_encode_block_mmx
++Index: libdv/libdv/encode_x86_64.S
++diff -u libdv/libdv/encode_x86_64.S:1.3 libdv/libdv/encode_x86_64.S:1.4
++--- libdv/libdv/encode_x86_64.S:1.3 Sun Dec 12 17:48:51 2004
+++++ libdv/libdv/encode_x86_64.S Mon Jan 31 05:27:54 2005
++@@ -27,6 +27,8 @@
++ ALLONE: .word 1,1,1,1
++ VLCADDMASK: .byte 255,0,0,0,255,0,0,0
++
+++.section .note.GNU-stack, "", @progbits
+++
++ .text
++
++ .global _dv_vlc_encode_block_mmx_x86_64
++Index: libdv/libdv/idct_block_mmx.S
++diff -u libdv/libdv/idct_block_mmx.S:1.2 libdv/libdv/idct_block_mmx.S:1.3
++--- libdv/libdv/idct_block_mmx.S:1.2 Tue Dec 31 15:04:02 2002
+++++ libdv/libdv/idct_block_mmx.S Mon Jan 31 05:27:54 2005
++@@ -6,7 +6,7 @@
++ * (element[0][0] of the matrix)
++ */
++
++-
+++.section .note.GNU-stack, "", @progbits
++
++ .text
++ .align 4
++Index: libdv/libdv/idct_block_mmx_x86_64.S
++diff -u libdv/libdv/idct_block_mmx_x86_64.S:1.2 libdv/libdv/idct_block_mmx_x86_64.S:1.3
++--- libdv/libdv/idct_block_mmx_x86_64.S:1.2 Sun Dec 12 17:48:51 2004
+++++ libdv/libdv/idct_block_mmx_x86_64.S Mon Jan 31 05:27:54 2005
++@@ -13,6 +13,7 @@
++ /* If we're using MMX assembler, fold weights into the iDCT
++ prescale here instead of _dv_weight_init */
++
+++.section .note.GNU-stack, "", @progbits
++
++ .text
++ .align 4
++Index: libdv/libdv/quant_x86.S
++diff -u libdv/libdv/quant_x86.S:1.3 libdv/libdv/quant_x86.S:1.4
++--- libdv/libdv/quant_x86.S:1.3 Mon Oct 20 12:46:50 2003
+++++ libdv/libdv/quant_x86.S Mon Jan 31 05:27:54 2005
++@@ -24,6 +24,8 @@
++ * The libdv homepage is http://libdv.sourceforge.net/.
++ */
++
+++.section .note.GNU-stack, "", @progbits
+++.previous
++
++ /*
++
++Index: libdv/libdv/quant_x86_64.S
++diff -u libdv/libdv/quant_x86_64.S:1.3 libdv/libdv/quant_x86_64.S:1.4
++--- libdv/libdv/quant_x86_64.S:1.3 Sun Dec 12 17:48:51 2004
+++++ libdv/libdv/quant_x86_64.S Mon Jan 31 05:27:54 2005
++@@ -24,6 +24,8 @@
++ * The libdv homepage is http://libdv.sourceforge.net/.
++ */
++
+++.section .note.GNU-stack, "", @progbits
+++.previous
++
++ /*
++
++Index: libdv/libdv/rgbtoyuv.S
++diff -u libdv/libdv/rgbtoyuv.S:1.5 libdv/libdv/rgbtoyuv.S:1.6
++--- libdv/libdv/rgbtoyuv.S:1.5 Mon Oct 20 12:46:50 2003
+++++ libdv/libdv/rgbtoyuv.S Mon Jan 31 05:27:54 2005
++@@ -111,6 +111,8 @@
++
++ #endif
++
+++.section .note.GNU-stack, "", @progbits
+++
++ .text
++
++ #define _inPtr 8
++Index: libdv/libdv/rgbtoyuv_x86_64.S
++diff -u libdv/libdv/rgbtoyuv_x86_64.S:1.1 libdv/libdv/rgbtoyuv_x86_64.S:1.2
++--- libdv/libdv/rgbtoyuv_x86_64.S:1.1 Tue Oct 19 20:49:24 2004
+++++ libdv/libdv/rgbtoyuv_x86_64.S Mon Jan 31 05:27:54 2005
++@@ -111,6 +111,8 @@
++
++ #endif
++
+++.section .note.GNU-stack, "", @progbits
+++
++ .text
++
++ #define _inPtr 8
++Index: libdv/libdv/transpose_x86.S
++diff -u libdv/libdv/transpose_x86.S:1.2 libdv/libdv/transpose_x86.S:1.3
++--- libdv/libdv/transpose_x86.S:1.2 Tue Dec 31 15:04:03 2002
+++++ libdv/libdv/transpose_x86.S Mon Jan 31 05:27:54 2005
++@@ -1,3 +1,5 @@
+++.section .note.GNU-stack, "", @progbits
+++
++ .text
++ .global _dv_transpose_mmx
++
++Index: libdv/libdv/transpose_x86_64.S
++diff -u libdv/libdv/transpose_x86_64.S:1.1 libdv/libdv/transpose_x86_64.S:1.2
++--- libdv/libdv/transpose_x86_64.S:1.1 Tue Oct 19 20:49:24 2004
+++++ libdv/libdv/transpose_x86_64.S Mon Jan 31 05:27:54 2005
++@@ -1,3 +1,5 @@
+++.section .note.GNU-stack, "", @progbits
+++
++ .text
++ .global _dv_transpose_mmx_x86_64
++
++Index: libdv/libdv/vlc_x86.S
++diff -u libdv/libdv/vlc_x86.S:1.2 libdv/libdv/vlc_x86.S:1.3
++--- libdv/libdv/vlc_x86.S:1.2 Mon May 20 05:31:25 2002
+++++ libdv/libdv/vlc_x86.S Mon Jan 31 05:27:54 2005
++@@ -1,4 +1,6 @@
++ #include "asmoff.h"
+++.section .note.GNU-stack, "", @progbits
+++
++ .text
++ .align 4
++ .globl dv_decode_vlc
++Index: libdv/libdv/vlc_x86_64.S
++diff -u libdv/libdv/vlc_x86_64.S:1.2 libdv/libdv/vlc_x86_64.S:1.3
++--- libdv/libdv/vlc_x86_64.S:1.2 Sun Dec 12 17:48:51 2004
+++++ libdv/libdv/vlc_x86_64.S Mon Jan 31 05:27:54 2005
++@@ -1,4 +1,6 @@
++ #include "asmoff.h"
+++.section .note.GNU-stack, "", @progbits
+++
++ .text
++ .align 4
++ .globl dv_decode_vlc
+--- libdv-0.104.orig/debian/control
++++ libdv-0.104/debian/control
+@@ -0,0 +1,48 @@
++Source: libdv
++Section: graphics
++Priority: optional
++Maintainer: Daniel Kobras <kobras@debian.org>
++Build-Depends: debhelper (>= 4.1.1), libsdl1.2-dev (>= 1.2.2-1) | libsdl1.1-dev, libpopt-dev, libglib1.2-dev, libgtk1.2-dev, libx11-dev | xlibs-dev (>= 4.0), libxext-dev | xlibs-dev (>= 4.0), libxt-dev | xlibs-dev (>= 4.0), libxv-dev | xlibs-dev (>= 4.0), x-dev | xlibs-dev (>= 4.0), autotools-dev, pkg-config (>= 0.7), file, dpatch
++Standards-Version: 3.6.1
++
++Package: libdv4
++Section: libs
++Architecture: any
++Depends: ${shlibs:Depends}
++Recommends: libdv-bin
++Description: software library for DV format digital video (runtime lib)
++ The Quasar DV Codec (libdv) is a software decoder for DV format video, as
++ defined by the IEC 61834 and SMPTE 314M standards. DV is the encoding format
++ used by consumer-grade digital camcorders.
++ .
++ This package contains the library needed to run executables using libdv.
++
++Package: libdv4-dev
++Section: libdevel
++Priority: extra
++Architecture: any
++Depends: libc6-dev, libpopt-dev, libdv4 (= ${Source-Version})
++Conflicts: libdv-dev
++Replaces: libdv-dev
++Provides: libdv-dev
++Description: software library for DV format digital video (devel files)
++ The Quasar DV Codec (libdv) is a software decoder for DV format video, as
++ defined by the IEC 61834 and SMPTE 314M standards. DV is the encoding format
++ used by consumer-grade digital camcorders.
++ .
++ This package contains the development headers and library files needed to
++ compile programs using libdv.
++
++Package: libdv-bin
++Section: graphics
++Priority: extra
++Architecture: any
++Depends: ${shlibs:Depends}
++Replaces: libdv-dev (<< 0.98-1)
++Description: software library for DV format digital video (sample apps)
++ The Quasar DV Codec (libdv) is a software decoder for DV format video, as
++ defined by the IEC 61834 and SMPTE 314M standards. DV is the encoding format
++ used by consumer-grade digital camcorders.
++ .
++ This package contains sample programs for viewing, encoding, and transferring
++ DV data.
diff --git a/media/libs/libdv/libdv.mkbuild b/media/libs/libdv/libdv.mkbuild
new file mode 100644
index 0000000..541638c
--- /dev/null
+++ b/media/libs/libdv/libdv.mkbuild
@@ -0,0 +1,92 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/libdv/libdv-1.0.0.tar.gz"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="AUTHORS COPYING COPYRIGHT ChangeLog NEWS README README.dvconnect README.encoder TODO"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/libdv"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+libdv: libdv (libdv is a software codec for DV video)
+libdv:
+libdv: The Quasar DV codec (libdv) is a software codec for DV video, the
+libdv: encoding format used by most digital camcorders, typically those that
+libdv: support the IEEE 1394 (a.k.a. FireWire or i.Link) interface. Libdv
+libdv: was developed according to the official standards for DV video:
+libdv: IEC 61834 and SMPTE 314M.
+libdv:
+libdv: http://libdv.sourceforge.net/
+libdv:
+libdv:
+#<slackdesc
diff --git a/media/libs/libdvbpsi/libdvbpsi.mkbuild b/media/libs/libdvbpsi/libdvbpsi.mkbuild
new file mode 100644
index 0000000..c947dc0
--- /dev/null
+++ b/media/libs/libdvbpsi/libdvbpsi.mkbuild
@@ -0,0 +1,169 @@
+#################################################################
+## Generic template for Mkbuild
+##
+## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+#################################################################
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Rafael Diniz"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rd"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://download.videolan.org/pub/libdvbpsi/0.1.6/libdvbpsi5-0.1.6.tar.gz"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]="libdvbpsi5"
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]="libdvbpsi"
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]=""
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]=""
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]=""
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]=""
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]="-j4"
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+#[[SIGNING KEY ID]]=""
+#[[SIGNING URL]]=""
+#[[CONFIG FILES]]=""
+#[[PATCH URLS]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="others/unclassified/[[PKG NAME]]"
+[[SLACKBUILD PATH]]="media/libs/libdvbpsi"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: svn_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+libdvbpsi: libdvbpsi (a simple library for DVB PSI)
+libdvbpsi:
+libdvbpsi:
+libdvbpsi: Libdvbpsi is a simple library designed for decoding and
+libdvbpsi: generation of MPEG TS and DVB PSI tables.
+libdvbpsi:
+libdvbpsi:
+libdvbpsi:
+libdvbpsi:
+libdvbpsi: http://www.videolan.org/developers/libdvbpsi.html
+libdvbpsi:
+#<slackdesc
diff --git a/media/libs/libexif-gtk/libexif-gtk.mkbuild b/media/libs/libexif-gtk/libexif-gtk.mkbuild
new file mode 100644
index 0000000..8de69d8
--- /dev/null
+++ b/media/libs/libexif-gtk/libexif-gtk.mkbuild
@@ -0,0 +1,95 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/libexif/libexif-gtk-0.3.5.tar.bz2"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/libexif-gtk"
+
+# Patches
+[[PATCH URLS]]="http://ftp.de.debian.org/debian/pool/main/libe/libexif-gtk/libexif-gtk_0.3.5-3.diff.gz"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+libexif-gtk: libexif-gtk (library to read and write EXIF data)
+libexif-gtk:
+libexif-gtk: Libexif reads and writes EXIF metainformation from and to image
+libexif-gtk: files.
+libexif-gtk:
+libexif-gtk:
+libexif-gtk:
+libexif-gtk:
+libexif-gtk:
+libexif-gtk:
+libexif-gtk:
+#<slackdesc
diff --git a/media/libs/libiec61883/libiec61883.mkbuild b/media/libs/libiec61883/libiec61883.mkbuild
new file mode 100644
index 0000000..bd872c1
--- /dev/null
+++ b/media/libs/libiec61883/libiec61883.mkbuild
@@ -0,0 +1,101 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://www.linux1394.org/dl/libiec61883-1.1.0.tar.gz"
+
+#
+# Other configure arguments
+# Lets disable flac, as the build is broken
+[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc --with-docdir=/usr/doc/$PKG_NAME-$VERSION"
+
+#
+# Dependency list input
+[[SLACK REQUIRED]]="libraw1394"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog INSTALL NEWS README"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/libiec61883"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+libiec61883: libiec61883 (libiec61883 is Firewire video related library)
+libiec61883:
+libiec61883: This library is an implementation of IEC 61883, part 1 (CIP, plug
+libiec61883: registers, and CMP), part 2 (DV-SD), part 4 (MPEG2-TS), and part 6
+libiec61883: (AMDTP). Outside of IIDC, nearly all FireWire multimedia devices use
+libiec61883: IEC 61883 protocols.
+libiec61883:
+libiec61883:
+libiec61883:
+libiec61883: http://www.linux1394.org/
+libiec61883:
+#<slackdesc
diff --git a/media/libs/libjackasyn/libjackasyn.mkbuild b/media/libs/libjackasyn/libjackasyn.mkbuild
new file mode 100644
index 0000000..589abdf
--- /dev/null
+++ b/media/libs/libjackasyn/libjackasyn.mkbuild
@@ -0,0 +1,95 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://gige.xdv.org/libjackasyn/download/libjackasyn-0.13.tar.gz"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="AUTHORS CHANGELOG COPYING README TODO WORKING"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/libjackasyn"
+
+# Dependency list
+[[SLACK REQUIRED]]="jack"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+libjackasyn: libjackasyn
+libjackasyn:
+libjackasyn: libjackasyn is a library that allows you to use programs written
+libjackasyn: for the OSS sound API with the JACK audio server (jackit.sf.net).
+libjackasyn: libjackasyn is a library that can be used for two purposes.
+libjackasyn:
+libjackasyn:
+libjackasyn:
+libjackasyn:
+libjackasyn:
+libjackasyn:
+#<slackdesc
diff --git a/media/libs/liblo/liblo.mkbuild b/media/libs/liblo/liblo.mkbuild
new file mode 100644
index 0000000..27e48ef
--- /dev/null
+++ b/media/libs/liblo/liblo.mkbuild
@@ -0,0 +1,92 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/liblo/liblo-0.25.tar.gz"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README TODO"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/liblo"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+liblo: liblo
+liblo:
+liblo: LibLO is a lightweight library for handling the sending and
+liblo: receiving of messages according to the Open Sound Control (OSC)
+liblo: protocol on POSIX systems.
+liblo:
+liblo:
+liblo:
+liblo:
+liblo:
+liblo:
+#<slackdesc
diff --git a/media/libs/liblrdf/liblrdf.mkbuild b/media/libs/liblrdf/liblrdf.mkbuild
new file mode 100644
index 0000000..8cdf4f9
--- /dev/null
+++ b/media/libs/liblrdf/liblrdf.mkbuild
@@ -0,0 +1,95 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/lrdf/liblrdf-0.4.0.tar.gz"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog NEWS README"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/liblrdf"
+
+# Dependency list
+[[SLACK REQUIRED]]="raptor: ladspa"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+liblrdf: liblrdf (lightweight RDF)
+liblrdf:
+liblrdf: Liblrdf is a lightweight RDF library with special support for
+liblrdf: LADSPA plugins.
+liblrdf:
+liblrdf:
+liblrdf:
+liblrdf:
+liblrdf:
+liblrdf:
+liblrdf:
+#<slackdesc
diff --git a/media/libs/libquicktime/libquicktime-0.9.10.diff b/media/libs/libquicktime/libquicktime-0.9.10.diff
new file mode 100644
index 0000000..0cde430
--- /dev/null
+++ b/media/libs/libquicktime/libquicktime-0.9.10.diff
@@ -0,0 +1,30 @@
+diff -Naupr libquicktime-0.9.10.orig/plugins/x264/x264.c libquicktime-0.9.10/plugins/x264/x264.c
+--- libquicktime-0.9.10.orig/plugins/x264/x264.c 2006-07-25 13:35:15.000000000 +0200
++++ libquicktime-0.9.10/plugins/x264/x264.c 2006-10-24 13:40:41.000000000 +0200
+@@ -91,7 +91,7 @@ static void dump_params(x264_param_t * p
+ fprintf(stderr, " i_qp_step: %d\n", params->rc.i_qp_step);
+ fprintf(stderr, " b_cbr: %d\n", params->rc.b_cbr);
+ fprintf(stderr, " i_bitrate: %d\n", params->rc.i_bitrate);
+- fprintf(stderr, " i_rf_constant: %d\n", params->rc.i_rf_constant);
++ fprintf(stderr, " f_rf_constant: %d\n", params->rc.f_rf_constant);
+ fprintf(stderr, " f_rate_tolerance: %f\n", params->rc.f_rate_tolerance);
+ fprintf(stderr, " i_vbv_max_bitrate: %d\n", params->rc.i_vbv_max_bitrate);
+ fprintf(stderr, " i_vbv_buffer_size: %d\n", params->rc.i_vbv_buffer_size);
+@@ -493,7 +493,7 @@ static int encode(quicktime_t *file, uns
+ {
+ /* Force ABR */
+ codec->params.rc.i_rc_method = X264_RC_ABR;
+- codec->params.rc.i_rf_constant = 0;
++ codec->params.rc.f_rf_constant = 0;
+ if(codec->pass == 1)
+ {
+ /* Strings will be made private by x264 */
+@@ -655,7 +655,7 @@ static int set_parameter(quicktime_t *fi
+ INTPARAM("x264_i_bitrate", codec->params.rc.i_bitrate);
+
+ INTPARAM("x264_i_qp_constant", codec->params.rc.i_qp_constant);
+- INTPARAM("x264_i_rf_constant", codec->params.rc.i_rf_constant);
++ INTPARAM("x264_f_rf_constant", codec->params.rc.f_rf_constant);
+ INTPARAM("x264_i_qp_min", codec->params.rc.i_qp_min);
+ INTPARAM("x264_i_qp_max", codec->params.rc.i_qp_max);
+ INTPARAM("x264_i_qp_step", codec->params.rc.i_qp_step);
diff --git a/media/libs/libquicktime/libquicktime.mkbuild b/media/libs/libquicktime/libquicktime.mkbuild
new file mode 100644
index 0000000..19569f2
--- /dev/null
+++ b/media/libs/libquicktime/libquicktime.mkbuild
@@ -0,0 +1,98 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/libquicktime/libquicktime-1.0.3.tar.gz"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO"
+
+[[OTHER CONFIGURE ARGS]]="--with-docdir=/usr/doc/$PKG_NAME-$PKG_VERSION"
+
+#
+# Dependency list input
+[[SLACK REQUIRED]]="libx264"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/libquicktime"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+libquicktime: libquicktime (libquicktime is a library for quicktime/avi/mp4 files)
+libquicktime:
+libquicktime: libquicktime is a library for reading and writing quicktime files.
+libquicktime: It is based on the quicktime4linux library, with the following some
+libquicktime: extensions:
+libquicktime:
+libquicktime:
+libquicktime:
+libquicktime:
+libquicktime: http://libquicktime.sourceforge.net/
+libquicktime:
+#<slackdesc
diff --git a/media/libs/libsamplerate/libsamplerate.mkbuild b/media/libs/libsamplerate/libsamplerate.mkbuild
new file mode 100644
index 0000000..2e6ca7c
--- /dev/null
+++ b/media/libs/libsamplerate/libsamplerate.mkbuild
@@ -0,0 +1,92 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://www.mega-nerd.com/SRC/libsamplerate-0.1.4.tar.gz"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog INSTALL NEWS README"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/libsamplerate"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+libsamplerate: libsamplerate (libsamplerate is library for samplerate conversions)
+libsamplerate:
+libsamplerate: Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter
+libsamplerate: for audio. One example of where such a thing would be useful is
+libsamplerate: converting audio from the CD sample rate of 44.1kHz to the 48kHz
+libsamplerate: sample rate used by DAT players.
+libsamplerate: SRC is capable of arbitrary and time varying conversions ; from
+libsamplerate: downsampling by a factor of 256 to upsampling by the same factor.
+libsamplerate: Arbitrary in this case means that the ratio of input and output
+libsamplerate: sample rates can be an irrational number. The conversion ratio can
+libsamplerate: also vary with time for speeding up and slowing down effects.
+#<slackdesc
diff --git a/media/libs/libsndfile/libsndfile.mkbuild b/media/libs/libsndfile/libsndfile.mkbuild
new file mode 100644
index 0000000..c9322b1
--- /dev/null
+++ b/media/libs/libsndfile/libsndfile.mkbuild
@@ -0,0 +1,97 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://www.mega-nerd.com/libsndfile/libsndfile-1.0.17.tar.gz"
+
+#
+# Other configure arguments
+# Lets disable flac, as the build is broken
+[[OTHER CONFIGURE ARGS]]="--disable-flac --sysconfdir=/etc --with-docdir=/usr/doc/$PKG_NAME-$VERSION"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/libsndfile"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+libsndfile: libsndfile (libsndfile is a library for audio manipulation)
+libsndfile:
+libsndfile: Libsndfile is a C library for reading and writing files containing
+libsndfile: sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format)
+libsndfile: through one standard library interface. It is released in source
+libsndfile: code format under the Gnu Lesser General Public License.
+libsndfile:
+libsndfile:
+libsndfile:
+libsndfile: http://www.mega-nerd.com/libsndfile/
+libsndfile:
+#<slackdesc
diff --git a/media/libs/libx264/libx264.mkbuild b/media/libs/libx264/libx264.mkbuild
new file mode 100644
index 0000000..3b0ca1f
--- /dev/null
+++ b/media/libs/libx264/libx264.mkbuild
@@ -0,0 +1,122 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20080714-2245.tar.bz2"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]="libx264"
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]="20080714"
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="x264-snapshot-$VERSION-2245.tar.$EXTENSION"
+
+#
+# Other configure arguments
+[[OTHER CONFIGURE ARGS]]="--enable-shared --enable-visualize --enable-pic"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="AUTHORS COPYING"
+
+#
+# Dependency list input
+[[SLACK REQUIRED]]="yasm"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/libx264"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+libx264: libx264 (x264 is a free library for encoding H264/AVC video streams)
+libx264:
+libx264: x264 is a free library for encoding H264/AVC video streams. The code
+libx264: is written from scratch by Laurent Aimar, Loren Merritt, Eric Petit
+libx264: (OS X), Min Chen (vfw/asm), Justin Clay (vfw), Måns Rullgård, Radek
+libx264: Czyz, Christian Heine (asm), Alex Izvorski, and Alex Wright. It is
+libx264: released under the terms of the GPL license.
+libx264:
+libx264:
+libx264: http://developers.videolan.org/x264.html
+libx264:
+#<slackdesc
+
+#<untar_source
+# Untar
+cd "$PKG_WORK"
+[[UNPACKER]] [[UNPACKER FLAGS]] "$SRC_DIR/$SRC" || exit $ERROR_TAR
+PKG_SRC="$PWD/`ls -l | awk '/^d/ { print $NF }'`"
+cd "$PKG_SRC-2245"
+#<untar_source
diff --git a/media/libs/openexr/openexr.mkbuild b/media/libs/openexr/openexr.mkbuild
new file mode 100644
index 0000000..292069b
--- /dev/null
+++ b/media/libs/openexr/openexr.mkbuild
@@ -0,0 +1,98 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://download.savannah.gnu.org/releases/openexr/openexr-1.6.1.tar.gz"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README"
+
+[[OTHER CONFIGURE ARGS]]="--with-docdir=/usr/doc/$PKG_NAME-$PKG_VERSION"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/openexr"
+
+#
+# Dependency list input
+[[SLACK REQUIRED]]="ilmbase"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+openexr: OpenEXR (OpenEXR set of libraries for higher color fidelity images)
+openexr:
+openexr: OpenEXR supports several lossless compression methods, some of which
+openexr: can achieve compression ratios of about 2:1 for images with film
+openexr: grain. OpenEXR is extensible, so developers can easily add new
+openexr: compression methods (lossless or lossy).
+openexr:
+openexr:
+openexr:
+openexr: http://www.openexr.com/
+openexr:
+#<slackdesc
diff --git a/media/libs/raptor/raptor.mkbuild b/media/libs/raptor/raptor.mkbuild
new file mode 100644
index 0000000..edc9c0a
--- /dev/null
+++ b/media/libs/raptor/raptor.mkbuild
@@ -0,0 +1,98 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://download.librdf.org/source/raptor-1.4.18.tar.gz"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="AUTHORS COPYING* ChangeLog* LICENSE* NEWS* NOTICE README*"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/raptor"
+
+# Signing key
+[[SIGNING KEY URL]]="http://purl.org/net/dajobe/gnupg.asc"
+
+# Source signature
+[[SIGNING URL]]="http://download.librdf.org/source/raptor-1.4.18.tar.gz.asc"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+ on: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+raptor: raptor (RDF parser/serializer library)
+raptor:
+raptor: Raptor is a free software / Open Source C library that provides a
+raptor: set of parsers and serializers that generate Resource Description
+raptor: Framework (RDF) triples by parsing syntaxes or serialize the triples
+raptor: into a syntax. The supported parsing syntaxes are RDF/XML, N-Triples,
+raptor: Turtle, RSS tag soup including Atom 0.3, GRDDL for XHTML and XML.
+raptor: The serializing syntaxes ar eRDF/XML, N-Triples and RSS 1.0.
+raptor:
+raptor:
+raptor:
+#<slackdesc
diff --git a/media/libs/speex/speex.mkbuild b/media/libs/speex/speex.mkbuild
new file mode 100644
index 0000000..4850470
--- /dev/null
+++ b/media/libs/speex/speex.mkbuild
@@ -0,0 +1,92 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://downloads.xiph.org/releases/speex/speex-1.2beta3.tar.gz"
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+[[DOCUMENTATION FILES]]="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="media/libs/speex"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+speex: speex
+speex:
+speex: Speex is an Open Source/Free Software patent-free audio
+speex: compression format designed for speech. The Speex Project
+speex: aims to lower the barrier of entry for voice applications
+speex: by providing a free alternative to expensive proprietary
+speex: speech codecs. Moreover, Speex is well-adapted to Internet
+speex: applications and provides useful features that are not
+speex: present in most other codecs.
+speex:
+speex:
+#<slackdesc
diff --git a/media/libs/unicap/unicap.mkbuild b/media/libs/unicap/unicap.mkbuild
new file mode 100644
index 0000000..f11c5e1
--- /dev/null
+++ b/media/libs/unicap/unicap.mkbuild
@@ -0,0 +1,169 @@
+#################################################################
+## Generic template for Mkbuild
+##
+## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+#################################################################
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Rafael Diniz"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rd"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://unicap-imaging.org/downloads/unicap-0.2.23.tar.gz"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]=""
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]=""
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]=""
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]=""
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]=""
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]=""
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]="-j3"
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+#[[SIGNING KEY ID]]=""
+#[[SIGNING URL]]=""
+#[[CONFIG FILES]]=""
+#[[PATCH URLS]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="others/unclassified/[[PKG NAME]]"
+[[SLACKBUILD PATH]]="media/libs/unicap"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: svn_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+unicap: unicap (video capture library)
+unicap:
+unicap: Unicap provides a uniform interface to video capture
+unicap: devices. It allows applications to use any supported
+unicap: video capture device via a single API.
+unicap:
+unicap:
+unicap:
+unicap:
+unicap: http://unicap-imaging.org/
+unicap:
+#<slackdesc
diff --git a/media/libs/xine-lib/xine-lib.mkbuild b/media/libs/xine-lib/xine-lib.mkbuild
new file mode 100644
index 0000000..03e934a
--- /dev/null
+++ b/media/libs/xine-lib/xine-lib.mkbuild
@@ -0,0 +1,160 @@
+#################################################################
+## Generic template for Mkbuild
+##
+## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+#################################################################
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Rudson R. Alves"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rra"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://prdownloads.sourceforge.net/xine/xine-lib-1.1.10.1.tar.bz2"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]=""
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]=""
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]=""
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]=""
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]=""
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]="--enable-antialiasing --with-w32-path=$LIBDIR/codecs --sysconfdir=/etc --localstatedir=/var"
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]="-j4"
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="others/unclassified/xine-lib"
+[[SLACKBUILD PATH]]="media/libs/xine-lib"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+ on: download_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+ on: install_documentation
+ on: slackdesc
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+xine-lib: xine-lib by Slack.Sarava
+xine-lib:
+xine-lib: xine-lib is a free (GPL licensed) high-performance multimedia
+xine-lib: playback engine. The xine shared libraries are used by xine-ui (and
+xine-lib: other media players and multimedia applications) for smooth video
+xine-lib: processing and playback of multimedia streams such as movies, radio
+xine-lib: and TV network streams, DVDs, and VCDs.
+xine-lib:
+xine-lib:
+xine-lib:
+xine-lib:
+#<slackdesc
diff --git a/media/libs/zvbi/zvbi.mkbuild b/media/libs/zvbi/zvbi.mkbuild
new file mode 100644
index 0000000..d25e26f
--- /dev/null
+++ b/media/libs/zvbi/zvbi.mkbuild
@@ -0,0 +1,167 @@
+#################################################################
+## Generic template for Mkbuild
+##
+## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+#################################################################
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Rafael Diniz"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rd"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://ufpr.dl.sourceforge.net/sourceforge/zapping/zvbi-0.2.30.tar.bz2"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]=""
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]=""
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]=""
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]=""
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]=""
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]=""
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]="-j4"
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+#[[SIGNING KEY ID]]=""
+#[[CONFIG FILES]]=""
+#[[PATCH URLS]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="others/unclassified/[[PKG NAME]]"
+[[SLACKBUILD PATH]]="media/libs/zvbi"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: svn_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: untar_source
+off: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+zvbi: zvbi by Slack.Sarava
+zvbi:
+zvbi: The ZVBI library provides routines to access raw VBI sampling devices,
+zvbi: a versatile raw VBI bit slicer, decoders for various data services and
+zvbi: basic search, render and export functions for text pages. The library
+zvbi: was written for the Zapping TV viewer and Zapzilla Teletext browser.
+zvbi:
+zvbi:
+zvbi:
+zvbi:
+zvbi:
+#<slackdesc