From 2c0934319a2f634c3b3744ddc58cc9130b83bdeb Mon Sep 17 00:00:00 2001 From: KawaiiAmber Date: Tue, 19 Jan 2021 01:58:37 -0700 Subject: [PATCH 1/2] New package: mono-addins-1.3.3 --- .../mono-addins/patches/fix-delay-sign.patch | 21 +++++++++++++++ srcpkgs/mono-addins/template | 27 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 srcpkgs/mono-addins/patches/fix-delay-sign.patch create mode 100644 srcpkgs/mono-addins/template diff --git a/srcpkgs/mono-addins/patches/fix-delay-sign.patch b/srcpkgs/mono-addins/patches/fix-delay-sign.patch new file mode 100644 index 00000000000000..04bea6aa3ee895 --- /dev/null +++ b/srcpkgs/mono-addins/patches/fix-delay-sign.patch @@ -0,0 +1,21 @@ +Source: https://build.opensuse.org/package/view_file/openSUSE:Factory/mono-addins/fix-delay-sign.patch +Upstream: No +Reason: mono 5.0+ doesn't allow to install delay-signed dlls into GAC, so sign delay-signed dlls +before adding it to GAC. +--- Makefile.include 2016-07-27 01:26:26.000000000 +0300 ++++ Makefile.include 2017-05-03 02:49:41.690295653 +0300 +@@ -14,8 +14,14 @@ $(POLICY_ASSEMBLIES) : policy.%.$(ASSEMB + $(AL) -link:policy.$*.config -out:$@ -keyfile:$(top_srcdir)/mono-addins.snk + + gac-install: $(POLICY_ASSEMBLIES) ++ sn -v '$(ASSEMBLY)' || if [[ $$? = 1 ]]; then \ ++ sn -R '$(ASSEMBLY)' ../mono-addins.snk; \ ++ fi + $(GACUTIL) /i $(ASSEMBLY) /f $(GACUTIL_FLAGS) || exit 1; + @for p in $(POLICY_ASSEMBLIES); do \ ++ sn -v "$$p" || if [[ $$? = 1 ]]; then \ ++ sn -R "$$p" ../mono-addins.snk; \ ++ fi; \ + echo $(GACUTIL) /i $$p /f $(GACUTIL_POLICY_FLAGS) || exit 1; \ + $(GACUTIL) /i $$p /f $(GACUTIL_POLICY_FLAGS) || exit 1; \ + done diff --git a/srcpkgs/mono-addins/template b/srcpkgs/mono-addins/template new file mode 100644 index 00000000000000..215ab168149d88 --- /dev/null +++ b/srcpkgs/mono-addins/template @@ -0,0 +1,27 @@ +# Template file for 'mono-addins' +pkgname=mono-addins +version=1.3.3 +revision=1 +wrksrc=${pkgname}-${pkgname}-${version} +build_style=gnu-configure +hostmakedepends="autoconf automake pkg-config" +makedepends="mono-devel gtk-sharp2" +depends="mono gtk-sharp2" +short_desc="Generic framework for creating extensible applications" +maintainer="KawaiiAmber " +license="MIT" +homepage="https://www.mono-project.com/archived/monoaddins" +distfiles="https://github.com/mono/${pkgname}/archive/${pkgname}-${version}.tar.gz" +checksum=254539d14e71789814a4fd37ed444dd33fc8ddb5fc082b1bf8e93f3d5d840b14 + +if [ "${CROSS_BUILD}" ]; then + hostmakedepends+=" mono gtk-sharp2" +fi + +pre_configure() { + ./autogen.sh +} + +post_install() { + vlicense COPYING +} From b51d3e86395966fcc9ba57a54155fc400cf708c9 Mon Sep 17 00:00:00 2001 From: KawaiiAmber Date: Tue, 19 Jan 2021 01:59:09 -0700 Subject: [PATCH 2/2] New package: pinta-1.7 --- srcpkgs/pinta/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/pinta/template diff --git a/srcpkgs/pinta/template b/srcpkgs/pinta/template new file mode 100644 index 00000000000000..48b326a2bb94eb --- /dev/null +++ b/srcpkgs/pinta/template @@ -0,0 +1,22 @@ +# Template file for 'pinta' +pkgname=pinta +version=1.7 +revision=1 +build_style=gnu-configure +hostmakedepends="autoconf automake pkg-config" +makedepends="mono-devel gtk-sharp intltool mono-addins" +depends="mono-addins" +short_desc="Simple GTK# Paint Program" +maintainer="KawaiiAmber " +license="MIT" +homepage="https://www.pinta-project.com/" +distfiles="https://github.com/PintaProject/Pinta/releases/download/${version}/${pkgname}-${version}.tar.gz" +checksum=678c0d5c6e41da77696180efc71476ccfda3238a3d68d7331198c8a431dbf96c + +if [ "${CROSS_BUILD}" ]; then + hostmakedepends+=" mono intltool gtk-sharp2 mono-addins" +fi + +post_install() { + vlicense license-mit.txt +}