mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
desktop/wmwebcam: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
5ed7228091
commit
ae9ef7bb57
2 changed files with 9 additions and 8 deletions
|
@ -1,3 +1,5 @@
|
|||
wmwebcam (Webcam DockApp)
|
||||
|
||||
wmwebcam is a dockapp that grabs an image from your webcam every second
|
||||
and displays the captured image. Original written years ago, it was
|
||||
updated by eukara to work with the newer V4L2. Credits go to him for
|
||||
|
|
|
@ -27,6 +27,11 @@
|
|||
|
||||
# Now maintained by B. Watson <yalhcru@gmail.com>
|
||||
|
||||
# 20210909 bkw: I still don't have (or want) a webcam. All I can say
|
||||
# about wmwebcam is that it compiles, creates a valid package, and
|
||||
# when I run it, "Can't open device /dev/video0" (as expected). Do
|
||||
# you use this? Please take it!
|
||||
|
||||
# 20160821 bkw:
|
||||
# - take over maintenance
|
||||
# - BUILD=2
|
||||
|
@ -52,9 +57,6 @@ if [ -z "$ARCH" ]; then
|
|||
esac
|
||||
fi
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
|
@ -87,11 +89,8 @@ rm -rf $PRGNAM-$VERSION-fixed
|
|||
tar xvf $CWD/$PRGNAM-$VERSION-fixed.tar.gz
|
||||
cd $PRGNAM-$VERSION-fixed
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
||||
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
|
||||
|
||||
# probably unnecessary, paranoia says memcpy() needs a prototype.
|
||||
patch -p1 < $CWD/compilefix.diff
|
||||
|
|
Loading…
Reference in a new issue