Skip to content

Commit

Permalink
[package] [libass-osmc] SO dependencies should be on lib, not devel p…
Browse files Browse the repository at this point in the history
…ackage

Signed-off-by: Sam Nazarko <email@samnazarko.co.uk>
  • Loading branch information
samnazarko committed Apr 19, 2017
1 parent 4e01b38 commit aebc758
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package/libass-osmc/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ then
sed '/Package/d' -i files/DEBIAN/control
sed '/Package/d' -i files-dev/DEBIAN/control
sed '/Depends/d' -i files-dev/DEBIAN/control
sed '/Depends/d' -i files/DEBIAN/control
sed '/Version/d' -i files-dev/DEBIAN/control
VERSION_DEV=$(grep Version ${out}/DEBIAN/control)
VERSION_NUM=$(echo $VERSION_DEV | awk {'print $2'})
echo $VERSION_DEV >> files-dev/DEBIAN/control
echo "Depends: ${1}-libass-osmc (=${VERSION_NUM}), libenca0, libfontconfig1, libfreetype6, libfribidi0, libharfbuzz0b" >> files-dev/DEBIAN/control
echo "Depends: libenca0, libfontconfig1, libfreetype6, libfribidi0, libharfbuzz0b" >> files/DEBIAN/control
echo "Depends: ${1}-libass-osmc (=${VERSION_NUM})" >> files-dev/DEBIAN/control
update_sources
handle_dep "libenca-dev"
handle_dep "libfontconfig1-dev"
Expand Down
2 changes: 1 addition & 1 deletion package/libass-osmc/files/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Origin: OSMC
Version: 0.13.4
Version: 0.13.5
Section: libs
Essential: No
Priority: optional
Expand Down

0 comments on commit aebc758

Please sign in to comment.