Projects
home:dercol
mixxx-unstable
mixxx-unstable.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mixxx-unstable.spec of Package mixxx-unstable
# vim: set sw=4 ts=4 et: # # spec file for package mixxx # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2010-2012 Pascal Bleser <pascal.bleser@opensuse.org> # Copyright (c) 2005-2010 oc2pus # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define use_qt5 1 %define pre_version 2.3.0beta %define date 190819 Name: mixxx-unstable Version: %{pre_version}_%{date} Release: 0 Summary: Everything you need to perform live DJ mixes License: GPL-2.0+ Group: Productivity/Multimedia/Sound/Players ExclusiveArch: %ix86 x86_64 Url: http://www.mixxx.org #Source0: http://downloads.mixxx.org/mixxx-%{version}/mixxx-%{version}-src.tar.gz Source0: mixxx-release-%{version}.tar.gz Source1000: mixxx-unstable-rpmlintrc Patch0: mixxx.py.patch Patch1: util.py.patch BuildRequires: audiofile BuildRequires: fdupes BuildRequires: ffmpeg-devel BuildRequires: freeglut-devel BuildRequires: gperftools-devel BuildRequires: git BuildRequires: ladspa BuildRequires: libmp3lame-devel BuildRequires: libusb-devel BuildRequires: liblilv-0-devel BuildRequires: pkgconfig BuildRequires: portmidi-devel BuildRequires: qtkeychain-qt5-devel BuildRequires: scons BuildRequires: update-desktop-files BuildRequires: util-linux BuildRequires: xz BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(audiofile) BuildRequires: pkgconfig(flac) BuildRequires: pkgconfig(flac++) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gmodule-export-2.0) BuildRequires: pkgconfig(gmodule-no-export-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(id3tag) BuildRequires: pkgconfig(jack) >= 0.109 BuildRequires: pkgconfig(libchromaprint) BuildRequires: pkgconfig(libmusicbrainz) BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(portaudio-2.0) BuildRequires: pkgconfig(protobuf) BuildRequires: pkgconfig(protobuf-lite) BuildRequires: pkgconfig(python) BuildRequires: pkgconfig(python-2.7) BuildRequires: pkgconfig(python2) BuildRequires: pkgconfig(rubberband) BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(shout) BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(soundtouch) >= 1.3 BuildRequires: pkgconfig(taglib) BuildRequires: pkgconfig(taglib_c) BuildRequires: pkgconfig(upower-glib) BuildRequires: pkgconfig(vamp) BuildRequires: pkgconfig(vamp-hostsdk) BuildRequires: pkgconfig(vamp-sdk) BuildRequires: pkgconfig(wavpack) BuildRequires: pkgconfig(zlib) Requires: vamp-qm-plugins Recommends: libmp3lame0 Provides: mixxx = %{version}-%{release} Conflicts: mixxx Obsoletes: %{name}-skin-hercules Obsoletes: %{name}-skin-outlineClose Obsoletes: %{name}-skin-outline Obsoletes: %{name}-skin-outlineMini Obsoletes: %{name}-skin-outlineNetbook Obsoletes: %{name}-skin-nCut Obsoletes: %{name}-skin-Collusion Obsoletes: %{name}-skin-traditional BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: mad-devel BuildRequires: pkgconfig(libmodplug) BuildRequires: pkgconfig(opus) BuildRequires: pkgconfig(opusfile) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(vorbisenc) BuildRequires: pkgconfig(vorbisfile) %if 0%{?use_qt5} BuildRequires: libqt5-linguist BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5OpenGL) BuildRequires: pkgconfig(Qt5Script) BuildRequires: pkgconfig(Qt5ScriptTools) BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5XmlPatterns) BuildRequires: pkgconfig(Qt5PrintSupport) # Mi serve uic BuildRequires: libqt5-qtbase-common-devel %else BuildRequires: pkgconfig(Qt3Support) >= 4.8 BuildRequires: pkgconfig(QtCLucene) >= 4.8 BuildRequires: pkgconfig(QtCore) >= 4.8 BuildRequires: pkgconfig(QtDBus) >= 4.8 BuildRequires: pkgconfig(QtDeclarative) >= 4.8 BuildRequires: pkgconfig(QtDesigner) >= 4.8 BuildRequires: pkgconfig(QtDesignerComponents) >= 4.8 BuildRequires: pkgconfig(QtGui) >= 4.8 BuildRequires: pkgconfig(QtHelp) >= 4.8 BuildRequires: pkgconfig(QtMultimedia) >= 4.8 BuildRequires: pkgconfig(QtNetwork) >= 4.8 BuildRequires: pkgconfig(QtOpenGL) >= 4.8 BuildRequires: pkgconfig(QtScript) >= 4.8 BuildRequires: pkgconfig(QtScriptTools) >= 4.8 BuildRequires: pkgconfig(QtSql) >= 4.8 BuildRequires: pkgconfig(QtSvg) >= 4.8 BuildRequires: pkgconfig(QtTest) >= 4.8 BuildRequires: pkgconfig(QtUiTools) >= 4.8 BuildRequires: pkgconfig(QtWebKit) BuildRequires: pkgconfig(QtXml) >= 4.8 BuildRequires: pkgconfig(QtXmlPatterns) >= 4.8 %endif %description Mixxx is free DJ software that gives you everything you need to perform live DJ mixes. Blend songs together with automatic BPM matching and remix on-the-fly with looping and hot cues. Whether you're a pro DJ or just getting started, Mixxx has you covered. Mixxx works with ALSA, JACK, OSS and supports many popular DJ controllers. KEY FEATURES - Parallel or split scratchable waveform displays. - MP3, OGG, WAVE, FLAC, and optional AAC (M4A) playback. - WAVE, OGG, and optional MP3 recording. - Fast, database-powered library. - Crates and playlists for organizing your music. - Reads iTunes, Traktor, and Rhythmbox libraries. - Cross-platform - works on Windows, Mac OS X and Linux. - Shoutcast and Icecast broadcasting. - Support for many DJ MIDI and HID controllers out-of-the-box. - Advanced MIDI scripting engine for maximum flexibility. - Vinyl emulation with Serato, Traktor, and Mixvibes timecode support. - Beat and key detection. - ReplayGain volume normalization. - Automatic crossfading with Auto DJ. - Skinnable interface with several skins bundled. - For a full list of features go to: http://mixxx.org/features %prep %setup -q -n mixxx-release-%{version} %patch0 -p1 #%patch1 -p1 %build find . -type f -name '*.ui' | while read i; do echo $i a=`basename $i` uic-qt5 $i -o `dirname $i`/ui_${a/.ui/.h} done scons %{?_smp_mflags} \ prefix="%{_prefix}" \ optimize=portable \ vinylcontrol=1 \ %if 0%{?use_qt5} qt5=1 \ qtkeychain=1 \ %endif ffmpeg=1 \ flac=1 \ m4a=0 \ mad=1 \ modplug=1 \ ogg=1 \ opus=1 \ sndfile=1 \ faad=0 \ shoutcast=1 \ ipod=0 \ hss1394=0 \ hid=1 \ bulk=1 \ vamp=1 \ wv=1 \ asmlib=1 \ qdebug=0 \ verbose=0 \ buildtime=0 \ localecompare=0 \ qt_sqlite_plugin=1 \ perftools=1 #export CFLAGS=$RPM_OPT_FLAGS #export LDFLAGS=$RPM_LD_FLAGS #export LIBDIR=%{_libdir} #scons %{?_smp_mflags} \ # prefix=%{_prefix} \ #%if 0%{?use_qt5} # qt5=1 \ # qtdir=%{_qt5_prefix} \ # qtkeychain=1 \ #%endif # build=release \ # optimize=native \ # bulk=1 \ # faad=1 \ # ffmpeg=1 \ # hid=1 \ # modplug=1 \ # opus=1 \ # shoutcast=1 \ # wv=1 \ # %install install -dm 755 %{buildroot}%{_bindir} scons \ prefix="%{_prefix}" \ install_root="%{buildroot}%{_prefix}" \ %if 0%{?use_qt5} qt5=1 \ %endif install rm -rf "%{buildroot}%{_datadir}/doc/mixxx" # remove .orig files, not permitted find "%{buildroot}%{_datadir}/mixxx/skins/" -type f -name '*.orig' -delete # fix perms find "%{buildroot}%{_datadir}/mixxx/" -type f -executable \( -name '*.xml' -o -name '*.js' -o -name '*.txt' \) \ -exec chmod 0644 {} \; L="$PWD/%{name}.lang" echo -n > "$L" pushd "%{buildroot}%{_datadir}/mixxx/translations" /bin/ls -1 mixxx_*.qm | while read f; do [ -e "$f" ] || continue l="${f#mixxx_}" l="${l%.qm}" echo "%lang($l) %{_datadir}/mixxx/translations/$f" >> "$L" done popd # hardlinks are required to speedup build %fdupes "%{buildroot}%{_datadir}/mixxx/skins" %files -f %{name}.lang %defattr(-,root,root) %doc COPYING LICENSE Mixxx-Manual.pdf README* %{_bindir}/mixxx #%{_libexecdir}/mixxx %{_datadir}/mixxx %{_datadir}/pixmaps/mixxx_icon.svg %{_datadir}/applications/mixxx.desktop %dir %{_datadir}/appdata %{_datadir}/appdata/mixxx.appdata.xml %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.