mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-29 14:16:26 -04:00
Add rust dep for ppa
This commit is contained in:
parent
5bca84c9cf
commit
3daad748ae
10
Makefile
10
Makefile
@ -53,8 +53,8 @@ build-fe:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
build-rs: extract-vendor
|
build-rs: extract-vendor
|
||||||
$(CARGO) build $(CARGO_BUILD_ARGS) -p gpclient -p gpauth -p gpservice
|
$(CARGO) build $(CARGO_BUILD_ARGS) -p gpauth
|
||||||
$(CARGO) build $(CARGO_BUILD_ARGS) -p gpgui-helper --features "tauri/custom-protocol"
|
# $(CARGO) build $(CARGO_BUILD_ARGS) -p gpgui-helper --features "tauri/custom-protocol"
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(CARGO) clean
|
$(CARGO) clean
|
||||||
@ -98,17 +98,21 @@ init-debian:
|
|||||||
|
|
||||||
debmake
|
debmake
|
||||||
|
|
||||||
cp -f packaging/deb/control debian/control
|
cp -f packaging/deb/control.in debian/control
|
||||||
cp -f packaging/deb/rules debian/rules
|
cp -f packaging/deb/rules debian/rules
|
||||||
rm -f debian/changelog
|
rm -f debian/changelog
|
||||||
|
|
||||||
deb: init-debian
|
deb: init-debian
|
||||||
|
sed -i "s/@RUST@//g" debian/control
|
||||||
|
|
||||||
dch --create --distribution unstable --package $(PKG_NAME) --newversion $(VERSION)-$(REVISION) "Bugfix and improvements."
|
dch --create --distribution unstable --package $(PKG_NAME) --newversion $(VERSION)-$(REVISION) "Bugfix and improvements."
|
||||||
|
|
||||||
debuild --preserve-env -e PATH -us -uc -b
|
debuild --preserve-env -e PATH -us -uc -b
|
||||||
|
|
||||||
# Usage: make ppa SERIES=focal
|
# Usage: make ppa SERIES=focal
|
||||||
ppa: init-debian
|
ppa: init-debian
|
||||||
|
sed -i "s/@RUST@/rust-all(>=1.70)/g" debian/control
|
||||||
|
|
||||||
$(eval SERIES_VER = $(shell distro-info --series $(SERIES) -r | cut -d' ' -f1))
|
$(eval SERIES_VER = $(shell distro-info --series $(SERIES) -r | cut -d' ' -f1))
|
||||||
@echo "Building for $(SERIES) $(SERIES_VER)"
|
@echo "Building for $(SERIES) $(SERIES_VER)"
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ Section: net
|
|||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Kevin Yue <k3vinyue@gmail.com>
|
Maintainer: Kevin Yue <k3vinyue@gmail.com>
|
||||||
Standards-Version: 4.1.4
|
Standards-Version: 4.1.4
|
||||||
Build-Depends: debhelper (>= 9), pkg-config, rust-all (>= 1.70), jq (>= 1), make (>= 4), openconnect (>= 8.20), libxml2, libsecret-1-0, libayatana-appindicator3-1, libwebkit2gtk-4.0-37, libgtk-3-0, gnome-keyring
|
Build-Depends: debhelper (>= 9), pkg-config, jq (>= 1), make (>= 4), openconnect (>= 8.20), libxml2, libsecret-1-0, libayatana-appindicator3-1, libwebkit2gtk-4.0-37, libgtk-3-0, gnome-keyring, @RUST@
|
||||||
Homepage: https://github.com/yuezk/GlobalProtect-openconnect
|
Homepage: https://github.com/yuezk/GlobalProtect-openconnect
|
||||||
|
|
||||||
Package: globalprotect-openconnect
|
Package: globalprotect-openconnect
|
Loading…
x
Reference in New Issue
Block a user