forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-video/blind: Move to media-video/.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
- Loading branch information
Jeroen Roovers
committed
Jan 11, 2018
1 parent
e946a0b
commit 5a08101
Showing
4 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST blind-1.1.tar.gz 47568 BLAKE2B b284e614efafb70ea41c274ddeedce66a0123c1ba6dfbba6522e0a11d6b2aa39b1059a0c9cc1c45a37f951b75c0b23580f714858bf2257a15e4f7d03ffb0b258 SHA512 620a5edc69bf736f642948e4f6ac6dda8cdbea4bdad143b09f931e62aaa57983e23ff60961d1485dcbce1ac461be12b393fe03f056ef46ca5ad2012cb03cf637 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 $@ $< |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>[email protected]</email> | ||
</maintainer> | ||
<longdescription lang="en"> | ||
</longdescription> | ||
</pkgmetadata> |