mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-video/blind: Move to media-video/.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
1
media-video/blind/Manifest
Normal file
1
media-video/blind/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST blind-1.1.tar.gz 47568 BLAKE2B b284e614efafb70ea41c274ddeedce66a0123c1ba6dfbba6522e0a11d6b2aa39b1059a0c9cc1c45a37f951b75c0b23580f714858bf2257a15e4f7d03ffb0b258 SHA512 620a5edc69bf736f642948e4f6ac6dda8cdbea4bdad143b09f931e62aaa57983e23ff60961d1485dcbce1ac461be12b393fe03f056ef46ca5ad2012cb03cf637
|
||||
42
media-video/blind/blind-1.1.ebuild
Normal file
42
media-video/blind/blind-1.1.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="a 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"
|
||||
|
||||
RDEPEND="
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
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)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install MANPREFIX=/usr/share/man
|
||||
}
|
||||
11
media-video/blind/files/blind-1.1-ldflags.patch
Normal file
11
media-video/blind/files/blind-1.1-ldflags.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -80,7 +80,7 @@
|
||||
all: $(BIN)
|
||||
|
||||
%: %.o util.o stream.o
|
||||
- $(CC) $(LDFLAGS) -o $@ $^
|
||||
+ $(CC) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
%.o: src/%.c src/*.h src/*/*.h
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
|
||||
9
media-video/blind/metadata.xml
Normal file
9
media-video/blind/metadata.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>jer@gentoo.org</email>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user