Compare commits

...

3 Commits
v0.1.1 ... main

Author SHA1 Message Date
Luca 26fe783c8e Enable NVIDIA Performance Primitives
continuous-integration/drone/tag Build is passing Details
2021-12-28 16:48:38 +01:00
Stefan Schwarz b71c1cc06f fix ffmpeg path
continuous-integration/drone/tag Build is passing Details
2021-12-28 15:18:37 +01:00
Stefan Schwarz 8dd78a16b2 remove duplicate update 2021-12-28 15:14:13 +01:00
2 changed files with 4 additions and 6 deletions

View File

@ -10,8 +10,6 @@ steps:
- name: build
image: debian:11-slim
commands:
- apt-get update
- |
sed -i 's/main/main non-free contrib/' /etc/apt/sources.list
sed s/^deb/deb-src/ /etc/apt/sources.list > /etc/apt/sources.list.d/sources.list
@ -27,8 +25,8 @@ steps:
mkdir /usr/local/src/ffmpeg
cd /usr/local/src/ffmpeg
apt-get source ffmpeg
echo 'CONFIG+= --enable-nvenc --enable-cuda' >> ffmpeg-*/debian/rules
cd ffmpeg-* && dpkg-buildpackage -r -b -j12 && cd ..
echo 'CONFIG+= --enable-cuda --enable-libnpp --enable-nonfree' >> "$(ls ffmpeg-*/debian/rules)"
cd ffmpeg-* && dpkg-buildpackage -r -b -j$(nproc) && cd ..
cp *.deb /drone/src
- name: release

View File

@ -14,8 +14,8 @@ RUN make && make install
WORKDIR /usr/local/src/ffmpeg
RUN apt-get source ffmpeg
RUN ls -lah ffmpeg-*/debian/rules
RUN echo 'CONFIG+= --enable-nvenc --enable-cuda' >> $(ls ffmpeg-*/debian/rules)
RUN cd ffmpeg-* && dpkg-buildpackage -r -b -j12
RUN echo 'CONFIG+= --enable-cuda --enable-libnpp --enable-nonfree' >> "$(ls ffmpeg-*/debian/rules)"
RUN cd ffmpeg-* && dpkg-buildpackage -r -b -j$(nproc)
RUN ls *.deb
RUN dpkg -i \
ffmpeg_4.3.3-0+deb11u1_amd64.deb \