-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add icon, desktop file and package build
- Loading branch information
Showing
10 changed files
with
2,038 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,3 @@ | ||
out/* | ||
debian/automirror* | ||
debian/files |
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,27 @@ | ||
.PHONY: all build test install clean deb | ||
PACKAGE=automirror | ||
|
||
all: build | ||
|
||
build: | ||
@echo No build required | ||
|
||
test: | ||
./runtests.sh | ||
|
||
install: | ||
mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/usr/share/applications $(DESTDIR)/usr/share/icons/hicolor/scalable/apps | ||
install -m 0755 automirror.sh -D $(DESTDIR)/usr/bin/automirror | ||
install -m 0644 automirror.desktop $(DESTDIR)/usr/share/applications | ||
install -m 0644 automirror.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps | ||
|
||
clean: | ||
rm -Rf debian/$(PACKAGE)* debian/files out/* | ||
|
||
deb: clean | ||
debuild -i -us -uc -b | ||
mv ../$(PACKAGE)*.{deb,build,changes} out/ | ||
dpkg -I out/*.deb | ||
dpkg -c out/*.deb | ||
|
||
# vim: set ts=4 sw=4 tw=0 noet : |
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 @@ | ||
[Desktop Entry] | ||
Version=1.0 | ||
Encoding=UTF-8 | ||
Type=Application | ||
Name=automirror | ||
GenericName=Automatic Display Mirror | ||
Exec=automirror | ||
Icon=automirror | ||
Terminal=false | ||
Categories=Graphics; | ||
Comment=Automatically configure attached monitors for screen mirroring |
Oops, something went wrong.