Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: srain-1.0.1 #19928

Merged
merged 1 commit into from Mar 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions srcpkgs/srain/patches/fix-cross.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- src/Makefile~ 2020-03-15 17:22:29.077747681 +0100
+++ src/Makefile 2020-03-15 17:22:32.599747681 +0100
@@ -3,7 +3,9 @@
# Complie C source codes and output object files to $(BUILD_DIR), then links
# them together to get a executable $(TARGET).

-CC = gcc
+ifeq "$(origin CC)" "default"
+ CC = gcc
+endif
DEFS = -D PACKAGE='"$(PACKAGE)"' \
-D PACKAGE_NAME='"$(PACKAGE_NAME)"' \
-D PACKAGE_VERSION='"$(PACKAGE_VERSION)"' \
15 changes: 15 additions & 0 deletions srcpkgs/srain/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Template file for 'srain'
pkgname=srain
version=1.0.1
revision=1
build_style=configure
build_helper=gir
configure_args="--prefix=/usr"
hostmakedepends="pkg-config gettext glib-devel"
makedepends="glib-devel gtk+3-devel libconfig-devel libressl-devel libsecret-devel libsoup-devel"
short_desc="Modern IRC client written in GTK"
maintainer="avoidr <avoidr@firemail.cc>"
license="GPL-3.0-only"
homepage="https://srain.im/"
distfiles="https://github.com/SrainApp/srain/archive/${version}.tar.gz"
checksum=104d0b56944b9eabed9ada7bbca28df4b0dedb972e67fa533079dcf5bde35254