ipe: 7.2.9 -> 7.2.10
https://mailman.science.uu.nl/pipermail/ipe-announce/2019-February/000077.html Cleanup a bit while visiting :).
This commit is contained in:
parent
c77728de7b
commit
f1fda2eab3
@ -3,26 +3,16 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ipe-7.2.9";
|
name = "ipe-7.2.10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://dl.bintray.com/otfried/generic/ipe/7.2/${name}-src.tar.gz";
|
url = "https://dl.bintray.com/otfried/generic/ipe/7.2/${name}-src.tar.gz";
|
||||||
sha256 = "1i0h0q32xvbb0d3y2ff76jxnaw05hjf2z5gzww886z8arxwar1xn";
|
sha256 = "0rm31kvyg30452bz12yi49bkhdmi4bjdx6zann5cdlbi0pvmx7xh";
|
||||||
};
|
};
|
||||||
|
|
||||||
# changes taken from Gentoo portage
|
sourceRoot = "${name}/src";
|
||||||
preConfigure = ''
|
|
||||||
cd src
|
|
||||||
sed -i \
|
|
||||||
-e 's/fpic/fPIC/' \
|
|
||||||
-e 's/moc-qt4/moc/' \
|
|
||||||
config.mak || die
|
|
||||||
sed -i -e 's/install -s/install/' common.mak || die
|
|
||||||
'';
|
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [ "-std=c++11" ]; # build with Qt 5.7
|
IPEPREFIX="${placeholder "out"}";
|
||||||
|
|
||||||
IPEPREFIX="$$out";
|
|
||||||
URWFONTDIR="${texlive}/texmf-dist/fonts/type1/urw/";
|
URWFONTDIR="${texlive}/texmf-dist/fonts/type1/urw/";
|
||||||
LUA_PACKAGE = "lua";
|
LUA_PACKAGE = "lua";
|
||||||
|
|
||||||
@ -38,6 +28,8 @@ stdenv.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
#TODO: make .desktop entry
|
#TODO: make .desktop entry
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user