aboutsummaryrefslogtreecommitdiff
path: root/desktop/autorandr
diff options
context:
space:
mode:
authorJulian Grinblat <julian@dotcore.co.il>2020-11-21 00:41:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-11-21 00:41:49 +0700
commit5c9deb9e7bc4e61c17bdc683a7ccefbb990eef43 (patch)
tree9df074b5abd8615d8a0d8d1ce2c3100bed11dd12 /desktop/autorandr
parent486a639748a054a34d9ef3c7617a6b6008e3465c (diff)
desktop/autorandr: Updated for version 1.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/autorandr')
-rw-r--r--desktop/autorandr/README10
-rw-r--r--desktop/autorandr/autorandr.SlackBuild6
-rw-r--r--desktop/autorandr/autorandr.info6
3 files changed, 17 insertions, 5 deletions
diff --git a/desktop/autorandr/README b/desktop/autorandr/README
index 8a7fa388e3a21..6506aed846454 100644
--- a/desktop/autorandr/README
+++ b/desktop/autorandr/README
@@ -2,3 +2,13 @@ autorandr is a Python program that provides command-line utilities
to manage display configuration. In addition, it has built in udev
configuration files to detect monitor changes, bash-completion, xdg
autostart scripts and pm-utils helpers.
+
+You can optionally specify a TARGETS option to select which
+components to build and install. The manpage is always necessary.
+
+For example:
+
+TARGETS="manpage autorandr launcher udev pmutils"
+
+The available options are manpage, autorandr, launcher, udev,
+pmutils, autostart_config, bash_completion.
diff --git a/desktop/autorandr/autorandr.SlackBuild b/desktop/autorandr/autorandr.SlackBuild
index dcf8055885954..ff53d4584cd80 100644
--- a/desktop/autorandr/autorandr.SlackBuild
+++ b/desktop/autorandr/autorandr.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=autorandr
-VERSION=${VERSION:-1.10.1}
+VERSION=${VERSION:-1.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,8 +69,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+[ -n "$TARGETS" ] && TARGETS="TARGETS=$TARGETS"
+
make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
-make install PREFIX=/usr MANDIR=/usr/man/man1 DESTDIR=$PKG
+make install $TARGETS PREFIX=/usr MANDIR=/usr/man/man1 DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/desktop/autorandr/autorandr.info b/desktop/autorandr/autorandr.info
index 3fa6721f1732a..e15315819eee1 100644
--- a/desktop/autorandr/autorandr.info
+++ b/desktop/autorandr/autorandr.info
@@ -1,8 +1,8 @@
PRGNAM="autorandr"
-VERSION="1.10.1"
+VERSION="1.11"
HOMEPAGE="https://github.com/phillipberndt/autorandr"
-DOWNLOAD="https://github.com/phillipberndt/autorandr/archive/1.10.1/autorandr-1.10.1.tar.gz"
-MD5SUM="7155aae15fd6b2cddaff43b6103a4412"
+DOWNLOAD="https://github.com/phillipberndt/autorandr/archive/1.11/autorandr-1.11.tar.gz"
+MD5SUM="39308bf22013fb576336e4c98487fef2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""