Commit 47a05268 authored by supechicken666's avatar supechicken666 Committed by GitHub

Update libpng.rb (#5546)

parent 65175d71
...@@ -43,4 +43,10 @@ class Libpng < Package ...@@ -43,4 +43,10 @@ class Libpng < Package
def self.install def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
def self.postinstall
# *.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
system 'update-mime-database', "#{CREW_PREFIX}/share/mime"
system 'gdk-pixbuf-query-loaders', '--update-cache'
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment