Репозиторий Sisyphus
Последнее обновление: 22 января 2022 | Пакетов: 17486 | Посещений: 22817959
en ru br
Репозитории ALT
S:2.3.1-alt2
D:1.6.0-alt1
5.1: 1.7.2-alt0.M51.1
www.altlinux.org/Changes

Группа :: Звук
Пакет: mixxx

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_enable clang

%define _unpackaged_files_terminate_build 1
%define _cmake__builddir BUILD
%if_enabled clang
%define optflags_lto -flto=thin
%endif

Name: mixxx
Version: 2.3.1
Release: alt2

Summary: Free digital DJ software
Summary(ru_RU.UTF-8): п║п╡п╬п╠п╬п╢п╫п╟я▐ п©я─п╬пЁя─п╟п╪п╪п╟ п╢п╩я▐ я├п╦я└я─п╬п╡п╬пЁп╬ п╢п╦п╢п╤п╣п╦п╫пЁп╟
License: GPL-2.0+
Group: Sound
Url: http://mixxx.org

# https://github.com/mixxxdj/mixxx.git

Source: %name-%version.tar

Patch1: %name-2.2.4-alt-find-shout2.patch
Patch2: %name-2.2.4-alt-rpath.patch

Requires: %name-data = %EVR
Requires: qt5-sql-sqlite3
Requires: bpm-tools

BuildPreReq: rpm-macros-qt5
BuildPreReq: rpm-build-ninja
%if_enabled clang
BuildRequires: clang-devel llvm-devel-static
%else
BuildRequires: gcc-c++
%endif
BuildRequires: flex git-core cmake libflac-devel libid3tag-devel libmad-devel
BuildRequires: libportaudio2-devel libportmidi-devel
BuildRequires: libsndfile-devel libtag-devel
#BuildRequires: scons
BuildRequires: swig libvamp-devel libprotobuf-devel
BuildRequires: libchromaprint-devel libusb-devel libfftw3-devel
BuildRequires: protobuf-compiler
BuildRequires: libGLU-devel librubberband-devel libopus-devel libopusfile-devel libsqlite3-devel
BuildRequires: libwavpack-devel libfaad-devel libmp4v2-devel
BuildRequires: libupower-devel
BuildRequires: qt5-base-devel qt5-script-devel qt5-svg-devel qt5-xmlpatterns-devel qt5-tools-devel qt5-x11extras-devel
BuildRequires: liblilv-devel libsoundtouch-devel libvorbis-devel libspeex-devel libtheora-devel
BuildRequires: liblame-devel libqtkeychain-qt5-devel libavcodec-devel libavformat-devel libavutil-devel libswresample-devel libavdevice-devel libavfilter-devel libpostproc-devel libswscale-devel
BuildRequires: libhidapi-devel libkeyfinder-devel libssl-devel
BuildRequires: libebur128-devel libshout-idjc-devel libmodplug-devel

%if_enabled clang
ExcludeArch: armh
%endif

%description
Mixxx is free, open source DJ software that gives you everything
you need to perform live mixes.

%description -l ru_RU.UTF-8
Mixxx - я█я┌п╬ п╠п╣я│п©п╩п╟я┌п╫п╟я▐, я│ п╬я┌п╨я─я▀я┌я▀п╪ п╦я│я┘п╬п╢п╫я▀п╪ п╨п╬п╢п╬п╪ п©я─п╬пЁя─п╟п╪п╪п╟ п╢п╩я▐ DJ,
п╢п╟я▌я┴п╟я▐ п╡п╟п╪ п╡я│я▒ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬п╣ п╢п╩я▐ п╤п╦п╡я▀я┘ п╡я▀я│я┌я┐п©п╩п╣п╫п╦п╧.

%package data
Summary: Data files for Mixxx
Group: Sound
BuildArch: noarch

%description data
This package contains data files for Mixxx.

%prep
%setup
# %patch1 -p1
# %patch2 -p1

%build
%if_enabled clang
export CC=clang
export CXX=clang++
%endif
%cmake \
   -GNinja \
   -DCMAKE_BUILD_TYPE=RelWithDebInfo \
#
cmake --build "%_cmake__builddir" -j%__nprocs

%install
%cmake_install
chmod +x %buildroot%_datadir/mixxx/controllers/novation-launchpad/scripts/compile-mapping.js
chmod +x %buildroot%_datadir/mixxx/controllers/novation-launchpad/scripts/compile-scripts.js

%files
%_bindir/%name

%files data
%exclude %_datadir/doc
%doc README.md COPYING LICENSE res/Mixxx-Keyboard-Shortcuts.pdf
%_datadir/%name
%_datadir/metainfo/org.mixxx.Mixxx.metainfo.xml
%_desktopdir/org.mixxx.Mixxx.desktop
%_iconsdir/hicolor/scalable/apps/%name.svg
%_iconsdir/hicolor/??x??/apps/%name.png
%_iconsdir/hicolor/???x???/apps/%name.png
%_udevrulesdir/69-%name-usb-uaccess.rules

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin