mtpfs: drop explicit overrides for libmad and libid3tag
This commit is contained in:
parent
0a4206a51b
commit
db457e873a
|
@ -7,13 +7,6 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ fuse libmtp glib libid3tag libmad ];
|
buildInputs = [ fuse libmtp glib libid3tag libmad ];
|
||||||
|
|
||||||
# adding LIBS is a hack, duno why it does not find libid3tag.so by adding buildInputs
|
|
||||||
preConfigure = ''
|
|
||||||
export MAD_CFLAGS=${libmad}/include
|
|
||||||
export MAD_LIBS=${libmad}/lib/libmad.so
|
|
||||||
export LIBS=${libid3tag}/lib/libid3tag.so
|
|
||||||
'';
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.adebenham.com/files/mtp/mtpfs-${version}.tar.gz";
|
url = "https://www.adebenham.com/files/mtp/mtpfs-${version}.tar.gz";
|
||||||
sha256 = "07acrqb17kpif2xcsqfqh5j4axvsa4rnh6xwnpqab5b9w5ykbbqv";
|
sha256 = "07acrqb17kpif2xcsqfqh5j4axvsa4rnh6xwnpqab5b9w5ykbbqv";
|
||||||
|
|
Loading…
Reference in a new issue