From e610426786f8e1dfc595e83045f06ca8db04a0f8 Mon Sep 17 00:00:00 2001 From: rudson Date: Tue, 29 Apr 2008 14:35:03 +0000 Subject: git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@214 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- media/libs/guilib/GUIlib.mkbuild | 166 +++++++++++++++++++++++++++ media/libs/sdl-mixer/SDL_image.mkbuild | 166 +++++++++++++++++++++++++++ media/libs/sdl-mixer/SDL_mixer.mkbuild | 165 ++++++++++++++++++++++++++ media/libs/sdl-net/SDL_net.mkbuild | 166 +++++++++++++++++++++++++++ media/libs/sdl-rotozoom/SDL_rotozoom.mkbuild | 166 +++++++++++++++++++++++++++ media/libs/sdl-sound/SDL_sound.mkbuild | 145 +++++++++++++++++++++++ media/libs/sdl-sound/sdl-sound.mkbuild | 147 ------------------------ media/libs/sdl-ttf/SDL_ttf.mkbuild | 166 +++++++++++++++++++++++++++ media/libs/smpeg/smpeg.mkbuild | 166 +++++++++++++++++++++++++++ 9 files changed, 1306 insertions(+), 147 deletions(-) create mode 100644 media/libs/guilib/GUIlib.mkbuild create mode 100644 media/libs/sdl-mixer/SDL_image.mkbuild create mode 100644 media/libs/sdl-mixer/SDL_mixer.mkbuild create mode 100644 media/libs/sdl-net/SDL_net.mkbuild create mode 100644 media/libs/sdl-rotozoom/SDL_rotozoom.mkbuild create mode 100644 media/libs/sdl-sound/SDL_sound.mkbuild delete mode 100644 media/libs/sdl-sound/sdl-sound.mkbuild create mode 100644 media/libs/sdl-ttf/SDL_ttf.mkbuild create mode 100644 media/libs/smpeg/smpeg.mkbuild (limited to 'media') diff --git a/media/libs/guilib/GUIlib.mkbuild b/media/libs/guilib/GUIlib.mkbuild new file mode 100644 index 0000000..9dcf5c1 --- /dev/null +++ b/media/libs/guilib/GUIlib.mkbuild @@ -0,0 +1,166 @@ +################################################################# +## 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://www.libsdl.org/projects/GUIlib/src/GUIlib-1.2.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]]="sdl" + +# +# 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]]="CHANGES COPYING README" + +# +# ./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/GUIlib" +[[SLACKBUILD PATH]]="media/libs/guilib" + +#--------------------- +# 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 +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 +GUIlib: GUIlib by Slack.Sarava +GUIlib: +GUIlib: This is a very simple GUI framework, for use with SDL. +GUIlib: It is very flexible, but is by no means a complete windowing system. +GUIlib: Feel free to improve it!! :) +GUIlib: +GUIlib: It contains a C++ GUI class with a very rudimentary C interface, +GUIlib: and a set of useful widget classes. +GUIlib: +GUIlib: +GUIlib: +#>' 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 +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 +SDL_image: SDL_image by Slack.Sarava +SDL_image: +SDL_image: This is a simple library to load images of various formats as SDL +SDL_image: surfaces. This library supports BMP, PNM (PPM/PGM/PBM), XPM, LBM, +SDL_image: PCX, GIF, JPEG, PNG, TGA, and TIFF formats. +SDL_image: +SDL_image: +SDL_image: +SDL_image: +SDL_image: +SDL_image: +#>' 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 +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 +SDL_mixer: SDL_mixer by Slack.Sarava +SDL_mixer: +SDL_mixer: This is an example portable network library for use with SDL. +SDL_mixer: It is available under the GNU Library General Public License. +SDL_mixer: The API can be found in the file SDL_net.h +SDL_mixer: This library supports UNIX, Windows, MacOS Classic, MacOS X, +SDL_mixer: BeOS and QNX. +SDL_mixer: +SDL_mixer: +SDL_mixer: +#>' 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 +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 +SDL_net: SDL_net by Slack.Sarava +SDL_net: +SDL_net: This is an example portable network library for use with SDL. +SDL_net: It is available under the GNU Library General Public License. +SDL_net: The API can be found in the file SDL_net.h +SDL_net: This library supports UNIX, Windows, MacOS Classic, MacOS X, +SDL_net: BeOS and QNX. +SDL_net: +SDL_net: +SDL_net: +SDL_net: +#>' 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 +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 +SDL_rotozoom: SDL_rotozoom by Slack.Sarava +SDL_rotozoom: +SDL_rotozoom: Rotates and zoomes a 32bit or 8bit 'src' surface to newly created +SDL_rotozoom: 'dst' surface. +SDL_rotozoom: +SDL_rotozoom: +SDL_rotozoom: +SDL_rotozoom: +SDL_rotozoom: +SDL_rotozoom: +SDL_rotozoom: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +# on: md5sum_download_and_check_0 +#on: md5sum_download_and_check_1 +#on: gpg_signature_check + on: untar_source +#on: path_source + on: configure + on: make_package + on: install_package + on: strip_binaries +#on: compress_manpages +#on: compress_info_files + on: install_documentation + on: slackdesc +#on: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +sdl-sound: SDL_sound by Slack.Sarava +sdl-sound: +sdl-sound: SDL_sound is a library that handles the decoding of several popular +sdl-sound: sound file formats such as .WAV and .MP3. Designed to make the task +sdl-sound: of sound playback easier, SDL_sound accepts files or other input +sdl-sound: through an abstraction layer and returns the decoded waveform. +sdl-sound: SDL_sound can decode a whole sound file and hand back a single +sdl-sound: pointer to the waveform, or SDL_sound can process sound data in +sdl-sound: programmer-specified blocks when resource constraints are a concern. +sdl-sound: SDL_sound can also handle sample rate, audio format, and channel +sdl-sound: conversion on-the-fly. +#>' and "#<<" tags. -#>> Start SlackBuild Sections: - on: head - on: slackbuildrc - on: set_variables - on: slkflags - on: error_codes - on: start_structure - on: download_source -# on: md5sum_download_and_check_0 -#on: md5sum_download_and_check_1 -#on: gpg_signature_check - on: untar_source -#on: path_source - on: configure - on: make_package - on: install_package - on: strip_binaries -#on: compress_manpages -#on: compress_info_files - on: install_documentation - on: slackdesc -#on: postinstall_script - on: build_package - on: clean_builds -#<< End SlackBuild Sections - -#------------------ -# Sections changes -#------------------ -#>slackdesc -sdl-sound: SDL_sound by Slack.Sarava -sdl-sound: -sdl-sound: SDL_sound is a library that handles the decoding of several popular -sdl-sound: sound file formats such as .WAV and .MP3. Designed to make the task -sdl-sound: of sound playback easier, SDL_sound accepts files or other input -sdl-sound: through an abstraction layer and returns the decoded waveform. -sdl-sound: SDL_sound can decode a whole sound file and hand back a single -sdl-sound: pointer to the waveform, or SDL_sound can process sound data in -sdl-sound: programmer-specified blocks when resource constraints are a concern. -sdl-sound: SDL_sound can also handle sample rate, audio format, and channel -sdl-sound: conversion on-the-fly. -#>' 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 +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 +SDL_ttf: SDL_ttf by Slack.Sarava +SDL_ttf: +SDL_ttf: This library allows you to use TrueType fonts to render text in SDL +SDL_ttf: applications. +SDL_ttf: +SDL_ttf: +SDL_ttf: +SDL_ttf: +SDL_ttf: +SDL_ttf: +SDL_ttf: +#>' 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 +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 +smpeg: smpeg by Slack.Sarava +smpeg: +smpeg: SMPEG is a free MPEG1 video player library with sound support. +smpeg: Video playback is based on the ubiquitous Berkeley MPEG player, +smpeg: mpeg_play v2.2. Audio is played through a slightly modified +smpeg: mpegsound library, part of Splay v0.8.2. SMPEG supports MPEG +smpeg: audio (MP3), MPEG-1 video, and MPEG system streams. +smpeg: +smpeg: +smpeg: +smpeg: +#