summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Anders Ladegaard Marchsteiner <alm.anma@gmail.com> 2012-05-07 09:44:05 +0000
committerAvatar Timo Gurr <tgurr@exherbo.org> 2018-08-02 01:10:41 +0200
commit43253a2f6e6bb47eb80728dc57a28a7039f8c606 (patch)
tree66baebc7393ff3136da0d53b7de9a307fde4e7bc
parent0d3fdada9fc30285f1b040c97acb299b74b8e5d1 (diff)
downloadmedia-43253a2f6e6bb47eb80728dc57a28a7039f8c606.tar.gz
media-43253a2f6e6bb47eb80728dc57a28a7039f8c606.tar.xz
Bundle an old version of libpng for Spotify to use.
-rw-r--r--packages/media-sound/spotify/spotify-0.8.2.639.exheres-06
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/media-sound/spotify/spotify-0.8.2.639.exheres-0 b/packages/media-sound/spotify/spotify-0.8.2.639.exheres-0
index 9f56b1d..819746b 100644
--- a/packages/media-sound/spotify/spotify-0.8.2.639.exheres-0
+++ b/packages/media-sound/spotify/spotify-0.8.2.639.exheres-0
@@ -80,3 +80,9 @@ src_install() {
edo ln -s /usr/${LIBDIR}/libplc4.so "${IMAGE}"/usr/${LIBDIR}/libplc4.so.0d
edo ln -s /usr/${LIBDIR}/libnspr4.so "${IMAGE}"/usr/${LIBDIR}/libnspr4.so.0d
}
+
+pkg_preinst() {
+ # Supply an old version on libpng.
+ edo cp "${FILES}/libpng-1.2.49.${PLATFORM}.so" "${IMAGE}"/usr/${LIBDIR}/libpng12.so.0
+}
+