summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libspnav/Manifest2
-rw-r--r--media-libs/libspnav/libspnav-0.2.2.ebuild16
2 files changed, 16 insertions, 2 deletions
diff --git a/media-libs/libspnav/Manifest b/media-libs/libspnav/Manifest
index fb918f5..9533563 100644
--- a/media-libs/libspnav/Manifest
+++ b/media-libs/libspnav/Manifest
@@ -1,5 +1,5 @@
AUX libspnav-0.2.2-custom-flags.patch 2151 RMD160 26eccbf34e404defe392333db30f433737220bc6 SHA1 e14d386825db1728261cfb9fbef2e5fd4c480383 SHA256 f3dcc7b4023e67a87a0554cdd277a836696c948b0ec01035ec6fe5dd2e4c587b
AUX libspnav-0.2.2-makefile.patch 926 RMD160 7bee7c9d4af64bdafa3178c1565a41f062a96359 SHA1 9c20ac0d0d5c2bb8f60270b0d630bb37594a0596 SHA256 ec3abb5c566b3b4bb3f18e58ff83802845ea9156cba42ed417f4da35733746e7
DIST libspnav-0.2.2.tar.gz 11615 RMD160 d49a1c9b5e556fd8ff8e7545d0983c1b205fe9f2 SHA1 c9291ed4acb38da3be4f81e6e3b43f853ce55eca SHA256 fb72388770d7dcd85b56ac2a83948983f1afd7dbe271e18d507b975ac4bea14f
-EBUILD libspnav-0.2.2.ebuild 789 RMD160 25a35a3a22521ad846a09b3d88adaf824ccb15e0 SHA1 cd89b408d81f77c3b9c4b8b65ee636009631dbf6 SHA256 ca543b93c97c7a326df171c9d80ba3d4f66dc2117207ca32852f75825a413e32
+EBUILD libspnav-0.2.2.ebuild 1137 RMD160 7c285d5a2a26ae8cee89bcd127d43f09d4551c0b SHA1 4c014d8a61cfa1527f66f60ce59b626ee4198b24 SHA256 e97dbf2ce1862385342b787b4e32fe0a5dd4586d3b7b1bb7b76d43529400c565
MISC metadata.xml 850 RMD160 ac6b9735dafead0ee2569e89dfad1e2724d69be4 SHA1 b2d86473d5a5f83a72769f9305bf23fbd494eaff SHA256 18379cae8775245952a6107dc6f447b9ab511e58b87a1299d72ada53f1498bf6
diff --git a/media-libs/libspnav/libspnav-0.2.2.ebuild b/media-libs/libspnav/libspnav-0.2.2.ebuild
index cae2b3e..c3aaa0c 100644
--- a/media-libs/libspnav/libspnav-0.2.2.ebuild
+++ b/media-libs/libspnav/libspnav-0.2.2.ebuild
@@ -4,7 +4,7 @@
EAPI="4"
-inherit eutils toolchain-funcs
+inherit multilib eutils toolchain-funcs
MY_PN='spacenav'
DESCRIPTION="The libspnav provides a replacement of the magellan library with cleaner and more orthogonal API."
@@ -32,3 +32,17 @@ src_configure() {
src_compile() {
emake CC=$(tc-getCC)
}
+
+src_install() {
+ default
+
+ # Use proper libdir
+ if [[ $(get_libdir) != lib ]]; then
+ mv "${D}"/usr/{lib,$(get_libdir)} || die
+ fi
+
+ # Create missing symlinks
+ local target=$(basename "${D}"/usr/$(get_libdir)/libspnav.so.*)
+ dosym ${target} /usr/$(get_libdir)/libspnav.so.0 || die
+ dosym ${target} /usr/$(get_libdir)/libspnav.so || die
+}