forked from ra3xdh/qucs_s
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ra3xdh#901 from ra3xdh/add_contrib
Upload install scripts
- Loading branch information
Showing
9 changed files
with
314 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[InternetShortcut] | ||
URL=https://qucs-s-help.readthedocs.io/ |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[InternetShortcut] | ||
URL=http://mingw-w64.sourceforge.net/ |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[InternetShortcut] | ||
URL=https://ra3xdh.github.io/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
; | ||
; qucs.iss - inno Setup script file | ||
; | ||
; Copyright (C) 2005-2011 Stefan Jahn <stefan@lkcc.org> | ||
; Copyright (C) 2014-2016 Guilherme Brondani Torri <guitorri@gmail.com> | ||
; | ||
; This is free software; you can redistribute it and/or modify | ||
; it under the terms of the GNU General Public License as published by | ||
; the Free Software Foundation; either version 2, or (at your option) | ||
; any later version. | ||
; | ||
; This software is distributed in the hope that it will be useful, | ||
; but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
; GNU General Public License for more details. | ||
; | ||
; You should have received a copy of the GNU General Public License | ||
; along with this package; see the file COPYING. If not, write to | ||
; the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, | ||
; Boston, MA 02110-1301, USA. | ||
; | ||
|
||
|
||
#define RELEASE "24.3.0" | ||
#define BASENAME "qucs-s" | ||
#define APPNAME "Qucs-S" | ||
#define APPVERNAME "Quite Universal Circuit Simulator 24.3.0" | ||
#define URL "https://ra3xdh.github.io/" | ||
#define TREE "c:\msys64\home\vvk\qucs_s_win64\" | ||
|
||
[Setup] | ||
AppName={# APPNAME} | ||
AppVerName={# APPVERNAME} | ||
AppPublisher=The Qucs Team | ||
AppPublisherURL={# URL} | ||
AppSupportURL={# URL} | ||
AppUpdatesURL={# URL} | ||
DefaultDirName={pf}\Qucs-S | ||
DefaultGroupName=Qucs-S | ||
AllowNoIcons=yes | ||
LicenseFile={# TREE}\misc\gpl.rtf | ||
OutputBaseFilename={# BASENAME}-{# RELEASE}-setup | ||
Compression=lzma | ||
SolidCompression=yes | ||
ChangesEnvironment=yes | ||
UsePreviousAppDir=yes | ||
|
||
; [Registry] | ||
; Root: HKLM; Subkey: SYSTEM\CurrentControlSet\Control\Session Manager\Environment; ValueType: string; ValueName: QUCSDIR; ValueData: "{app}"; Flags: deletevalue createvalueifdoesntexist noerror; MinVersion: 0,4.00.1381 | ||
|
||
[Tasks] | ||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked | ||
|
||
[Files] | ||
Source: "{# TREE}\bin\*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs createallsubdirs | ||
; Source: "{# TREE}\include\*"; DestDir: "{app}\include"; Flags: ignoreversion recursesubdirs createallsubdirs | ||
; Source: "{# TREE}\lib\*"; DestDir: "{app}\lib"; Flags: ignoreversion recursesubdirs createallsubdirs | ||
Source: "{# TREE}\misc\*"; DestDir: "{app}\misc"; Flags: ignoreversion recursesubdirs createallsubdirs | ||
Source: "{# TREE}\lib\*"; DestDir: "{app}\lib"; Flags: ignoreversion recursesubdirs createallsubdirs | ||
Source: "{# TREE}\share\*"; DestDir: "{app}\share"; Flags: ignoreversion recursesubdirs createallsubdirs | ||
|
||
[Icons] | ||
Name: "{group}\Qucs-S Simulator"; Filename: "{app}\bin\qucs-s.exe"; IconFilename: "{app}\misc\qucs64x64.ico"; WorkingDir: "{app}\bin" | ||
Name: "{group}\Visit the Qucs Web Site"; Filename: "{app}\misc\website.url" | ||
Name: "{group}\Technical Online Documentation"; Filename: "{app}\misc\docsite.url" | ||
Name: "{group}\{cm:UninstallProgram,Qucs}"; Filename: "{uninstallexe}" | ||
Name: "{userdesktop}\Qucs-S"; Filename: "{app}\bin\qucs-s.exe"; IconFilename: "{app}\misc\qucs64x64.ico"; WorkingDir: "{app}\bin"; Tasks: desktopicon | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Copyright 1999-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
if [[ ${PV} == "9999" ]]; then | ||
EGIT_REPO_URI="https://github.com/ra3xdh/qucs_s.git" | ||
inherit git-r3 | ||
else | ||
SRC_URI="https://github.com/ra3xdh/qucs_s/releases/download/${PV}/${P}.tar.gz" | ||
KEYWORDS="~amd64 ~x86" | ||
fi | ||
|
||
inherit cmake-multilib xdg-utils | ||
|
||
DESCRIPTION="Quite universal circuit simulator with SPICE" | ||
HOMEPAGE="https://github.com/ra3xdh/qucs_s" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
IUSE="" | ||
RESTRICT="mirror" | ||
|
||
DEPEND=" | ||
dev-qt/qtsvg:6 | ||
sci-electronics/ngspice | ||
" | ||
RDEPEND="${DEPEND}" | ||
BDEPEND=" | ||
dev-qt/qttools:6 | ||
sys-devel/flex | ||
sys-devel/bison | ||
app-text/dos2unix | ||
dev-util/gperf | ||
" | ||
|
||
multilib_src_configure() { | ||
local mycmakeargs=( | ||
-DWITH_QT6=ON | ||
-DCMAKE_INSTALL_PREFIX=/usr | ||
) | ||
cmake_src_configure | ||
} | ||
|
||
pkg_postinst() { | ||
xdg_icon_cache_update | ||
} | ||
|
||
pkg_postrm() { | ||
xdg_icon_cache_update | ||
} | ||
|