Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: sfxr-1.2.1
@ 2024-06-07  0:08 Sapein
  2024-06-07 22:02 ` [PR PATCH] [Updated] " Sapein
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Sapein @ 2024-06-07  0:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 653 bytes --]

There is a new pull request by Sapein against master on the void-packages repository

https://github.com/Sapein/void-packages sfxr-1.2.1
https://github.com/void-linux/void-packages/pull/50725

New package: sfxr-1.2.1
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/50725.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sfxr-1.2.1-50725.patch --]
[-- Type: text/x-diff, Size: 2936 bytes --]

From a3a3aa1e4931f323480f77c8ad6b586b2d654410 Mon Sep 17 00:00:00 2001
From: Sapein <5852983+Sapein@users.noreply.github.com>
Date: Thu, 6 Jun 2024 19:02:43 -0500
Subject: [PATCH] New package: sfxr-1.2.1

---
 srcpkgs/sfxr/patches/fix-flags.patch      | 13 +++++++++++++
 srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch | 11 +++++++++++
 srcpkgs/sfxr/template                     | 23 +++++++++++++++++++++++
 3 files changed, 47 insertions(+)
 create mode 100644 srcpkgs/sfxr/patches/fix-flags.patch
 create mode 100644 srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch
 create mode 100644 srcpkgs/sfxr/template

diff --git a/srcpkgs/sfxr/patches/fix-flags.patch b/srcpkgs/sfxr/patches/fix-flags.patch
new file mode 100644
index 00000000000000..5b21e8756c881d
--- /dev/null
+++ b/srcpkgs/sfxr/patches/fix-flags.patch
@@ -0,0 +1,13 @@
+--- sfxr-sdl-1.2.1/Makefile	2012-04-28 07:55:05.000000000 -0500
++++ sfxr-sdl-1.2.1/Makefile	2020-04-18 21:08:53.055807782 -0500
+@@ -1,7 +1,7 @@
+-CFLAGS=-ggdb
++override CFLAGS += -ggdb
+ GTK=3.0
+-CXXFLAGS=$(CFLAGS) `sdl-config --cflags` `pkg-config gtk+-${GTK} --cflags`
+-LDFLAGS=`sdl-config --libs` `pkg-config gtk+-${GTK} --libs`
++override CXXFLAGS += $(CFLAGS) `sdl-config --cflags` `pkg-config gtk+-${GTK} --cflags`
++override LDFLAGS += `sdl-config --libs` `pkg-config gtk+-${GTK} --libs`
+ 
+ sfxr: main.cpp tools.h sdlkit.h
+ 	$(CXX) $< $(CXXFLAGS) $(LDFLAGS) -o $@
diff --git a/srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch b/srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch
new file mode 100644
index 00000000000000..7bc4a2bcb1b8f5
--- /dev/null
+++ b/srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch
@@ -0,0 +1,11 @@
+diff -up sfxr-sdl-1.2.1/sdlkit.h~ sfxr-sdl-1.2.1/sdlkit.h
+--- sfxr-sdl-1.2.1/sdlkit.h~	2012-04-28 12:33:53.000000000 +0200
++++ sfxr-sdl-1.2.1/sdlkit.h	2018-06-16 22:30:44.218691765 +0200
+@@ -77,6 +77,7 @@ static bool ddkLock ()
+ 	ddkpitch = sdlscreen->pitch / (sdlscreen->format->BitsPerPixel == 32 ? 4 : 2);
+ 	ddkscreen16 = (Uint16*)(sdlscreen->pixels);
+ 	ddkscreen32 = (Uint32*)(sdlscreen->pixels);
++	return true;
+ }
+ 
+ static void ddkUnlock ()
diff --git a/srcpkgs/sfxr/template b/srcpkgs/sfxr/template
new file mode 100644
index 00000000000000..b9a60a06941f31
--- /dev/null
+++ b/srcpkgs/sfxr/template
@@ -0,0 +1,23 @@
+# Template file for 'sfxr'
+pkgname=sfxr
+version=1.2.1
+revision=1
+archs="i686 x86_64"
+build_style=gnu-makefile
+hostmakedepends="pkg-config desktop-file-utils"
+makedepends="SDL-devel gtk+3-devel"
+depends="SDL gtk+3"
+short_desc="Random sound effect generator for games, etc"
+maintainer="Sapein <5852983+Sapein@users.noreply.github.com>"
+license="MIT"
+homepage="https://www.drpetter.se/project_sfxr.html"
+distfiles="https://www.drpetter.se/files/sfxr-sdl-1.2.1.tar.gz"
+checksum=ca93be8964c92fe3a2c945640cd3e93c95ae7abe24290818f4fe7f6e5a7cd835
+
+post_extract() {
+	grep -A 21 "Copyright" readme.txt > LICENSE
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] New package: sfxr-1.2.1
  2024-06-07  0:08 [PR PATCH] New package: sfxr-1.2.1 Sapein
@ 2024-06-07 22:02 ` Sapein
  2024-06-09 16:03 ` Sapein
  2024-06-14 16:06 ` Sapein
  2 siblings, 0 replies; 5+ messages in thread
From: Sapein @ 2024-06-07 22:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

There is an updated pull request by Sapein against master on the void-packages repository

https://github.com/Sapein/void-packages sfxr-1.2.1
https://github.com/void-linux/void-packages/pull/50725

New package: sfxr-1.2.1
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/50725.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sfxr-1.2.1-50725.patch --]
[-- Type: text/x-diff, Size: 2936 bytes --]

From cfc3a064523771dfbd1b0337d795535e31338e1e Mon Sep 17 00:00:00 2001
From: Sapein <5852983+Sapein@users.noreply.github.com>
Date: Thu, 6 Jun 2024 19:02:43 -0500
Subject: [PATCH] New package: sfxr-1.2.1

---
 srcpkgs/sfxr/patches/fix-flags.patch      | 13 +++++++++++++
 srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch | 11 +++++++++++
 srcpkgs/sfxr/template                     | 23 +++++++++++++++++++++++
 3 files changed, 47 insertions(+)
 create mode 100644 srcpkgs/sfxr/patches/fix-flags.patch
 create mode 100644 srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch
 create mode 100644 srcpkgs/sfxr/template

diff --git a/srcpkgs/sfxr/patches/fix-flags.patch b/srcpkgs/sfxr/patches/fix-flags.patch
new file mode 100644
index 00000000000000..5b21e8756c881d
--- /dev/null
+++ b/srcpkgs/sfxr/patches/fix-flags.patch
@@ -0,0 +1,13 @@
+--- sfxr-sdl-1.2.1/Makefile	2012-04-28 07:55:05.000000000 -0500
++++ sfxr-sdl-1.2.1/Makefile	2020-04-18 21:08:53.055807782 -0500
+@@ -1,7 +1,7 @@
+-CFLAGS=-ggdb
++override CFLAGS += -ggdb
+ GTK=3.0
+-CXXFLAGS=$(CFLAGS) `sdl-config --cflags` `pkg-config gtk+-${GTK} --cflags`
+-LDFLAGS=`sdl-config --libs` `pkg-config gtk+-${GTK} --libs`
++override CXXFLAGS += $(CFLAGS) `sdl-config --cflags` `pkg-config gtk+-${GTK} --cflags`
++override LDFLAGS += `sdl-config --libs` `pkg-config gtk+-${GTK} --libs`
+ 
+ sfxr: main.cpp tools.h sdlkit.h
+ 	$(CXX) $< $(CXXFLAGS) $(LDFLAGS) -o $@
diff --git a/srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch b/srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch
new file mode 100644
index 00000000000000..7bc4a2bcb1b8f5
--- /dev/null
+++ b/srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch
@@ -0,0 +1,11 @@
+diff -up sfxr-sdl-1.2.1/sdlkit.h~ sfxr-sdl-1.2.1/sdlkit.h
+--- sfxr-sdl-1.2.1/sdlkit.h~	2012-04-28 12:33:53.000000000 +0200
++++ sfxr-sdl-1.2.1/sdlkit.h	2018-06-16 22:30:44.218691765 +0200
+@@ -77,6 +77,7 @@ static bool ddkLock ()
+ 	ddkpitch = sdlscreen->pitch / (sdlscreen->format->BitsPerPixel == 32 ? 4 : 2);
+ 	ddkscreen16 = (Uint16*)(sdlscreen->pixels);
+ 	ddkscreen32 = (Uint32*)(sdlscreen->pixels);
++	return true;
+ }
+ 
+ static void ddkUnlock ()
diff --git a/srcpkgs/sfxr/template b/srcpkgs/sfxr/template
new file mode 100644
index 00000000000000..b9a60a06941f31
--- /dev/null
+++ b/srcpkgs/sfxr/template
@@ -0,0 +1,23 @@
+# Template file for 'sfxr'
+pkgname=sfxr
+version=1.2.1
+revision=1
+archs="i686 x86_64"
+build_style=gnu-makefile
+hostmakedepends="pkg-config desktop-file-utils"
+makedepends="SDL-devel gtk+3-devel"
+depends="SDL gtk+3"
+short_desc="Random sound effect generator for games, etc"
+maintainer="Sapein <5852983+Sapein@users.noreply.github.com>"
+license="MIT"
+homepage="https://www.drpetter.se/project_sfxr.html"
+distfiles="https://www.drpetter.se/files/sfxr-sdl-1.2.1.tar.gz"
+checksum=ca93be8964c92fe3a2c945640cd3e93c95ae7abe24290818f4fe7f6e5a7cd835
+
+post_extract() {
+	grep -A 21 "Copyright" readme.txt > LICENSE
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] New package: sfxr-1.2.1
  2024-06-07  0:08 [PR PATCH] New package: sfxr-1.2.1 Sapein
  2024-06-07 22:02 ` [PR PATCH] [Updated] " Sapein
@ 2024-06-09 16:03 ` Sapein
  2024-06-14 16:06 ` Sapein
  2 siblings, 0 replies; 5+ messages in thread
From: Sapein @ 2024-06-09 16:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

There is an updated pull request by Sapein against master on the void-packages repository

https://github.com/Sapein/void-packages sfxr-1.2.1
https://github.com/void-linux/void-packages/pull/50725

New package: sfxr-1.2.1
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/50725.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sfxr-1.2.1-50725.patch --]
[-- Type: text/x-diff, Size: 2941 bytes --]

From 97b05e2e1d5de9b529c75d1ac1655dbee247b168 Mon Sep 17 00:00:00 2001
From: Sapein <5852983+Sapein@users.noreply.github.com>
Date: Thu, 6 Jun 2024 19:02:43 -0500
Subject: [PATCH] New package: sfxr-1.2.1

---
 srcpkgs/sfxr/patches/fix-flags.patch      | 13 +++++++++++++
 srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch | 11 +++++++++++
 srcpkgs/sfxr/template                     | 23 +++++++++++++++++++++++
 3 files changed, 47 insertions(+)
 create mode 100644 srcpkgs/sfxr/patches/fix-flags.patch
 create mode 100644 srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch
 create mode 100644 srcpkgs/sfxr/template

diff --git a/srcpkgs/sfxr/patches/fix-flags.patch b/srcpkgs/sfxr/patches/fix-flags.patch
new file mode 100644
index 00000000000000..5b21e8756c881d
--- /dev/null
+++ b/srcpkgs/sfxr/patches/fix-flags.patch
@@ -0,0 +1,13 @@
+--- sfxr-sdl-1.2.1/Makefile	2012-04-28 07:55:05.000000000 -0500
++++ sfxr-sdl-1.2.1/Makefile	2020-04-18 21:08:53.055807782 -0500
+@@ -1,7 +1,7 @@
+-CFLAGS=-ggdb
++override CFLAGS += -ggdb
+ GTK=3.0
+-CXXFLAGS=$(CFLAGS) `sdl-config --cflags` `pkg-config gtk+-${GTK} --cflags`
+-LDFLAGS=`sdl-config --libs` `pkg-config gtk+-${GTK} --libs`
++override CXXFLAGS += $(CFLAGS) `sdl-config --cflags` `pkg-config gtk+-${GTK} --cflags`
++override LDFLAGS += `sdl-config --libs` `pkg-config gtk+-${GTK} --libs`
+ 
+ sfxr: main.cpp tools.h sdlkit.h
+ 	$(CXX) $< $(CXXFLAGS) $(LDFLAGS) -o $@
diff --git a/srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch b/srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch
new file mode 100644
index 00000000000000..7bc4a2bcb1b8f5
--- /dev/null
+++ b/srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch
@@ -0,0 +1,11 @@
+diff -up sfxr-sdl-1.2.1/sdlkit.h~ sfxr-sdl-1.2.1/sdlkit.h
+--- sfxr-sdl-1.2.1/sdlkit.h~	2012-04-28 12:33:53.000000000 +0200
++++ sfxr-sdl-1.2.1/sdlkit.h	2018-06-16 22:30:44.218691765 +0200
+@@ -77,6 +77,7 @@ static bool ddkLock ()
+ 	ddkpitch = sdlscreen->pitch / (sdlscreen->format->BitsPerPixel == 32 ? 4 : 2);
+ 	ddkscreen16 = (Uint16*)(sdlscreen->pixels);
+ 	ddkscreen32 = (Uint32*)(sdlscreen->pixels);
++	return true;
+ }
+ 
+ static void ddkUnlock ()
diff --git a/srcpkgs/sfxr/template b/srcpkgs/sfxr/template
new file mode 100644
index 00000000000000..f9be545a512f19
--- /dev/null
+++ b/srcpkgs/sfxr/template
@@ -0,0 +1,23 @@
+# Template file for 'sfxr'
+pkgname=sfxr
+version=1.2.1
+revision=1
+archs="i686 x86_64"
+build_style=gnu-makefile
+hostmakedepends="pkg-config desktop-file-utils"
+makedepends="SDL-devel gtk+3-devel"
+depends="SDL gtk+3"
+short_desc="Random sound effect generator for games, etc"
+maintainer="Sapein <5852983+Sapein@users.noreply.github.com>"
+license="MIT"
+homepage="https://www.drpetter.se/project_sfxr.html"
+distfiles="https://www.drpetter.se/files/sfxr-sdl-${version}.tar.gz"
+checksum=ca93be8964c92fe3a2c945640cd3e93c95ae7abe24290818f4fe7f6e5a7cd835
+
+post_extract() {
+	grep -A 21 "Copyright" readme.txt > LICENSE
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Updated] New package: sfxr-1.2.1
  2024-06-07  0:08 [PR PATCH] New package: sfxr-1.2.1 Sapein
  2024-06-07 22:02 ` [PR PATCH] [Updated] " Sapein
  2024-06-09 16:03 ` Sapein
@ 2024-06-14 16:06 ` Sapein
  2 siblings, 0 replies; 5+ messages in thread
