Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lnussel:win32
speex-win32
speex-win32.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File speex-win32.spec of Package speex-win32
# norootforbuild Name: speex-win32 BuildRequires: cross-mingw-binutils cross-mingw-gcc cross-mingw-runtime cross-mingw-w32api BuildRequires: pkgconfig Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: speex-%{package_version}.tar.bz2 Source999: speex.spec %{expand:%(sed -n -e '/^%%define package_version/p;/^\(Group\|License\|Version\|Summary\|URL\):/p;/^Source[[:digit:]]+:/p;/^Patch[[:digit:]]*:/p;/^%package/q' < %_sourcedir/speex.spec)} %description Speex is a patent free audio codec designed especially for voice (unlike Vorbis which targets general audio) signals and providing good narrowband and wideband quality. This project aims to be complementary to the Vorbis codec. %prep %setup -q -n speex-%{package_version} %{expand:%(sed -n -e '/^%patch[[:digit:]]*/p' <%_sourcedir/speex.spec)} %build export CFLAGS="$RPM_OPT_FLAGS -DWINVER=0x501" export CXXFLAGS="$CFLAGS" autoreconf -f -i ./configure \ --host=i386-mingw32msvc \ --prefix=/opt/cross/i386-mingw32msvc \ --enable-sse # hack to disable encoder/decoder as we have no ogg support and # only want the library sed -i -e '/^SUBDIRS/s/src//' Makefile make %{?jobs:-j%jobs} %install make DESTDIR="%{buildroot}" install # chmod 644 $RPM_BUILD_ROOT/opt/cross/i386-mingw32msvc/lib/*.a %clean rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README TODO /opt/cross/i386-mingw32msvc
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor