commit
bdac709acb
@ -4,13 +4,18 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ums";
|
pname = "ums";
|
||||||
version = "9.1.0";
|
version = "9.4.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = {
|
||||||
url = "mirror://sourceforge/project/unimediaserver/Official%20Releases/Linux/" + stdenv.lib.toUpper "${pname}-${version}" + ".tgz";
|
i686-linux = fetchurl {
|
||||||
sha256 = "07wprjpwqids96v5q5fhwcxqlg8jp1vy585vl2nqbfi1vf5v294s";
|
url = "mirror://sourceforge/project/unimediaserver/${version}/" + stdenv.lib.toUpper "${pname}-${version}" + "-x86.tgz";
|
||||||
name = "${pname}-${version}.tgz";
|
sha256 = "0i319g2c3z9j131nwh5m92clgnxxxs3izplzhjb30bx4lldmjs1j";
|
||||||
};
|
};
|
||||||
|
x86_64-linux = fetchurl {
|
||||||
|
url = "mirror://sourceforge/project/unimediaserver/${version}/" + stdenv.lib.toUpper "${pname}-${version}" + "-x86_64.tgz";
|
||||||
|
sha256 = "07wc0is86fdfyz4as3f17q8pfzl8x55ci65zvpls0a9rfyyvjjw3";
|
||||||
|
};
|
||||||
|
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
@ -21,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# ums >= 9.0.0 ships its own JRE in the package. if we remove it, the `UMS.sh`
|
# ums >= 9.0.0 ships its own JRE in the package. if we remove it, the `UMS.sh`
|
||||||
# script will correctly fall back to the JRE specified by JAVA_HOME
|
# script will correctly fall back to the JRE specified by JAVA_HOME
|
||||||
rm -rf $out/linux/jre-x64 $out/linux/jre-x86
|
rm -rf $out/jre
|
||||||
|
|
||||||
makeWrapper "$out/UMS.sh" "$out/bin/ums" \
|
makeWrapper "$out/UMS.sh" "$out/bin/ums" \
|
||||||
--prefix LD_LIBRARY_PATH ":" "${stdenv.lib.makeLibraryPath [ libzen libmediainfo] }" \
|
--prefix LD_LIBRARY_PATH ":" "${stdenv.lib.makeLibraryPath [ libzen libmediainfo] }" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user