Skip to content

Commit

Permalink
ubuntu ppa: build with kodis own ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
wsnipex committed Jun 20, 2020
1 parent 0a4162a commit 55585e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 2 additions & 3 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
Source: kodi-inputstream-ffmpegdirect
Priority: extra
Maintainer: Ross Nicholson <[email protected]>
Build-Depends: debhelper (>= 9.0.0), cmake, kodi-addon-dev,
libavutil-dev (>= 4.2.2), libavcodec-dev (>= 4.2.2), libavformat-dev (>= 4.2.2), libavfilter-dev (>= 4.2.2),
libbz2-dev, libp8-platform-dev, libssl-dev, libz3-dev, pkg-config, yasm, zlib1g-dev
Build-Depends: debhelper (>= 10.0.0), cmake, kodi-addon-dev, kodi-ffmpeg-dev,
libbz2-dev, libp8-platform-dev, libz3-dev, pkg-config, yasm, zlib1g-dev
Standards-Version: 4.0.0
Section: libs
Homepage: <https://kodi.tv>
Expand Down
5 changes: 4 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# strip -Bsymbolic-functions, it breaks linking with ffmpeg
export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions

%:
dh $@ --parallel

override_dh_auto_configure:
dh_auto_configure -- -DBUILD_SHARED_LIBS=1 -DUSE_LTO=1
dh_auto_configure -- -DBUILD_SHARED_LIBS=1 -DUSE_LTO=1 -DCMAKE_PREFIX_PATH=/usr/lib/${DEB_HOST_MULTIARCH}/kodi/ffmpeg

0 comments on commit 55585e0

Please sign in to comment.