From: Sapein @ 2024-06-14 16:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

There is an updated pull request by Sapein against master on the void-packages repository

https://github.com/Sapein/void-packages sfxr-1.2.1
https://github.com/void-linux/void-packages/pull/50725

New package: sfxr-1.2.1
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/50725.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sfxr-1.2.1-50725.patch --]
[-- Type: text/x-diff, Size: 2877 bytes --]

From 3b24856849b6f1a521354c300f942e6be1f6534a Mon Sep 17 00:00:00 2001
From: Sapein <5852983+Sapein@users.noreply.github.com>
Date: Thu, 6 Jun 2024 19:02:43 -0500
Subject: [PATCH] New package: sfxr-1.2.1

---
 srcpkgs/sfxr/patches/fix-flags.patch      | 13 +++++++++++++
 srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch | 11 +++++++++++
 srcpkgs/sfxr/template                     | 21 +++++++++++++++++++++
 3 files changed, 45 insertions(+)
 create mode 100644 srcpkgs/sfxr/patches/fix-flags.patch
 create mode 100644 srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch
 create mode 100644 srcpkgs/sfxr/template

diff --git a/srcpkgs/sfxr/patches/fix-flags.patch b/srcpkgs/sfxr/patches/fix-flags.patch
new file mode 100644
index 00000000000000..5b21e8756c881d
--- /dev/null
+++ b/srcpkgs/sfxr/patches/fix-flags.patch
@@ -0,0 +1,13 @@
+--- sfxr-sdl-1.2.1/Makefile	2012-04-28 07:55:05.000000000 -0500
++++ sfxr-sdl-1.2.1/Makefile	2020-04-18 21:08:53.055807782 -0500
+@@ -1,7 +1,7 @@
+-CFLAGS=-ggdb
++override CFLAGS += -ggdb
+ GTK=3.0
+-CXXFLAGS=$(CFLAGS) `sdl-config --cflags` `pkg-config gtk+-${GTK} --cflags`
+-LDFLAGS=`sdl-config --libs` `pkg-config gtk+-${GTK} --libs`
++override CXXFLAGS += $(CFLAGS) `sdl-config --cflags` `pkg-config gtk+-${GTK} --cflags`
++override LDFLAGS += `sdl-config --libs` `pkg-config gtk+-${GTK} --libs`
+ 
+ sfxr: main.cpp tools.h sdlkit.h
+ 	$(CXX) $< $(CXXFLAGS) $(LDFLAGS) -o $@
diff --git a/srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch b/srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch
new file mode 100644
index 00000000000000..7bc4a2bcb1b8f5
--- /dev/null
+++ b/srcpkgs/sfxr/patches/sfxr-sdl-gcc8x.patch
@@ -0,0 +1,11 @@
+diff -up sfxr-sdl-1.2.1/sdlkit.h~ sfxr-sdl-1.2.1/sdlkit.h
+--- sfxr-sdl-1.2.1/sdlkit.h~	2012-04-28 12:33:53.000000000 +0200
++++ sfxr-sdl-1.2.1/sdlkit.h	2018-06-16 22:30:44.218691765 +0200
+@@ -77,6 +77,7 @@ static bool ddkLock ()
+ 	ddkpitch = sdlscreen->pitch / (sdlscreen->format->BitsPerPixel == 32 ? 4 : 2);
+ 	ddkscreen16 = (Uint16*)(sdlscreen->pixels);
+ 	ddkscreen32 = (Uint32*)(sdlscreen->pixels);
++	return true;
+ }
+ 
+ static void ddkUnlock ()
diff --git a/srcpkgs/sfxr/template b/srcpkgs/sfxr/template
new file mode 100644
index 00000000000000..c80b56b93a779c
--- /dev/null
+++ b/srcpkgs/sfxr/template
@@ -0,0 +1,21 @@
+# Template file for 'sfxr'
+pkgname=sfxr
+version=1.2.1
+revision=1
+build_style=gnu-makefile
+hostmakedepends="pkg-config desktop-file-utils"
+makedepends="SDL-devel gtk+3-devel"
+short_desc="Random sound effect generator for games, etc"
+maintainer="Sapein <sapeint@hashbang.sh>"
+license="MIT"
+homepage="https://www.drpetter.se/project_sfxr.html"
+distfiles="https://www.drpetter.se/files/sfxr-sdl-${version}.tar.gz"
+checksum=ca93be8964c92fe3a2c945640cd3e93c95ae7abe24290818f4fe7f6e5a7cd835
+
+post_extract() {
+	grep -A 21 "Copyright" readme.txt > LICENSE
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PR PATCH] New package: sfxr-1.2.1
@ 2020-04-19  2:18 agausmann
  0 siblings, 0 replies; 5+ messages in thread
