コード例 #1
0
ファイル: _pkg_m.py プロジェクト: alexey-lysiuk/bym
#
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

from command import ConfigureStaticInstall, Library, PythonSetupTools
import configuration
import repository

pkg = repository.add_package

pkg(name='mad',
    source=
    'https://downloads.sourceforge.net/project/mad/libmad/0.15.1b/libmad-0.15.1b.tar.gz',
    checksum='bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690',
    commands=Library())
pkg(name='mc',
    source='https://www.midnight-commander.org/downloads/mc-4.8.19.tar.xz',
    checksum='eb9e56bbb5b2893601d100d0e0293983049b302c5ab61bfb544ad0ee2cc1f2df',
    dependencies=('glib', 'slang', 'ssh2'),
    commands=ConfigureStaticInstall(
        'LDFLAGS=-framework CoreServices ' +
        configuration.environment['LDFLAGS'], 'ac_cv_func_utimensat=no'))
pkg(name='meson',
    source=
    'https://github.com/mesonbuild/meson/releases/download/0.54.0/meson-0.54.0.tar.gz',
    checksum='dde5726d778112acbd4a67bb3633ab2ee75d33d1e879a6283a7b4a44c3363c27',
    dependencies='ninja',
    commands=PythonSetupTools())
pkg(name='modplug',
    source=
コード例 #2
0
#    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, see <http://www.gnu.org/licenses/>.
#

from command import Library, Tool
import repository

pkg = repository.add_package

pkg(name='vorbis',
    source='https://downloads.xiph.org/releases/vorbis/libvorbis-1.3.7.tar.xz',
    checksum='b33cc4934322bcbf6efcbacf49e3ca01aadbea4114ec9589d1b1e9d20f72954b',
    dependencies='ogg',
    commands=Library())
pkg(name='vorbis-tools',
    source=
    'https://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz',
    checksum='a389395baa43f8e5a796c99daf62397e435a7e73531c9f44d9084055a05d22bc',
    dependencies=('vorbis', 'flac', 'ao'),
    commands=Tool())
pkg(name='vpx',
    source='https://github.com/webmproject/libvpx/archive/v1.9.0.tar.gz',
    checksum='d279c10e4b9316bf11a570ba16c3d55791e1ad6faa4404c67422eb631782c80a',
    dependencies='yasm',
    commands=Library('--disable-examples', '--disable-unit-tests'))
コード例 #3
0
#    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, see <http://www.gnu.org/licenses/>.
#

from command import CMakeInstall, Library, Make
import repository

pkg = repository.add_package

pkg(name='ffi',
    source=
    'https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz',
    checksum='72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056',
    commands=Library())
pkg(name='flac',
    source='https://downloads.xiph.org/releases/flac/flac-1.3.3.tar.xz',
    checksum='213e82bd716c9de6db2f98bcadbc4c24c7e2efe8c75939a1a84e28539c4e1748',
    dependencies='ogg',
    commands=Library())
pkg(name='fluidsynth',
    source='https://github.com/FluidSynth/fluidsynth/archive/v2.1.5.tar.gz',
    checksum='b539b7c65a650b56f01cd60a4e83c6125c217c5a63c0c214ef6274894a677d00',
    dependencies=('glib', 'instpatch', 'sndfile'),
    commands=CMakeInstall(
        '-DCMAKE_EXE_LINKER_FLAGS=-framework Foundation -lffi -lpcre -L' +
        configuration.lib_path, '-DBUILD_SHARED_LIBS=NO', '-DLIB_SUFFIX=',
        '-Denable-framework=NO', '-Denable-readline=NO', '-Denable-sdl2=NO'))
pkg(name='fmt',
    source='https://github.com/fmtlib/fmt/archive/6.2.1.tar.gz',
コード例 #4
0
ファイル: _pkg_s.py プロジェクト: alexey-lysiuk/bym
#    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, see <http://www.gnu.org/licenses/>.
#

from command import Autogen, Make, CMakeInstall, Configure, Library, Tool
import configuration
import repository

pkg = repository.add_package

pkg(name='samplerate',
    source='http://www.mega-nerd.com/SRC/libsamplerate-0.1.9.tar.gz',
    checksum='0a7eb168e2f21353fb6d84da152e4512126f7dc48ccb0be80578c565413444c1',
    commands=Library())
pkg(
    name='sdl',
    # The latest stable version 1.2.15 has way too many bugs
    source='https://hg.libsdl.org/SDL/archive/ab7529cb9558.tar.bz2',
    checksum='5059e831b56fe43a08859d4696a4dcfc1be6a8e826e7a214e114cd7f14cbefd4',
    dependencies='iconv',
    commands=(Autogen(), Library('--without-x')))
pkg(name='sdl_gfx',
    source='http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.26.tar.gz',
    checksum='7ceb4ffb6fc63ffba5f1290572db43d74386cd0781c123bc912da50d34945446',
    dependencies='sdl',
    commands=Library())
pkg(name='sdl_image',
    source=
    'https://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12.tar.gz',
コード例 #5
0
ファイル: _pkg_g.py プロジェクト: alexey-lysiuk/bym
#
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

from command import Command, Install, Library, Make, Meson
import configuration
import repository

pkg = repository.add_package

pkg(name='gcrypt',
    source='https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.8.4.tar.bz2',
    checksum='f638143a0672628fde0cad745e9b14deb85dffb175709cacc1f4fe24b93f2227',
    dependencies='gpg-error',
    commands=Library())
pkg(name='gdbm',
    source='https://ftp.gnu.org/gnu/gdbm/gdbm-1.18.1.tar.gz',
    checksum='86e613527e5dba544e73208f42b78b7c022d4fa5a6d5498bf18c8d6f745b91dc',
    dependencies='readline',
    commands=Library())
pkg(name='gettext',
    source='https://ftp.gnu.org/gnu/gettext/gettext-0.21.tar.xz',
    checksum='d20fcbb537e02dcf1383197ba05bd0734ef7bf5db06bdb241eb69b7d16b73192',
    dependencies='iconv',
    commands=Library('--disable-java', '--disable-csharp'))
pkg(name='gif',
    source=
    'https://downloads.sourceforge.net/project/giflib/giflib-5.2.1.tar.gz',
    checksum='31da5562f44c5f15d63340a09a4fd62b48c45620cd302f77a6d9acf0077879bd',
    commands=(
コード例 #6
0
    'https://downloads.sourceforge.net/project/p7zip/p7zip/16.02/p7zip_16.02_src_all.tar.bz2',
    checksum='5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f',
    commands=(Command('cp', 'makefile.macosx_llvm_64bits',
                      'makefile.machine'), Make('all3'),
              Install('DEST_HOME=' + configuration.install_path)))
pkg(name='pbzx',
    source='https://github.com/NiklasRosenstein/pbzx/archive/v1.0.2.tar.gz',
    checksum='33db3cf9dc70ae704e1bbfba52c984f4c6dbfd0cc4449fa16408910e22b4fd90',
    dependencies='xz',
    commands=Command('clang', '-I' + configuration.include_path,
                     '-L' + configuration.lib_path, '-llzma', '-lxar',
                     'pbzx.c', '-o', configuration.bin_path + '/pbzx'))
pkg(name='pcre',
    source='https://ftp.pcre.org/pub/pcre/pcre-8.44.tar.bz2',
    checksum='19108658b23b3ec5058edc9f66ac545ea19f9537234be1ec62b714c84399366d',
    commands=Library('--enable-unicode-properties'))
pkg(name='physfs',
    source='https://icculus.org/physfs/downloads/physfs-3.0.0.tar.bz2',
    checksum='f2617d6855ea97ea42e4a8ebcad404354be99dfd8a274eacea92091b27fd7324',
    commands=CMakeInstall('-DPHYSFS_BUILD_SHARED=NO'))
pkg(name='pkg-config',
    source=
    'https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz',
    checksum='6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591',
    commands=Tool('--with-internal-glib'))
pkg(name='png',
    source='https://downloads.sourceforge.net/libpng/libpng-1.6.37.tar.xz',
    checksum='505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca',
    commands=Library())
pkg(name='python',
    source='https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tar.xz',
コード例 #7
0
ファイル: _pkg_i.py プロジェクト: alexey-lysiuk/bym
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

from command import CMakeInstall, Library
import configuration
import repository


pkg = repository.add_package


pkg(
    name='iconv',
    source='https://ftp.gnu.org/gnu/libiconv/libiconv-1.16.tar.gz',
    checksum='e6a1b1b589654277ee790cce3734f07876ac4ccfaecbee8afa0b649cf529cc04',
    commands=Library('--enable-extra-encodings')
)
pkg(
    name='instpatch',
    source='https://github.com/swami/libinstpatch/archive/v1.1.5.tar.gz',
    checksum='5fd01cd2ba7377e7a72caaf3b565d8fe088b5c8a14e0ea91516f0c87524bcf8a',
    dependencies=('glib', 'sndfile'),
    commands=CMakeInstall(
        '-DCMAKE_EXE_LINKER_FLAGS=-framework Carbon -framework CoreFoundation -framework Foundation'
        ' -lffi -lpcre -L' + configuration.lib_path,
        '-DBUILD_SHARED_LIBS=NO',
        '-DLIB_SUFFIX=',
    )
)
コード例 #8
0
#    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, see <http://www.gnu.org/licenses/>.
#

from command import CMakeInstall, Command, Library, Install, Tool
import configuration
import repository

pkg = repository.add_package

pkg(name='ogg',
    source='https://downloads.xiph.org/releases/ogg/libogg-1.3.4.tar.gz',
    checksum='fe5670640bd49e828d64d2879c31cb4dde9758681bb664f9bdbf159a01b0c76e',
    commands=Library())
pkg(name='oggz',
    source='https://downloads.xiph.org/releases/liboggz/liboggz-1.1.1.tar.gz',
    checksum='6bafadb1e0a9ae4ac83304f38621a5621b8e8e32927889e65a98706d213d415a',
    dependencies='ogg',
    commands=Tool())
pkg(name='openal',
    source='https://openal-soft.org/openal-releases/openal-soft-1.21.0.tar.bz2',
    checksum='2916b4fc24e23b0271ce0b3468832ad8b6d8441b1830215b28cc4fee6cc89297',
    commands=CMakeInstall('-DLIBTYPE=STATIC', '-DALSOFT_EXAMPLES=NO'))
pkg(name='openssl',
    source='https://www.openssl.org/source/openssl-1.1.1h.tar.gz',
    checksum='5c9ca8774bd7b03e5784f26ae9e9e6d749c9da2438545077e6b3d755a06595d9',
    commands=(Command('./Configure', 'no-shared',
                      '--prefix=' + configuration.install_path,
                      'darwin64-x86_64-cc'), Install()))