media-video/blind - 1.1 (gentoo)

Search

Install

Install this version:

emerge -a =media-video/blind-1.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-video/blind-1.1

Or alternatively:

emerge --autounmask-write -a =media-video/blind-1.1

Package Information

Description:
Collection of command line video editing utilities
Homepage:
https://tools.suckless.org/blind/
License:
ISC

Ebuild Details

Version EAPI Keywords Slot
1.1 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Collection of command line video editing utilities"
HOMEPAGE="https://tools.suckless.org/blind/"
SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"

LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"

PATCHES=( "${FILESDIR}"/${PN}-1.1-ldflags.patch )

src_prepare() {
	default

	sed -i \
		-e '/^CC/d' \
		-e 's|/usr/local|/usr|g' \
		-e 's|^CFLAGS.*|CFLAGS += -std=c99 -pedantic -Wall -Wextra $(INCS) $(CPPFLAGS)|g' \
		-e '/^LDFLAGS.*/ { s:-s::g; s:=:+=:g; }' \
		-e 's|{|(|g;s|}|)|g' \
		config.mk || die
}

src_compile() {
	emake CC="$(tc-getCC)"
}

Inherited Eclasses

Manifest for 1.1

Type File Size Source URLs
DIST blind-1.1.tar.gz 47568 bytes https://dl.suckless.org/tools/blind-1.1.tar.gz