From: agausmann @ 2020-04-19  2:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 309 bytes --]

There is a new pull request by agausmann against master on the void-packages repository

https://github.com/agausmann/void-packages sfxr
https://github.com/void-linux/void-packages/pull/21140

New package: sfxr-1.2.1


A patch file from https://github.com/void-linux/void-packages/pull/21140.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sfxr-21140.patch --]
[-- Type: text/x-diff, Size: 3610 bytes --]

From 0bfcfce9dc6c6c7d006e297f597830a590bca5dd Mon Sep 17 00:00:00 2001
From: Adam Gausmann <agausmann@fastmail.com>
Date: Sat, 18 Apr 2020 21:19:42 -0500
Subject: [PATCH] New package: sfxr-1.2.1

---
 srcpkgs/sfxr/files/LICENSE                    | 32 +++++++++++++++++++
 .../sfxr/patches/fix-overwritten-flags.patch  | 13 ++++++++
 srcpkgs/sfxr/template                         | 18 +++++++++++
 3 files changed, 63 insertions(+)
 create mode 100644 srcpkgs/sfxr/files/LICENSE
 create mode 100644 srcpkgs/sfxr/patches/fix-overwritten-flags.patch
 create mode 100644 srcpkgs/sfxr/template

diff --git a/srcpkgs/sfxr/files/LICENSE b/srcpkgs/sfxr/files/LICENSE
new file mode 100644
index 00000000000..a9996ab0eb4
--- /dev/null
+++ b/srcpkgs/sfxr/files/LICENSE
@@ -0,0 +1,32 @@
+License
+-------
+
+Basically, I don't care what you do with it, anything goes.
+
+To please all the troublesome folks who request a formal license,
+I attach the "MIT license" as follows:
+
+--
+
+Copyright (c) 2007 Tomas Pettersson
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
diff --git a/srcpkgs/sfxr/patches/fix-overwritten-flags.patch b/srcpkgs/sfxr/patches/fix-overwritten-flags.patch
new file mode 100644
index 00000000000..1568dfa4e20
--- /dev/null
+++ b/srcpkgs/sfxr/patches/fix-overwritten-flags.patch
@@ -0,0 +1,13 @@
+--- Makefile	2012-04-28 07:55:05.000000000 -0500
++++ Makefile.patched	2020-04-18 21:08:53.055807782 -0500
+@@ -1,7 +1,7 @@
+-CFLAGS=-ggdb
++override CFLAGS += -ggdb
+ GTK=3.0
+-CXXFLAGS=$(CFLAGS) `sdl-config --cflags` `pkg-config gtk+-${GTK} --cflags`
+-LDFLAGS=`sdl-config --libs` `pkg-config gtk+-${GTK} --libs`
++override CXXFLAGS += $(CFLAGS) `sdl-config --cflags` `pkg-config gtk+-${GTK} --cflags`
++override LDFLAGS += `sdl-config --libs` `pkg-config gtk+-${GTK} --libs`
+ 
+ sfxr: main.cpp tools.h sdlkit.h
+ 	$(CXX) $< $(CXXFLAGS) $(LDFLAGS) -o $@
diff --git a/srcpkgs/sfxr/template b/srcpkgs/sfxr/template
new file mode 100644
index 00000000000..4d57e58ca54
--- /dev/null
+++ b/srcpkgs/sfxr/template
@@ -0,0 +1,18 @@
+# Template file for 'sfxr'
+pkgname=sfxr
+version=1.2.1
+revision=1
+wrksrc="sfxr-sdl-${version}"
+build_style=gnu-makefile
+hostmakedepends="pkg-config desktop-file-utils"
+makedepends="SDL-devel gtk+3-devel"
+short_desc="Sound effect generator"
+maintainer="Adam Gausmann <agausmann@fastmail.com>"
+license="custom:sfxr"
+homepage="http://www.drpetter.se/project_sfxr.html"
+distfiles="http://www.drpetter.se/files/sfxr-sdl-${version}.tar.gz"
+checksum=ca93be8964c92fe3a2c945640cd3e93c95ae7abe24290818f4fe7f6e5a7cd835
+
+post_install() {
+	vlicense ${FILESDIR}/LICENSE
+}

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-14 16:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-07  0:08 [PR PATCH] New package: sfxr-1.2.1 Sapein
2024-06-07 22:02 ` [PR PATCH] [Updated] " Sapein
2024-06-09 16:03 ` Sapein
2024-06-14 16:06 ` Sapein
  -- strict thread matches above, loose matches on Subject: below --
2020-04-19  2:18 [PR PATCH] " agausmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).