From bb4ca1c15ea8587150f0ade61ed7b77d743c3181 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:15:45 +0100 Subject: [PATCH] don't provide libpostproc, libswresample and libswscale [release 0.10.7-2mamba;Sat May 04 2013] --- README.md | 5 + ffmpeg-0.8.10-install_url_h.patch | 12 + ffmpeg010.spec | 587 ++++++++++++++++++++++++++++++ 3 files changed, 604 insertions(+) create mode 100644 ffmpeg-0.8.10-install_url_h.patch create mode 100644 ffmpeg010.spec diff --git a/README.md b/README.md index 524227e..da38737 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # ffmpeg010 +FFmpeg is a very fast video and audio converter. It can also grab from a live audio/video source. +The command line interface is designed to be intuitive, in the sense that ffmpeg tries to figure out all the parameters, when possible. +You have usually to give only the target bitrate you want. +FFmpeg can also convert from any sample rate to any other, and resize video on the fly with a high quality polyphase filter. + diff --git a/ffmpeg-0.8.10-install_url_h.patch b/ffmpeg-0.8.10-install_url_h.patch new file mode 100644 index 0000000..0cba2b1 --- /dev/null +++ b/ffmpeg-0.8.10-install_url_h.patch @@ -0,0 +1,12 @@ +diff -Nru ffmpeg-0.8.10.orig/libavformat/Makefile ffmpeg-0.8.10/libavformat/Makefile +--- ffmpeg-0.8.10.orig/libavformat/Makefile 2012-01-12 22:34:50.000000000 +0100 ++++ ffmpeg-0.8.10/libavformat/Makefile 2012-03-16 14:21:02.681619269 +0100 +@@ -3,7 +3,7 @@ + NAME = avformat + FFLIBS = avcodec avutil + +-HEADERS = avformat.h avio.h version.h ++HEADERS = avformat.h avio.h version.h url.h + + OBJS = allformats.o \ + cutils.o \ diff --git a/ffmpeg010.spec b/ffmpeg010.spec new file mode 100644 index 0000000..f907856 --- /dev/null +++ b/ffmpeg010.spec @@ -0,0 +1,587 @@ +%define enable_gpl 1 +%define enable_non_free 1 +%define buildyear %(echo %{version} | cut -b 7-10) +%define buildmonth %(echo %{version} | cut -b 11-12) +%define buildday %(echo %{version} | cut -b 13-14) +%define buildver %{version} +#% define buildver export-%{buildyear}-%{buildmonth}-%{buildday} +Name: ffmpeg010 +Epoch: 1 +Version: 0.10.7 +Release: 2mamba +Summary: Hyper fast MPEG1/MPEG4/H263/RV and AC3/MPEG audio encoder +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://ffmpeg.mplayerhq.hu/ +Source: http://ffmpeg.mplayerhq.hu/releases/ffmpeg-%{version}.tar.bz2 +#Source: http://ffmpeg.mplayerhq.hu/releases/ffmpeg-export-snapshot.tar.bz2 +# Source now taken from exported snapshot +# Source chekout from SVN: +# svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg && find ffmpeg -name .svn | xargs rm -rf && tar cjvf ffmpeg-`date '+%Y%m%d'`svn.tar.bz2 ffmpeg +Patch4: ffmpeg-0.8.10-install_url_h.patch +License: LGPL, GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libalsa-devel +BuildRequires: libbzip2-devel +BuildRequires: libdc1394-devel +BuildRequires: libdirac-devel +BuildRequires: libfaac-devel +BuildRequires: libgsm-devel +BuildRequires: libjack-devel +BuildRequires: liblame-devel +BuildRequires: libopencore-amr-devel +BuildRequires: libschroedinger-devel +BuildRequires: libSDL-devel +BuildRequires: libspeex-devel +BuildRequires: libtheora-devel +BuildRequires: libva-devel +BuildRequires: libvorbis-devel +BuildRequires: libx264-devel +BuildRequires: libxvidcore-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: liborc-devel +BuildRequires: libopenjpeg-devel +BuildRequires: libogg-devel +BuildRequires: libfaad2-devel +BuildRequires: libraw1394-devel +BuildRequires: liba52dec-devel +BuildRequires: yasm-devel +BuildRequires: ldconfig +# texi2html required +BuildRequires: tetex >= 3.0 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +FFmpeg is a very fast video and audio converter. It can also grab from a live audio/video source. +The command line interface is designed to be intuitive, in the sense that ffmpeg tries to figure out all the parameters, when possible. +You have usually to give only the target bitrate you want. +FFmpeg can also convert from any sample rate to any other, and resize video on the fly with a high quality polyphase filter. + +%package presets +Summary: Preset configuration files used by libavcodec +Group: System/Libraries + +%description presets +Preset configuration files used by libavcodec. + +%package -n libswscale-ffmpeg010 +Summary: ffmpeg video scaling library +Group: System/Libraries + +%description -n libswscale-ffmpeg010 +ffmpeg video scaling library. + +%package -n libswscale-ffmpeg010-devel +Summary: Shared header files and static libraries part of ffmpeg +Group: System/Libraries +Requires: libswscale-ffmpeg010 = %{?epoch:%epoch:}%{version}-%{release} + +%description -n libswscale-ffmpeg010-devel +ffmpeg video scaling library. + +This package contains the header files and static libraries needed to compile applications or shared objects that use libswscale + +%package -n libswresample-ffmpeg010 +Summary: ffmpeg resampling library +Group: System/Libraries + +%description -n libswresample-ffmpeg010 +ffmpeg resampling library. + +%package -n libswresample-ffmpeg010-devel +Summary: Shared header files and static libraries part of ffmpeg +Group: System/Libraries +Requires: libswresample-ffmpeg010 = %{?epoch:%epoch:}%{version}-%{release} + +%description -n libswresample-ffmpeg010-devel +ffmpeg resampling library. + +This package contains the header files and static libraries needed to compile applications or shared objects that use libswscale + +%package -n libavcodec-ffmpeg010 +Summary: ffmpeg library implementing various Audio/Video codecs +Group: System/Libraries +Requires: ffmpegpresets + +%description -n libavcodec-ffmpeg010 +ffmpeg library implementing various Audio/Video codecs. + +%package -n libavcodec-ffmpeg010-devel +Summary: Shared header files and static libraries part of ffmpeg +Group: System/Libraries +Requires: libavcodec-ffmpeg010 = %{?epoch:%epoch:}%{version}-%{release} + +%description -n libavcodec-ffmpeg010-devel +ffmpeg library implementing various Audio/Video codecs. +This package contains the header files and static libraries needed to compile applications or shared objects that use libavcodec + +%package -n libavdevice-ffmpeg010 +Summary: ffmpeg device handling library +Group: System/Libraries + +%description -n libavdevice-ffmpeg010 +ffmpeg device handling library. + +%package -n libavdevice-ffmpeg010-devel +Summary: Shared header files and static libraries part of ffmpeg +Group: System/Libraries +Requires: libavdevice-ffmpeg010 = %{?epoch:%epoch:}%{version}-%{release} + +%description -n libavdevice-ffmpeg010-devel +ffmpeg device handling library. + +This package contains the header files and static libraries needed to compile applications or shared objects that use libavdevice. + +%package -n libavfilter-ffmpeg010 +Summary: ffmpeg filtering library +Group: System/Libraries + +%description -n libavfilter-ffmpeg010 +ffmpeg filtering library. + +%package -n libavfilter-ffmpeg010-devel +Summary: Shared header files and static libraries part of ffmpeg +Group: System/Libraries +Requires: libavfilter-ffmpeg010 = %{?epoch:%epoch:}%{version}-%{release} + +%description -n libavfilter-ffmpeg010-devel +ffmpeg filtering library. + +This package contains the header files and static libraries needed to compile applications or shared objects that use libavformat + +%package -n libavformat-ffmpeg010 +Summary: ffmpeg format library +Group: System/Libraries + +%description -n libavformat-ffmpeg010 +ffmpeg format library. + +%package -n libavformat-ffmpeg010-devel +Summary: Shared header files and static libraries part of ffmpeg +Group: System/Libraries +Requires: libavformat-ffmpeg010 = %{?epoch:%epoch:}%{version}-%{release} + +%description -n libavformat-ffmpeg010-devel +ffmpeg format library. + +This package contains the header files and static libraries needed to compile applications or shared objects that use libavformat + +%package -n libavutil-ffmpeg010 +Summary: Shared library part of ffmpeg +Group: System/Libraries + +%description -n libavutil-ffmpeg010 +Shared library part of ffmpeg + +%package -n libavutil-ffmpeg010-devel +Summary: Shared header files and static libraries part of ffmpeg +Group: System/Libraries +Requires: libavutil-ffmpeg010 = %{?epoch:%epoch:}%{version}-%{release} + +%description -n libavutil-ffmpeg010-devel +This is the common utility library from the ffmpeg project. +It is required by all other ffmpeg libraries. + +This package contains the header files and static libraries needed to compile applications or shared objects that use libavutil + +%package -n libpostproc-ffmpeg010 +Summary: Video postprocessing library from ffmpeg +Group: System/Libraries + +%description -n libpostproc-ffmpeg010 +FFmpeg is a very fast video and audio converter. It can also grab from a live audio/video source. + +This package contains only ffmpeg's postproc post-processing library which other projects such as transcode may use. Install this package if you intend to use MPlayer, transcode or other similar programs. + +%package -n libpostproc-ffmpeg010-devel +Summary: Video postprocessing library from ffmpeg +Group: System/Libraries +Requires: libpostproc-ffmpeg010 = %{?epoch:%epoch:}%{version}-%{release} + +%description -n libpostproc-ffmpeg010-devel +FFmpeg is a very fast video and audio converter. It can also grab from a live audio/video source. + +This package contains only ffmpeg's postproc post-processing headers and static libraries which other projects such as transcode may use. Install this package if you intend to use MPlayer, transcode or other similar programs. + +%prep +%setup -q -n ffmpeg-%{buildver} +%patch4 -p1 + +%build +# configure not generated by autoconf +# -D__LINUX_USER__ is required by crystalhd +export CFLAGS="%{optflags} -fno-unit-at-a-time -D__LINUX_USER__ `pkg-config --cflags libopenjpeg`" +./configure \ + --progs-suffix=010 \ + --prefix="%{_prefix}" \ + --libdir="%{_libdir}" \ + --shlibdir="%{_libdir}" \ + --mandir="%{_mandir}" \ + --enable-libmp3lame \ + --enable-libvorbis \ + --enable-libtheora \ + --enable-libfaac \ + --enable-libgsm \ + --enable-libdc1394 \ + --enable-libschroedinger \ + --enable-shared \ + --enable-pthreads \ + --disable-stripping \ + --enable-libdirac \ + --enable-libopenjpeg \ + --enable-libspeex \ + --enable-x11grab \ +%if %enable_gpl + --enable-gpl \ + --enable-version3 \ + --enable-libxvid \ + --enable-libx264 \ + --enable-libopencore-amrnb \ + --enable-libopencore-amrwb \ +%if %enable_non_free + --enable-nonfree \ +%endif + +%endif + +# --enable-libfaad \ +# --enable-avfilter-lavf \ +# --enable-libfaadbin \ + +# --cpu=%{_target_cpu} \ +# --enable-swscale \ +## --incdir="%{_includedir}/ffmpeg" \ +# FIXME: +# software scaler enabled no +# Sun medialib support no +# AVISynth enabled no +# liba52 dlopened no +# enable non free (libamrnb, libamrwb) License: unredistributable +# libamr-nb support no +# libamr-wb support no +# libgsm enabled no +# libnut enabled no + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall \ + shlibdir="%{buildroot}%{_libdir}" \ + libdir="%{buildroot}%{_libdir}" +#\ +# incdir="%{buildroot}%{_includedir}/ffmpeg" \ +# shlibdir="%{buildroot}%{_libdir}" \ +# libdir="%{buildroot}%{_libdir}" +# Remove unwanted files from the included docs +#%{__cp} -a doc _docs +#%{__rm} -rf _docs/{Makefile,*.texi,*.pl} + +# make installlib is broken, so we do it by hand +#install -m 644 libavcodec/libavcodec.a %{buildroot}%{_libdir} +#install -m 644 libavformat/libavformat.a %{buildroot}%{_libdir} + +# create compat symlink +install -d %{buildroot}%{_libdir}/libavcodec +ln -s ../libavcodec.a %{buildroot}%{_libdir}/libavcodec/libavcodec.a + +#install -d %{buildroot}%{_includedir}/ffmpeg +#cp -a %{buildroot}%{_includedir}/libavcodec/*.h \ +# %{buildroot}%{_includedir}/libavdevice/*.h \ +# %{buildroot}%{_includedir}/libavformat/*.h \ +# %{buildroot}%{_includedir}/libavutil/*.h \ +# %{buildroot}%{_includedir}/libswscale/*.h \ +# %{buildroot}%{_includedir}/ffmpeg +#install -d %{buildroot}%{_includedir}/postproc +#cp -a %{buildroot}%{_includedir}/libpostproc/*.h \ +# %{buildroot}%{_includedir}/postproc + +# The is now at , so provide +# a compatibility symlink +#%{__mkdir_p} %{buildroot}%{_includedir}/postproc/ +#%{__mkdir_p} %{buildroot}%{_includedir}/libswscale/ +#%{__ln_s} ../ffmpeg/postprocess.h \ +# %{buildroot}%{_includedir}/postproc/postprocess.h +#%{__ln_s} ../ffmpeg/rgb2rgb.h\ +# %{buildroot}%{_includedir}/libswscale/rgb2rgb.h + +rm -rf %{buildroot}%{_mandir} + +for r in postproc swscale swresample; do + rm -f %{buildroot}%{_libdir}/lib$r.* + rm -rf %{buildroot}%{_includedir}/lib$r + rm -f %{buildroot}%{_libdir}/pkgconfig/lib$r.pc +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n libavcodec-ffmpeg010 -p /sbin/ldconfig +%postun -n libavcodec-ffmpeg010 -p /sbin/ldconfig + +%post -n libavdevice-ffmpeg010 -p /sbin/ldconfig +%postun -n libavdevice-ffmpeg010 -p /sbin/ldconfig + +%post -n libavfilter-ffmpeg010 -p /sbin/ldconfig +%postun -n libavfilter-ffmpeg010 -p /sbin/ldconfig + +%post -n libavformat-ffmpeg010 -p /sbin/ldconfig +%postun -n libavformat-ffmpeg010 -p /sbin/ldconfig + +%post -n libavutil-ffmpeg010 -p /sbin/ldconfig +%postun -n libavutil-ffmpeg010 -p /sbin/ldconfig + +%post -n libpostproc-ffmpeg010 -p /sbin/ldconfig +%postun -n libpostproc-ffmpeg010 -p /sbin/ldconfig + +%post -n libswscale-ffmpeg010 -p /sbin/ldconfig +%postun -n libswscale-ffmpeg010 -p /sbin/ldconfig + +%post -n libswresample-ffmpeg010 -p /sbin/ldconfig +%postun -n libswresample-ffmpeg010 -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/ffmpeg010 +%{_bindir}/ffplay010 +%{_bindir}/ffprobe010 +%{_bindir}/ffserver010 +%{_datadir}/ffmpeg/ffprobe.xsd +%doc CREDITS README + +%files presets +%defattr(-,root,root) +%dir %{_datadir}/ffmpeg +%{_datadir}/ffmpeg/libx264-*.ffpreset +%{_datadir}/ffmpeg/libvpx-*.ffpreset + +%files -n libavcodec-ffmpeg010 +%defattr(-,root,root) +%{_libdir}/libavcodec.so.* + +%files -n libavcodec-ffmpeg010-devel +%defattr(-,root,root) +%dir %{_includedir}/libavcodec +%{_includedir}/libavcodec/* +%dir %{_libdir}/libavcodec +%{_libdir}/libavcodec/libavcodec.a +%{_libdir}/libavcodec.a +%{_libdir}/libavcodec.so +%{_libdir}/pkgconfig/libavcodec.pc + +%files -n libavdevice-ffmpeg010 +%defattr(-,root,root) +%{_libdir}/libavdevice.so.* + +%files -n libavdevice-ffmpeg010-devel +%defattr(-,root,root) +%dir %{_includedir}/libavdevice +%{_includedir}/libavdevice/avdevice.h +%{_libdir}/libavdevice.a +%{_libdir}/libavdevice.so +%{_libdir}/pkgconfig/libavdevice.pc + +%files -n libavfilter-ffmpeg010 +%defattr(-,root,root) +%{_libdir}/libavfilter.so.* + +%files -n libavfilter-ffmpeg010-devel +%defattr(-,root,root) +%dir %{_includedir}/libavfilter +%{_includedir}/libavfilter/*.h +%{_libdir}/libavfilter.a +%{_libdir}/libavfilter.so +%{_libdir}/pkgconfig/libavfilter.pc + +%files -n libavformat-ffmpeg010 +%defattr(-,root,root) +%{_libdir}/libavformat.so.* + +%files -n libavformat-ffmpeg010-devel +%defattr(-,root,root) +%dir %{_includedir}/libavformat +%{_includedir}/libavformat/*.h +%{_libdir}/libavformat.a +%{_libdir}/libavformat.so +%{_libdir}/pkgconfig/libavformat.pc + +%files -n libavutil-ffmpeg010 +%defattr(-,root,root) +%{_libdir}/libavutil.so.* + +%files -n libavutil-ffmpeg010-devel +%defattr(-,root,root) +%dir %{_includedir}/libavutil +%{_includedir}/libavutil/*.h +%{_libdir}/libavutil.a +%{_libdir}/libavutil.so +%{_libdir}/pkgconfig/libavutil.pc + +#%files -n libpostproc-ffmpeg010 +#%defattr(-,root,root) +#%{_libdir}/libpostproc.so.* + +#%files -n libpostproc-ffmpeg010-devel +#%defattr(-,root,root) +#%dir %{_includedir}/libpostproc +#%{_includedir}/libpostproc/postprocess.h +#%{_libdir}/libpostproc.a +#%{_libdir}/libpostproc.so +#%{_libdir}/pkgconfig/libpostproc.pc + +#%files -n libswscale-ffmpeg010 +#%defattr(-,root,root) +#%{_libdir}/libswscale.so.* + +#%files -n libswscale-ffmpeg010-devel +#%defattr(-,root,root) +#%dir %{_includedir}/libswscale +#%{_includedir}/libswscale/*.h +#%{_libdir}/libswscale.a +#%{_libdir}/libswscale.so +#%{_libdir}/pkgconfig/libswscale.pc + +#%files -n libswresample-ffmpeg010 +#%defattr(-,root,root) +#%{_libdir}/libswresample.so.* + +#%files -n libswresample-ffmpeg010-devel +#%defattr(-,root,root) +#%dir %{_includedir}/libswresample +#%{_includedir}/libswresample/*.h +#%{_libdir}/libswresample.a +#%{_libdir}/libswresample.so +#%{_libdir}/pkgconfig/libswresample.pc + +%changelog +* Sat May 04 2013 Silvan Calarco 0.10.7-2mamba +- don't provide libpostproc, libswresample and libswscale + +* Thu May 02 2013 Silvan Calarco 0.10.7-1mamba +- update to 0.10.7 +- rebuilt as legacy package ffmpeg010 + +* Sun May 06 2012 Automatic Build System 0.10.3-1mamba +- automatic version update by autodist + +* Mon Apr 02 2012 Automatic Build System 0.10.2-1mamba +- automatic version update by autodist + +* Sun Apr 01 2012 Silvan Calarco 0.10.1-1mamba +- update to 0.10.1 + +* Wed Mar 28 2012 Ercole 'ercolinux' Carpanetto 0.08.10-2mamba +- added --enable-x11grab option + +* Fri Mar 16 2012 Silvan Calarco 0.8.10-1mamba +- update to 0.8.10 +- added libavformat/url.h as required by recent chromium + +* Tue Nov 22 2011 Automatic Build System 0.8.7-1mamba +- automatic version update by autodist + +* Sat Nov 05 2011 Automatic Build System 0.8.6-1mamba +- automatic version update by autodist + +* Tue Oct 25 2011 Silvan Calarco 0.8.5-2mamba +- obsolete libav* + +* Tue Oct 25 2011 Silvan Calarco 0.8.5-1mamba +- update to 0.8.5 + +* Mon Oct 18 2010 Automatic Build System 0.6.1-1mamba +- automatic update to 0.6.1 by autodist + +* Tue Jun 22 2010 Automatic Build System 0.6-1mamba +- automatic update to 0.6 by autodist + +* Tue May 25 2010 Automatic Build System 0.5.2-1mamba +- automatic update to 0.5.2 by autodist + +* Tue Mar 16 2010 Automatic Build System 0.5.1-2mamba +- automatic rebuild by autodist + +* Fri Mar 05 2010 Automatic Build System 0.5.1-1mamba +- automatic update to 0.5.1 by autodist + +* Thu Nov 19 2009 Automatic Build System 0.5.0.20091119-1mamba +- update to 0.5.snapshot20091119 + +* Wed Aug 12 2009 Automatic Build System 0.5-3mamba +- automatic rebuild by autodist + +* Fri Jul 10 2009 Automatic Build System 0.5-2mamba +- automatic rebuild by autodist + +* Mon Apr 06 2009 Silvan Calarco 0.5-1mamba +- update to 0.5 +- removed compatibility headers as complained by libxine 1.1.16.3 + +* Mon Dec 01 2008 Silvan Calarco 20081113-5mamba +- remove provides for libffmpeg and libffmpeg-devel + +* Thu Nov 20 2008 gil 20081113-4mamba +- rebuilt with new libdc1394 2.0.2 + +* Thu Nov 20 2008 Silvan Calarco 20081113-3mamba +- add obsoletes for libffmpeg and libffmpeg to all subpackages + +* Wed Nov 19 2008 Silvan Calarco 20081113-2mamba +- ffmpeg: don't obsolete libpostproc + +* Fri Nov 14 2008 Silvan Calarco 20081113-1mamba +- package renamed to ffmpeg; rename libraries to standard names and add proper provides and obsoletes for upgrade + +* Wed Aug 20 2008 gil 20080820-1mamba +- update to 20080820 +- edit configure options +- added patch +- rebuilt with: libschroedinger, libamrnb, libamrwb, ffmpeg-checkout-snapshot.tar.bz2, +- enable non free (libamrnb, libamrwb) License: unredistributable + +* Mon Jun 02 2008 Silvan Calarco 20080504-2mamba +- rebuilt with recent libdc1394 + +* Mon May 05 2008 Silvan Calarco 20080504-1mamba +- update to 20080505 + +* Wed Apr 02 2008 Silvan Calarco 20080402-1mamba +- update to 20080402 + +* Fri Feb 29 2008 Silvan Calarco 20080229-1mamba +- update to 20080229 +- set exported-snapshot as source instead of svn + +* Sun Feb 03 2008 Silvan Calarco 20080203-1mamba +- update to 20080203 + +* Thu Dec 13 2007 Silvan Calarco 20071213-1mamba +- update to 20071213 +- enabled pthread support +- changed package maintainer +- enabled support for libtheora and libx264 + +* Fri Jan 19 2007 Davide Madrisan 20070119-1qilnx +- updated to subversion 20070119 +- dropped patch against CVE-2005-4048 (merged upstream) +- the shared libraries are now compiled with the -fPIC option: dropped patch + +* Mon Dec 19 2005 Davide Madrisan 0.4.9-2qilnx +- fixed security issue CVE-2005-4048 (qibug#97) +- gcc4 fixes; compile the library with -fPIC +- HTML documentation moved to devel package + +* Fri Jun 17 2005 Davide Madrisan 0.4.9-pre1-1qilnx +- update to version 0.4.9-pre1 by autospec + +* Sun Oct 03 2004 Davide Madrisan 0.4.8-2qilnx +- specfile modified to match QiLinux standards +- library name modified (was ffmpeg) +- added a path to fix the broken configure check for the imlib2 library + +* Mon Sep 13 2004 Matteo Bernasconi 0.4.8-1qilnx +- first build