Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : klayout | name : klayout | ||||
| version : 0.25.4 | version : 0.25.4 | ||||
| release : 4 | release : 5 | ||||
| source : | source : | ||||
| - http://www.klayout.org/downloads/source/klayout-0.25.4.tar.bz2 : fa20bd85a932933be34269750191d2e045b344d4e84c4e418b5cb71d965ad404 | - http://www.klayout.org/downloads/source/klayout-0.25.4.tar.bz2 : fa20bd85a932933be34269750191d2e045b344d4e84c4e418b5cb71d965ad404 | ||||
| license : | license : | ||||
| - GPL-2.0-or-later | - GPL-2.0-or-later | ||||
| component : office.scientific | component : office.scientific | ||||
| summary : Klayout GDS/OASIS editor | summary : Klayout GDS/OASIS editor | ||||
| description: | | description: | | ||||
| High performance layout viewer and editor that supports GDS and OASIS files. | High performance layout viewer and editor that supports GDS and OASIS files. | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(gl) | - pkgconfig(gl) | ||||
| - pkgconfig(harfbuzz) | - pkgconfig(harfbuzz) | ||||
| - pkgconfig(python3) | - pkgconfig(python3) | ||||
| - pkgconfig(Qt5Designer) | - pkgconfig(Qt5Designer) | ||||
| - pkgconfig(Qt5Multimedia) | - pkgconfig(Qt5Multimedia) | ||||
| - pkgconfig(Qt5Svg) | - pkgconfig(Qt5Svg) | ||||
| - pkgconfig(Qt5XmlPatterns) | - pkgconfig(Qt5XmlPatterns) | ||||
| - pkgconfig(ruby-2.3) | - pkgconfig(ruby-2.6) | ||||
| replaces : | replaces : | ||||
| - klayout-devel | - klayout-devel | ||||
| setup : | | setup : | | ||||
| %patch -p1 < $pkgfiles/0001-missing-OP.patch | %patch -p1 < $pkgfiles/0001-missing-OP.patch | ||||
| ./build.sh -dry-run -qt5 | ./build.sh -dry-run -qt5 | ||||
| build : | | build : | | ||||
| cd build-release | cd build-release | ||||
| %make | %make | ||||
| install : | | install : "## Binaries\ninstall -D -d -m 00755 $installdir/usr/bin\ninstall -m\ | ||||
| ## Binaries | \ 00755 build-release/{klayout,strm*} $installdir/usr/bin/.\n\n## Libraries\n\ | ||||
| install -D -d -m 00755 $installdir/usr/bin | install -D -d -m 00755 $installdir/%libdir%\ninstall -m 00644 build-release/libklayout*.so.0\ | ||||
| install -m 00755 build-release/{klayout,strm*} $installdir/usr/bin/. | \ $installdir/%libdir%/.\n## use cp+chmod because install resolve\ncp -d build-release/libklayout*.so.0.*\ | ||||
| \ $installdir/%libdir%/.\nchmod 00644 $installdir/%libdir%/libklayout*.so.0.*\n\ | |||||
| ## Libraries | \n## Menu Files \ninstall -D -m 00644 etc/logo.png $installdir/usr/share/pixmaps/klayout.png\n\ | ||||
| install -D -d -m 00755 $installdir/%libdir% | install -D -m 00644 $pkgfiles/klayoutEditor.desktop $installdir/usr/share/applications/klayoutEditor.desktop\n\ | ||||
| install -m 00644 build-release/libklayout*.so.0 $installdir/%libdir%/. | install -D -m 00644 $pkgfiles/klayoutViewer.desktop $installdir/usr/share/applications/klayoutViewer.desktop\n" | ||||
| ## use cp+chmod because install resolve | |||||
| cp -d build-release/libklayout*.so.0.* $installdir/%libdir%/. | |||||
| chmod 00644 $installdir/%libdir%/libklayout*.so.0.* | |||||
| ## Menu Files | |||||
| install -D -m 00644 etc/logo.png $installdir/usr/share/pixmaps/klayout.png | |||||
| install -D -m 00644 $pkgfiles/klayoutEditor.desktop $installdir/usr/share/applications/klayoutEditor.desktop | |||||
| install -D -m 00644 $pkgfiles/klayoutViewer.desktop $installdir/usr/share/applications/klayoutViewer.desktop | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.