summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD52
-rw-r--r--lattice-diamond.desktop2
3 files changed, 18 insertions, 46 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 224347fbf2b9..24a4ccbf68f7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,19 @@
pkgbase = lattice-diamond
pkgdesc = Lattice Diamond design software
- pkgver = 3.12.1.454.2
+ pkgver = 3.13
pkgrel = 1
url = http://www.latticesemi.com/
install = lattice-diamond.install
arch = x86_64
license = custom
options = !strip
- source = http://files.latticesemi.com/Diamond/3.12/diamond_3_12-base-240-2-x86_64-linux.rpm
- source = http://files.latticesemi.com/Diamond/3.12.1/diamond_3_12-sp1-454-2-x86_64-linux.rpm
+ source = http://files.latticesemi.com/Diamond/3.13/diamond_3_13-base-56-2-x86_64-linux.rpm
source = lattice-diamond.png
source = lattice-diamond.desktop
source = lattice-diamond.install
- sha512sums = b3cd590ad588c01b0296ed055735c7cc3670c37265d7f377abb57ff225eec8b621380cc56025eec6f0836bfef470da2d2c28ea87d03bf0152fe506c16c02f6b9
- sha512sums = 90f1f98610e423917c86286f515881a2b091ed83b0a1097ed53de327e13353a4fa56b0e1e95e60ecfc0e8de3fa941431b5d9a857d747be476d50d3034ddcc0d7
+ sha512sums = 76b2d77c61a532278470f5dfab7ed409d467f6f5566e56bc9680761c429ad90ac2881b17cac6ef297bc0ddd246ab92403c1a56caa22890b6393e18bb25d7f980
sha512sums = 772fa260bb1a4ed7c4e328a99b3cd16b625e8880d7731abbe0cd59dbe4d743265e169a26ceba7b619a87c1cb9638a268a5501d3358863171ee808e59b2d3b0ac
- sha512sums = b5e8b6d6ed282181aff1a0206adf333339c19bd9f2f0d61984864891e971f4923f64d6fc8b657035a080d22c519f26afa30d73933f842b9c66008cecad3f3179
+ sha512sums = 9cc87b6e05bc47ef3db9066a06384c0710a4aeaf725f24beaa45732474ed40b0b637c664c1e3f014a7f7dfc25401e872d38497015576c18d3929f38975504d9b
sha512sums = 0f6f4463e1b1266a151afaaf6fefb3d69b712fafd6f2fa20beb211a3f9dd4db216be7255cc8fddaac946534754739c13406476fc6474236e7505bcd033a71d81
pkgname = lattice-diamond
diff --git a/PKGBUILD b/PKGBUILD
index 21a93c143973..99f24e0fb5d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,27 +6,23 @@
# http://www.latticesemi.com/latticediamond#linux
# Then put these files in the build directory and retry.
-_version=3.12
-_sp=1
-_build=454.2
-_base=240-2
+_version=3.13
+_base=56-2
pkgname=lattice-diamond
pkgdesc='Lattice Diamond design software'
url=http://www.latticesemi.com/
license=('custom')
-pkgver=${_version}.${_sp}.${_build}
+pkgver=${_version}
pkgrel=1
arch=('x86_64')
install=$pkgname.install
source=("http://files.latticesemi.com/Diamond/${_version}/diamond_${_version/"."/"_"}-base-${_base}-${arch}-linux.rpm"
- "http://files.latticesemi.com/Diamond/${_version}.${_sp}/diamond_${_version/"."/"_"}-sp${_sp}-${_build/"."/"-"}-${arch}-linux.rpm"
"${pkgname}.png"
"${pkgname}.desktop"
"${pkgname}.install")
-sha512sums=('b3cd590ad588c01b0296ed055735c7cc3670c37265d7f377abb57ff225eec8b621380cc56025eec6f0836bfef470da2d2c28ea87d03bf0152fe506c16c02f6b9'
- '90f1f98610e423917c86286f515881a2b091ed83b0a1097ed53de327e13353a4fa56b0e1e95e60ecfc0e8de3fa941431b5d9a857d747be476d50d3034ddcc0d7'
+sha512sums=('76b2d77c61a532278470f5dfab7ed409d467f6f5566e56bc9680761c429ad90ac2881b17cac6ef297bc0ddd246ab92403c1a56caa22890b6393e18bb25d7f980'
'772fa260bb1a4ed7c4e328a99b3cd16b625e8880d7731abbe0cd59dbe4d743265e169a26ceba7b619a87c1cb9638a268a5501d3358863171ee808e59b2d3b0ac'
- 'b5e8b6d6ed282181aff1a0206adf333339c19bd9f2f0d61984864891e971f4923f64d6fc8b657035a080d22c519f26afa30d73933f842b9c66008cecad3f3179'
+ '9cc87b6e05bc47ef3db9066a06384c0710a4aeaf725f24beaa45732474ed40b0b637c664c1e3f014a7f7dfc25401e872d38497015576c18d3929f38975504d9b'
'0f6f4463e1b1266a151afaaf6fefb3d69b712fafd6f2fa20beb211a3f9dd4db216be7255cc8fddaac946534754739c13406476fc6474236e7505bcd033a71d81')
options=('!strip')
PKGEXT=".pkg.tar.zst"
@@ -42,36 +38,14 @@ prepare() {
echo ' done!'
done
- # Apply service pack
- cd ${srcdir}/usr/local/diamond/${_version}
- for directory in bin cae_library data docs embedded_source examples ispfpga modeltech module synpbase tcltk
- do
- echo -en "\tPatching ${directory}..."
- cp -rpf sp/${directory} ./
- echo ' done!'
- done
- rm -rf sp
-
- # Update version information and installation history
- echo -en "\tUpdating version information..."
- sed -i "1iDiamond ${pkgver} Service Pack ${_sp} Date: `LANG=C date`" \
- ${srcdir}/usr/local/diamond/${_version}/data/installation_history.txt
-
- for file in data/ispsys.ini ispfpga/data/ispsys.ini
- do
- awk -i inplace 'BEGIN { FS = "="; minor = ARGV[2]; ARGV[2] = ""; bnum = ARGV[3]; ARGV[3] = ""; build_rev = ARGV[4]; ARGV[4] = ""};
- {
- if ($1 == "MinorVersion")
- printf "%s=%s\n", $1, minor
- else if ($1 == "BuildNumber")
- printf "%s=%s\n", $1, bnum
- else if ($1 == "ProductType")
- printf "%s=%s\n", $1, build_rev
- else
- printf "%s\n", $0
- }' ${file} $(echo ${pkgver} | cut -f 2,3 -d'.') ${_build} ${pkgver}
- done
- echo ' done!'
+ # Use system libstdc++ to fix Synplify Pro crashes
+ cd "${srcdir}/usr/local/diamond/3.13/bin/lin64"
+ rm libstdc++.so.6.0.18
+ rm libstdc++.so.6
+ ln -sf /usr/lib/libstdc++.so.6
+ cd "${srcdir}/usr/local/diamond/3.13/synpbase/linux_a_64/lib"
+ rm libstdc++.so.6
+ ln -sf /usr/lib/libstdc++.so.6
}
package() {
diff --git a/lattice-diamond.desktop b/lattice-diamond.desktop
index 6e23f6d5dd0e..c0858e2956c4 100644
--- a/lattice-diamond.desktop
+++ b/lattice-diamond.desktop
@@ -4,6 +4,6 @@ Version=1.0
Type=Application
Icon=lattice-diamond
Name=Lattice Diamond
-Exec=/usr/local/diamond/3.12/bin/lin64/diamond
+Exec=unset QT_QPA_PLATFORM;/usr/local/diamond/3.13/bin/lin64/diamond
Categories=Development;
Comment=Lattice Diamond Design Software