summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD17
-rw-r--r--lattice-diamond.desktop2
3 files changed, 18 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d592636f8bd1..24a4ccbf68f7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,19 @@
pkgbase = lattice-diamond
pkgdesc = Lattice Diamond design software
- pkgver = 3.12
+ 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.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 = 76b2d77c61a532278470f5dfab7ed409d467f6f5566e56bc9680761c429ad90ac2881b17cac6ef297bc0ddd246ab92403c1a56caa22890b6393e18bb25d7f980
sha512sums = 772fa260bb1a4ed7c4e328a99b3cd16b625e8880d7731abbe0cd59dbe4d743265e169a26ceba7b619a87c1cb9638a268a5501d3358863171ee808e59b2d3b0ac
- sha512sums = b5e8b6d6ed282181aff1a0206adf333339c19bd9f2f0d61984864891e971f4923f64d6fc8b657035a080d22c519f26afa30d73933f842b9c66008cecad3f3179
+ sha512sums = 9cc87b6e05bc47ef3db9066a06384c0710a4aeaf725f24beaa45732474ed40b0b637c664c1e3f014a7f7dfc25401e872d38497015576c18d3929f38975504d9b
sha512sums = 0f6f4463e1b1266a151afaaf6fefb3d69b712fafd6f2fa20beb211a3f9dd4db216be7255cc8fddaac946534754739c13406476fc6474236e7505bcd033a71d81
pkgname = lattice-diamond
-
diff --git a/PKGBUILD b/PKGBUILD
index c6219b725091..99f24e0fb5d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@
# http://www.latticesemi.com/latticediamond#linux
# Then put these files in the build directory and retry.
-_version=3.12
-_base=240-2
+_version=3.13
+_base=56-2
pkgname=lattice-diamond
pkgdesc='Lattice Diamond design software'
url=http://www.latticesemi.com/
@@ -20,9 +20,9 @@ source=("http://files.latticesemi.com/Diamond/${_version}/diamond_${_version/"."
"${pkgname}.png"
"${pkgname}.desktop"
"${pkgname}.install")
-sha512sums=('b3cd590ad588c01b0296ed055735c7cc3670c37265d7f377abb57ff225eec8b621380cc56025eec6f0836bfef470da2d2c28ea87d03bf0152fe506c16c02f6b9'
+sha512sums=('76b2d77c61a532278470f5dfab7ed409d467f6f5566e56bc9680761c429ad90ac2881b17cac6ef297bc0ddd246ab92403c1a56caa22890b6393e18bb25d7f980'
'772fa260bb1a4ed7c4e328a99b3cd16b625e8880d7731abbe0cd59dbe4d743265e169a26ceba7b619a87c1cb9638a268a5501d3358863171ee808e59b2d3b0ac'
- 'b5e8b6d6ed282181aff1a0206adf333339c19bd9f2f0d61984864891e971f4923f64d6fc8b657035a080d22c519f26afa30d73933f842b9c66008cecad3f3179'
+ '9cc87b6e05bc47ef3db9066a06384c0710a4aeaf725f24beaa45732474ed40b0b637c664c1e3f014a7f7dfc25401e872d38497015576c18d3929f38975504d9b'
'0f6f4463e1b1266a151afaaf6fefb3d69b712fafd6f2fa20beb211a3f9dd4db216be7255cc8fddaac946534754739c13406476fc6474236e7505bcd033a71d81')
options=('!strip')
PKGEXT=".pkg.tar.zst"
@@ -37,6 +37,15 @@ prepare() {
rm ${package}.tar.gz
echo ' done!'
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