Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Find the distfile online and bring the port back from the attic. Give it a good dusting off and set LICENSE. xvattr lets you list the available attributes associated with the Xv extension to X11. It also allows you to change the values of the attributes. This can be used to change brightness and so on for programs that use Xv overlays. Requested by: rsjw on libera.chat/#freebsd-ports
- Loading branch information
1 parent
e6fe46f
commit d93c3b3
Showing
5 changed files
with
50 additions
and
1 deletion.
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
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
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 @@ | ||
PORTNAME= xvattr | ||
DISTVERSION= 1.3 | ||
PORTREVISION= 11 | ||
CATEGORIES= x11 | ||
MASTER_SITES= LOCAL/fuz | ||
DISTNAME= xvattr_${DISTVERSION}.orig | ||
|
||
MAINTAINER= fuz@FreeBSD.org | ||
COMMENT= Getting and setting Xv attributes | ||
|
||
LICENSE= GPLv2 | ||
LICENSE_FILE= ${WRKSRC}/COPYING | ||
|
||
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ | ||
libfreetype.so:print/freetype2 \ | ||
libharfbuzz.so:print/harfbuzz | ||
|
||
USES= gnome pkgconfig xorg | ||
USE_GNOME= cairo gdkpixbuf2 gtk20 | ||
USE_XORG= x11 xv | ||
|
||
PLIST_FILES= bin/xvattr bin/gxvattr \ | ||
man/man1/${PORTNAME}.1.gz | ||
|
||
CFLAGS+= -DVERSION=\"${PORTVERSION}\" | ||
WRKSRC= ${WRKDIR}/xvattr-${DISTVERSION} | ||
|
||
post-extract: | ||
@${RM} ${WRKSRC}/getopt.h | ||
|
||
do-build: | ||
cd ${WRKSRC} && ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME} \ | ||
`pkg-config --cflags --libs xv x11` | ||
cd ${WRKSRC} && ${CC} ${CFLAGS} g${PORTNAME}.c -o g${PORTNAME} \ | ||
`pkg-config --cflags --libs gtk+-2.0 xv x11` | ||
|
||
do-install: | ||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin | ||
${INSTALL_PROGRAM} ${WRKSRC}/g${PORTNAME} ${STAGEDIR}${PREFIX}/bin | ||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 | ||
|
||
.include <bsd.port.mk> |
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,3 @@ | ||
TIMESTAMP = 1697004253 | ||
SHA256 (xvattr_1.3.orig.tar.gz) = 1cedc0b4795e6f4234b1d52172f74d7163ecb8142fbb35dc86c905df5478d8fa | ||
SIZE (xvattr_1.3.orig.tar.gz) = 82263 |
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,4 @@ | ||
xvattr lets you list the available attributes associated with the Xv | ||
extension to X11. It also allows you to change the values of the | ||
attributes. This can be used to change brightness and so on for programs | ||
that use Xv overlays. |